Fix spelling, double words, line terminators, file mode, etc.

No real code changes