Add z-metric to bubble mouseover.

Some refactoring of the code; elimination of unnecessary variables and better use of globals.
Add bubble size legend; not done yet.
Destroying myself trying to figure out the spacing of the new bubbles. Can't make them touch because the smallest will almost always be too small to support text. Have to come back to this later.