miscellaneous stuff
bug fixes and return to working state after framebuffer split