Fixed redo/undo stack
Make redo/undo event non-local so changes are updated in the GUI