added a framebuffer and renderwindow