Fixed some typos/errors in comments and docs.