fixed stupid bug in forkTask: works fine now with 3 tasks. tested with 4 too.