Added spawn rate as a constant in settings.