General cleanup

Make a few random corrections to the text, then clean up some formatting, word wrap, and strip whitespace.

See individual commit messages for specifics.