added tstat block
added TSTAT message in CMakeLists.txt