Fixed cursor so it updates and added GDT tables.