Added a few new functions to the Framebuffer class.