Simplify how notifications about mouse clicks in the score are handled.

This should make it much simpler to add new mouse event handlers in the
future.