Fix typos and line endings.