Fix value for WM_RBUTTONUP
Add worker routine to extract a point from an LPARAM
Add AttachToParentConsole function