first version of SchedulerChangeThread; some changes, because I'm not able to calculate