Mouse clicks

This branch makes clicks have to be "non-moving" and works around a few windows bugs dealing with clicks triggering on window-management events.