Major refactor.  Still a littl squirrely with the interaction between
the domain panel and structureViz, but overall the user experience
should be much better.