fixing multiprocessing bug in taskserver
adding log handling into taskserver
tweak