Fixed several typos

Fixes #224. Fixes #225. Fixes #226.