fix up some issues with bot demo recording, and also crash on map change
when recording