Improve tooltip code

* Only create tooltip if really needed
* Show/hide via CSS
* Improve debugging capabilities (Developer Tools)