fixes in saving mechanism
looks like undo/redo is working now...