public MainWindow() { InitializeComponent(); Model = new DockContainerModel(); Model.Content = DocPanel = new DocumentPanelModel(); RecentsMenuItem = new MenuItem { Header = "Recent Files" }; Substrate.LoadPlugins(); Substrate.StatusChanged += Substrate_StatusChanged; Substrate.RecentsChanged += Substrate_RecentsChanged; }