Improve documentation on mouseDispatcher, streamline tests.