Switch to shared memory to avoid locks and crashes
Somehow fixes dialogs