Comments about the inefficiency of reading single characters at a time from a socket.

No functional changes.
Fix a bug in the formatting of CSV output files if no width is specified.
Fix a bug if the width is specified but the string contains escaped characters.