Allow multiple uploads (not working fully).
Fix multiple uploads.