Make Terminal use possible everywhere.
gdt fix
Add support for interrupt descriptor tables
Fix code to avoid crash on gcc optimisation