srrd/trunk: added thread names. debug output contains now "thread[timer(1)/2]" meaning timer thread with id 1 of total 2 threads (excluding the main thread with id 0).