Fixing search files dialog focus-on-open issue. Trying to fix issue of debugger threads causing crashes during app shutdown.