fix usage of krnspinlock & wip changes to scheduling code. move tasks in TS_SPIN...