Fix typos

Fixes some typos and formats lines to be < 80 characters.