Fix a few minor spelling and typing errors

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

Signed-off-by: xchs <github@gmx.net>
Merge pull request #5652 from xchs/hotfix/typos