Runs on my PC now. Dialogs properly instantiated.