Implement mouse clicks. Fixes #32