#353 Created breadcrumb and undo-redo classes, and got the graph classes set up in a way to facilitate usage of these. Placeholders for undo-redo of removing nodes and for layout changes as well. Ready for the layout one, then the GUI components for the breadcrumb trail. Refactored and cleaned some general things.