Properly synchronize access to instances map when clearing caches
Add dialog for entry of bam index  URL if not found.