Added UI error messages and ClearThumbnailCache button.
Prevented cmd.exe window appearing.