private void WatchAction(string action)
 {
     ClearAll();
     signal.Text = "Take start pose for " + action;
     currentAction = new Gesture(action);
     currentAction.ApplyRotation(rotTransform);
     coach.Speak("Enter starting position for " + action);
     actionFrameCount = 0;
     watchingAction = true;
     correctBonePen = new Pen(Brushes.DarkGreen, 6);
 }
        private void ClearAll()
        {
            signal.Text = "Ready";
            currentPose = null;
            currentAction = null;

            dm = DemoMode.NONE;
            cpm = CompareMode.NONE;

            watchingAction = false;
            actionStarted = false;
            actionFrames = new List<Skeleton>();
            actionFrameCount = 0;

            StopRecordingSkeleton();
        }