private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     OptionsMenu.saveConfig();
     collectionsXML.saveCollectionXML();
     CalendarManager.saveCalendarXML();
     farmPlanner.Close();
     Environment.Exit(0);
 }