Change autoProcessTV making code work in Python 2 and 3

+ Add comments
+ change linefeeds
+ Add 'misuse' checks