added optional 'thumbnail' parameter to theme switcher config
added optional layerImageFormats config to GlobalOptions to override the image format for some layers;
fullColorLayers is merged into layerImageFormats on init