Refactor some mouse listener code for meaning
Playing with click-handling.