Index: /branches/FACT++_lidctrl_usb/src/lidctrl.cc
===================================================================
--- /branches/FACT++_lidctrl_usb/src/lidctrl.cc	(revision 18786)
+++ /branches/FACT++_lidctrl_usb/src/lidctrl.cc	(revision 18787)
@@ -71,4 +71,7 @@
         string s(fCollectedBytes.begin(), fCollectedBytes.end());
         int pos=s.find(search_string);
+	if (pos != 0){
+            Out() << "TruncateUntilStartFlagFound: pos=" << pos << endl; 
+	}
         // cut off the first 'pos' bytes from fCollectedBytes
         vector<decltype(fCollectedBytes)::value_type>(
@@ -155,5 +158,5 @@
         fStateOfArduino(State::kOpen),
         fLastStateOfArduino(State::kOpen),
-        fDim("LID_CONTROL/INNER_MOTOR", "F:1;F:1;F:1;F:1;I:1;I:1",
+        fDim("LID_CONTROL/MOTORS", "F:1;F:1;F:1;F:1;I:1;I:1",
             "|inner_current_mean[mA]: "
             "|outer_current_mean[mA]: "
@@ -240,4 +243,5 @@
         T::AddStateName(State::kLowerClosing, "LowerClosing", "lower(left) lid is closing");
         T::AddStateName(State::kUpperClosing, "UpperClosing", "upper(right) lid is closing");
+        T::AddStateName(State::kUnknown, "Unknown", "Position unknown - arduino just restarted");
 
         T::AddEvent("OPEN")(bind(&StateMachineLid::Open, this))("Open Lid");
