Fixed gdt loading and jump to pmode
Minor debugging fixes.