changed around thread priority in main
-make all threads real time