Simple undo buffer demo