Bug Fixes. Improvement in libDownload