Crash in video interpretable check: Closes #5071

The database and ThumbnailCache calls in check_is_interpretable
are not thread-safe although check_is_interpretable was being
called from a background thread.  Now check_is_interpretable returns
an object with a foreground_finish() function that does the thread-
unsafe work there.