Cleanup whitespace
Dismiss tooltip when clicked outside element

Fixes #1