A few updates to support the tool version

Added offsets to touch position
Added sending WM_NOTIFY
Added some OpenGL utility code