* added documentation to the logger, thread_base and task
 * added exception safety when calling the user supplied run function in task and thread_base