/// <summary>
 /// Accessor method for the singleton class, returns a thread safe single instance of this class.
 /// </summary>
 /// <returns>A thread safe unique instance of the preferences class.</returns>
 public static Preferences getInstance()
 {
     if (uniqueInstance == null)
     {
         lock (syncLock)
         {
             uniqueInstance = new Preferences();
         }
     }
     return uniqueInstance;
 }
 public PreferencesGUI()
 {
     InitializeComponent();
     current_Preferences = Preferences.getInstance();
 }