public void ShutDown()
        {
            // Release the render count strings.
            foreach (DText aSent in RenderCountStrings)
            {
                aSent?.Shutdown();
            }
            RenderCountStrings = null;

            // Release the position text strings.
            foreach (DText sent in VideoStrings)
            {
                sent?.Shutdown();
            }
            VideoStrings = null;

            // Release the position text strings.
            foreach (DText sentence in PositionStrings)
            {
                sentence?.Shutdown();
            }
            PositionStrings = null;

            PreviousPositions = null;
            // Release the fps text string.
            FpsString?.Shutdown();
            FpsString = null;
            // Release the font object.
            Font1?.Shutdown();
            Font1 = null;
        }