Switched from the polling method to an WinEventHook method.