void inqCanvas_PreviewStylusUp(object sender, StylusButtonEventArgs e)
 {
     if (_moving)
     {
         _moving = false;
         using (_mrec.BatchEditNoRecog(true))
         {
             Selected.Contents.MoveTo(e.GetPosition(inqCanvas));
         }
         Selected.Contents.EndMove();
         if (_movingLock != null)
         {
             _movingLock.Dispose(); // this will call Parse itself
             _movingLock = null;
         }
         else Selected.Contents.Reparse(_mrec); // make sure math is updated and do a full rerecog just in case; we have only been doing non-re-recognition parses for speed
         Deselect();
         Mouse.Capture(null);
         e.Handled = true;
         inqCanvas.InkEnabled = true;
     }
 }