Finally got IDT and GDT working