06-07-13
. better handling in multithreaded environments
. better debug log handling

