Still need to document a lot of functions, but I cleaned up and explained a lot of the code via comments.
some memory for it in bss. Also put some space in for the gdt in rodata. Need to leave now, so this broken build goes to the repo!