Fix bunch of typos.

This closes #1 and also closes #2