Wrapped lat/long pull in a better loop to handle errors and added some basic mapping code