more utility stuff
there is still an error in the concurrent shutdown
added more explicit task scheduling functions to taskprocessor, which fixed the faulty shutdown code
wrapped lots of stuff