Add toggle numbers button code

We can now toggle displaying the numbers in the jsmol window. It is flawed but
usable for now. The toggle state should presist when we display new structures.
It does not yet.
Shorten a line
Refactor to allow number display to presist

Numbers will now be shown whenever something is shown if required.
Fix clear button
Refactor click handling

We now handle click events in a single function. This reduces code duplication
and allows for consistent behavior between map and table clicking. I have now
made it such that cmd/control clicking on something which is already selected
will cause it to be unselected.
Disable pointer events on marks

Otherwise they prevent popups and the like. This removes them so we can interact
better.
Presist marks when updating the summary

Before the marks on the summary table would disappear when we changed views.
I've fixed this so it no longer occurs. The marks are now presisted between
updates.