reformatted KernelStart
merged working code before context switch