TextWriter now handles autoFlush, StreamWriter updated to handle autoFlush

Cleaned up spacing