added glfw and work on FBOs
started work on porting to glfw. made interface for input a bit more generic.