Got the undo and redo buttons to be grayed out and somewhat working.