Remove unused code
Fix syscall assembly
Move loadIDT into inline assembly.