Typos

I fixed some typos and formatting in the documentation, plus cleared up the wording in a few places.