strip inconsistent line endings
fixing editorial mistakes and formatting