fixed file naming, fixed progress bar during download