More work on progress display of file up and download.

This is at least working for file upload, untested for downloads
and other operations. Needs more testing and more polish.