Minor docs enhancements and code formatting

Just minor docs edits, a couple of formatting edits throughout the code.
Nice!