Fixed crash

Open Folder dialog now executed on main thread, prevents a crash