Change linefeed crlf to lf
Change autoProcessTV making code work in Python 2 and 3

+ Add comments
+ Add 'misuse' checks