Add new functions, fix some white-space, and add our pledge(2) promises.
Add new functions, fix some white-space, and add our pledge(2) promises.

kristapsdz/lowdown,kristapsdz/lowdown,kristapsdz/lowdown