Adding function to reverse geocode and applying minor tweaks and fixes.