PrettyFormat shouldn't add a new line. Also added Println (print with new line) and made Print don't add the newline.