Misc. changes.
Bugfixes

Mostly reworking multitasking a bit