Fixed problem where thumbnails which were created from transparent .png images were converted with black backgrounds. Now these images are flattened and the transparent background converted to white.