Make the preferences dialog a GtkWindow