Added some small functions to Kompics class and the scheduler to make life easier