windows: Show the open dialog on a separate thread.

Allows the screen to continue rendering, which should prevent black
screens, etc. while browsing.

May help #2755.
Merge pull request #5152 from unknownbrackets/ui-tweaks

Show the Windows open dialog on a separate thread