quantize colors/hashes properly, etc

This implements the percent ranges in the key/legend.

Some code cleanup.

Add headstart recipients (percentage) to click popups.

One thing got worse: the headstart colors are faded a bit in the overlay from the
transparency. There's a fun formula to fix this, hopefully I'll get to it soon.