Fix grammar and typos.

Fix pedantic and not so pedantic grammar errors, and a few minor typos.