static void ReinitializeStaticData ()
{
// reinitialize these static lists so we don't inherit things from the previous application
xmlns_definitions = new Dictionary<XmlnsDefinitionAttribute, Assembly> ();
imported_namespaces = new List<string> ();
ImportXamlNamespace ("clr-namespace:System.Windows;assembly:System.Windows.dll");
ImportXamlNamespace ("clr-namespace:System.Windows.Controls;assembly:System.Windows.dll");
}