Fixed some typos throughout the codebase
Merge pull request #1177 from alex/typo-fixes

Fixed some typos throughout the codebase