Checking for exec() on the disabled list didn't always work. A user had the website on his NAS, which allows exec().
For video thumbnails, flush even if we couldn't make the thumbnail so the user sees the "No thumbnail" icon immediately, rather than trying to make all the thumnails then outputting all the thumbnails at once.