Styling and ...
- toggle legend delete button onclick instead of onhover.
- some cleanup (console.logs etc)