Added the Preferences window.