Index: MacFaceApp.cs
===================================================================
--- MacFaceApp.cs	(revision 77)
+++ MacFaceApp.cs	(working copy)
@@ -207,6 +207,7 @@
 
 			updateTimer.Start();
 
+			Microsoft.Win32.SystemEvents.SessionEnded += new Microsoft.Win32.SessionEndedEventHandler(SystemEvents_SessionEnded);
 			Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
 			Application.Run(this);
 		}
@@ -500,5 +501,15 @@
 				
 			}
 		}
+
+		/// <summary>
+		/// 
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void SystemEvents_SessionEnded(object sender, Microsoft.Win32.SessionEndedEventArgs e)
+		{
+			config.Save();
+		}
 	}
 }

