// is there currently a recording track
        bool IsTrackRecording(WindowState state)
        {
            if (!state.recording)
            {
                return(false);
            }
            if (track.GetType() != typeof(GroupTrack))
            {
                return(false);
            }

            return(state.GetArmedTrack(track) != null);
        }