replaced most viewer code with SCxmlDebug
collapsible states and transitions in the debugger, and contentEditable (non-functional yet) on some stuff