Fixed many typos in the code and docs.

Found using: https://github.com/intgr/topy