private void OnStartup(object sender, StartupEventArgs e)
        {
            // Setup MEF.
            Network.DownloadCatalog = new AggregateCatalog();
            CompositionHost.Initialize(new DeploymentCatalog(), Network.DownloadCatalog);

            // Load the view.
            var rootView = new RootViewModel().CreateView();
            RootVisual = rootView;

            // Process any instructions in the query-string.
            var queryString = new QueryString();
            queryString.StartTestRun();
        }