Added newline/carraige return checking to ReadString().