Docs fixes

Mostly fixes typos, makes some minor grammar adjustments, and adds some punctuation to the documentation. Also fixes a doubled word in code comments.