fixes

fixed warning and notices, updated upload_from_remote_url to work
without extensions.