Add "ifdef USE_MOUSE_THREAD" statement to enable/disable usage of getMouseLocation() function. Default value is disable.