} // end MenuItemSelectToSDir_Click

        private async void MenuItemUpdateDeps_Click(object sender, RoutedEventArgs e)
        {
            try {
                if (Common.checkForToSDirectory(tosAMProgramSettings.tosRootDir) == false)
                {
                    MessageBox.Show("Please set a valid ToS Program directory."); return;
                }
                statusBar1TextBlock.Text = "Starting Dependency download functions.";
                Progress <taskProgressMsg> progressMessages = new Progress <taskProgressMsg>(updateForTaskProgress); // Will contain the progress messages from each function.
                repoCacheManagement        rCM = new repoCacheManagement()
                {
                    rootDir = tosAMProgramSettings.tosRootDir, webConnector = webConnector
                };
                await rCM.checkAndInstallDependencies(progressMessages); // Dependencies - does not care about return values.

                statusBar1TextBlock.Text = "Completed Dependency download functions.";
            } catch (Exception ex) {
                Common.showError("Update Dependency Error", ex);
            }
        } // end MenuItemUpdateDeps_Click