MP1-4090 : Fix Thumbnail check without path (It will solve Trakt and third party plugins on '#selectedthumb' in skin.)
MP1-4090 : Cleanup code and fix leftover temp generated thumb files.