private void OnLoaded(Object sender, RoutedEventArgs routedEventArgs)
{
_mainGame = new MainGame(flatRedBallControl);
_mainGame.MainWindow = this;
ArrowCommands.Self.Initialize(this.AllElementsTreeView, this.SingleElementTreeView, this.DeleteMenuItem, this.CopyMenuItem);
ArrowState.Self.Initialize(this, this.AllElementsTreeView, this.SingleElementTreeView);
PropertyGridManager.Self.Initialize(DataGridUi);
ArrowState.Self.CurrentArrowProject = new FlatRedBall.Arrow.DataTypes.ArrowProjectSave();
GluxManager.ObjectFinder = new GlueObjectFinder();
AvailableAssetTypes.Self.AddAssetTypes("Content/ContentTypes.csv");
ExposedVariableManager.Initialize();
this.AllElementsTreeView.DataContext = ArrowState.Self.CurrentArrowProjectVm;
this.SingleElementTreeView.DataContext = ArrowState.Self;
this.ContentsLabel.DataContext = ArrowState.Self;
}