tchecker.py -- fixed bugs

Import statements fixed amonst other things