Added DoSaveAll to DoShutdown