Application that locks the mouse to a certain area and runs in a thread