got window open and writing to the framebuffer