Simplified and cleaned up the preferences window.
Use System.Windows.Forms.OpenFileDialog instead of Microsoft.Win32.OpenFileDialog.