Remove unecessary newlines. Escape nasty _