Fixed a shader source code compilation error on certain GPUs. Fixed the "too fast" issue (high refresh rate and/or vsync off). Fixed crash on OS X 10.6.8. Added support to Apple Magic Trackpad on OS X.