Added checks to make sure Google Maps is available for setup/use.