Clean up the createUploadControl() code a bit and move some comments around.
Clean up the createUploadControl() code a bit and move some comments around.

nimbis/s3commander,nimbis/s3commander,nimbis/s3commander,nimbis/s3commander