Changed a tab to spaces
Fix bug in scheduling, if no processes can be run, the idle process must be run; the kernel shouldn't crash.