Remove extra linebreaks and fix some punctuation.