Improve the function of tbb.py; xelog.py add thread name