Prefs: Converted window into a GObject.