Time registration includes milliseconds.
Use global monitor for mouse events as well.

This only gets invoked when the mouse is moved, which provides much
nicer results.