Some improvements to the geolocation error handling