Disable multitasking code, to be ported over with PT

To make things a bit simpler, multitasking will be disabled now. I plan to remove `PLATFORM` environment variable, so less compilable code is better.