Improvements in the upload of logos and avatars

Show progress bars and improve the upload of images in general.
Looks like this is not being called anywhere. Only the local `enableCropInImages` below is called, but this one looks more complete than the other.