got some live diagramming working, and refactored a bit to be more OO.