added loading code for GDT
Forgot to add that last commit.