Shutdown is now allowed on iOS - also replaced singleton with class methods.