Clear undo history after loading a new demo.