D3cleanup

cleaned up some things in the datavis, for my own sake.  Considering alternatives.  

also the api works for the show view, this is still in progress.