Save state during movement intervals and add rudimentary startup
recovery.