The Grand Refactor.

This thing was a giant single-file mess.  Now it is not.
WIP SPIRIT OF RADIO BUTTON (THAT"S A RUSH JOKE)