Added mouse functionality, optimized performance, OpenGL interoperability