Turn the preferences window into a dialog, which fixes the window not showing up on mac.