A simple mousetracker to generate metrics.