doc: Fix spelling

Fix various typos and spelling mistakes in the documentation
unix,windows: Fix typos in comments

Fix various typos and spelling mistakes in comments.
Does not affect any code, just changes comments.