Fixed bugs in gd*out function, but at least gdtout still isn't working for some reason