Fix a few minor spelling and typing errors

- Fix a few typos found in the source code files
- Various other amendments