Basic mouse events in jit.window and jit.pwindow. Detects click, doubleclick, and drag.