simplified creation and deletion of timers in tickmachine
improved debug sytem of threads and Mutex.cpp