Fixed typos

Fixed some typos and readability issues. Also applied consistent markup for headings.
Merge pull request #101 from johngallagher/master

Fixed typos