Fixed "corrupt" images during import. Fixed downloading from thumbnail cache.