scheduling simplified, seems to be tad faster, but profiling produces weird results
bugs in profiling gui fixed