added ambient sound option and basic input location validation