Index: /trunk/FACT++/src/LocalControl.h
===================================================================
--- /trunk/FACT++/src/LocalControl.h	(revision 13205)
+++ /trunk/FACT++/src/LocalControl.h	(revision 13206)
@@ -124,4 +124,10 @@
                 usleep(1);
 
+            if (fStateMachine->GetCurrentState()!=target)
+            {
+                int label = -1;
+                in >> label;
+                T::SetLabel(label);
+            }
             return true;
         }
@@ -129,5 +135,5 @@
         if (str[0]=='#')
         {
-            T::GetStreamOut() << "#   " << Time().GetAsStr("%H:%M:%S.%f") << " - " << Tools::Trim(str.substr(1)) << endl;
+            fStateMachine->Comment(Tools::Trim(str.substr(1)));
             return true;
         }
