Ammend vm-main fsm to include return to main/exit and repet options