rem: var mailSession = Components.classes[mailSessionProgID].getService(); 
add: var mailSession = Components.classes[mailSessionContractID].getService(); 
context: function OnMailWindowUnload(){	dump("we get here\n");	var mailSession = Components.classes[mailSessionProgID].getService();	if(mailSession)	{		mailSession = mailSession.QueryInterface(Components.interfaces.nsIMsgMailSession);		if(mailSession)		{			mailSession.RemoveFolderListener(folderListener);		}	}	mailSession.RemoveMsgWindow(msgWindow);	messenger.SetWindow(null, null);	var msgDS = folderDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;	msgDS = messageDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;	msgDS = accountManagerDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;  	msgWindow.closeWindow();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0257791053c2b38e1dfaf2ee11afae973e82e394/mailWindow.js/clean/mailnews/base/resources/content/mailWindow.js