Clear screen and undo history after each completed trial.