Fixes to ReadLine
Fix whitespace
Dispose of stream reader and writer