Fix a couple bugs relating to map previews and downloads.