CGE2: Refactor _startupMode.