private void ToggleDebug()
        {
            ViewDebug = !ViewDebug;
            if (ViewDebug)
            {
                DebugGrid.Visibility = Visibility.Visible;

                WatchoutDebug.Text = App.WatchoutIP + ":" + App.WatchoutPort + "\n";
            }
            else
            {
                DebugGrid.Visibility = Visibility.Collapsed;
            }
            ImageGrid.ShowFrames(ViewDebug);
        }