fix duplicate info in metadata.txt
add raster layers in one operation, freeze canvas and show wait cursor
looked for raster layers in legend and canvas before loading when creating raster thumbnail