Bugfix: #302 Sprite sheet preview images not updated correctly.
Existing images were not overwritten.
Added logging of error messages.
Refactoring: Extracted method for preview image generation.
Merge pull request #478 from NickyWeber/bugfix/#302_spritesheet_previews_not_updated

Bugfix/#302 spritesheet previews not updated