Return more useful information during download process.
Next add logging.
Added some logging and simplified get download url.