The Making of a Visualization: Notes on Mousing Behavior in Menus by Andy Edmonds is a fascinating read. In the thesis, Andy used XUL to measure data to produce some neat-looking graphical representations what a user is doing based on time, velocity, direction, and clicks. It would be great to see this method applied to other widgets — and especially real-world applications too.