cleaned up tsmain.cpp