private async void PlayModButton_Click(object sender, RoutedEventArgs e)
        {
            RNG.SeedMe((int)GameSeed);
            bool arg = (sender as Button).Name.ToString() == "RandomizeModButton";

            await PlayMod(arg);
        }
 private void SeedButton_Click(object sender, RoutedEventArgs e)
 {
     GameSeed = RNG.GetUInt32();
     RNG.SeedMe((int)GameSeed);
     SeedTextBox.GetBindingExpression(TextBox.TextProperty).UpdateTarget();
     ModSeedTextBox.GetBindingExpression(TextBox.TextProperty).UpdateTarget();
 }
 private void RefreshButton_Click(object sender, RoutedEventArgs e)
 {
     //GameSeed = RNG.GetUInt32();
     GameSeed += 500;
     RNG.SeedMe((int)GameSeed);
     SeedTextBox.GetBindingExpression(TextBox.TextProperty).UpdateTarget();
     Randomizer.Randomize();
 }   // Refresh button is no longer in use.
 private async void RandomizeButton_Click(object sender, RoutedEventArgs e)
 {
     RNG.SeedMe((int)GameSeed);
     await PlayRandomizer();
 }