Added Preferences window.