Ugh.
Improved thread scheduling even more
Fix reference errors in ThreadScheduler.cpp
Merge pull request #5 from DigiTechs/master

Improved thread scheduling