WIP: Work on Undo/Redo infrastructure for app.