Improvements in the upload of logos and avatars

Show progress bars and improve the upload of images in general.