Clear undo buffer