correct display of moves after undo. general clean up