Improved new line insetion.