bug fix in threaded slaves, polishing YAMR load balancing
added jobobject to kill subprocesses, lightly refactored YAMR