Add options for stopping click events from propagating

Exactly as it says on the tin.

Fixes #191