Make the code style more consistant, make all the 2d drawings work directly in the framebuffer, clean up old stuff