Inheritance: UnityEngine.MonoBehaviour
        //private WindowResizer resizer = new WindowResizer(
        //            new Rect(50, 255, 380, 240),
        //            new Vector2(380, 240));
        //private Vector2 scroll = new Vector2();
        //private KeyBind captureTarget;

        public MainWindow(ExplorerTrackBehaviour mainBehaviour) : base("Persistent Trails " + GUIResources.VERSION)
        {
            this.mainBehaviour = mainBehaviour;
            SetResizeX(true);
            SetResizeY(true);

            windowPos = new Rect(60, 60, 380, 300);

            trackColorTextures = new List <Texture2D>();
        }
        //private IButton mainWindowButton;

        public ExplorerTrackBehaviour()
        {
            Instance          = this;
            mainWindow        = new MainWindow(this);
            recordingInterval = 5;
        }