Improved error handling.
Modified forecast.io API call to reduce response size.