add framebuffer support and make gl optional
modify more tests
add mouse event handling