From 76b66c83fbae5aa53f46e15797d03eb99587255a Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paristech.fr>
Date: Wed, 13 Jan 2016 10:32:37 +0000
Subject: [PATCH] Removing version 3 of TML simulator

---
 Makefile                                      |     6 +-
 modeling/ISAE/UAV_v02.xml                     |  1527 --
 .../assumptions-drone/mad-drone-03bis.xml     | 15416 ++++++++--------
 src/TMLTranslator.java                        |  1025 +-
 .../tomappingsystemc3/CheckpointInfo.java     |    60 -
 .../tomappingsystemc3/LiveVariableNode.java   |   762 -
 .../tomappingsystemc3/MappedSystemCTask.java  |   985 -
 .../tomappingsystemc3/MergedCmdStr.java       |    17 -
 .../tomappingsystemc3/README.txt              |     5 -
 .../tomappingsystemc3/StaticAnalysis.java     |   535 -
 .../tomappingsystemc3/SystemCEBRDD.java       |   719 -
 .../tomappingsystemc3/SystemCTEPE.java        |   455 -
 .../tomappingsystemc3/TML2MappingSystemC.java |   833 -
 .../tomappingsystemc3/idtypewrap.java         |    12 -
 .../tomappingsystemc3/strwrap.java            |    60 -
 src/ui/window/JDialogSystemCGeneration.java   |   123 +-
 16 files changed, 8252 insertions(+), 14288 deletions(-)
 delete mode 100644 modeling/ISAE/UAV_v02.xml
 delete mode 100644 src/tmltranslator/tomappingsystemc3/CheckpointInfo.java
 delete mode 100755 src/tmltranslator/tomappingsystemc3/LiveVariableNode.java
 delete mode 100755 src/tmltranslator/tomappingsystemc3/MappedSystemCTask.java
 delete mode 100644 src/tmltranslator/tomappingsystemc3/MergedCmdStr.java
 delete mode 100644 src/tmltranslator/tomappingsystemc3/README.txt
 delete mode 100644 src/tmltranslator/tomappingsystemc3/StaticAnalysis.java
 delete mode 100644 src/tmltranslator/tomappingsystemc3/SystemCEBRDD.java
 delete mode 100644 src/tmltranslator/tomappingsystemc3/SystemCTEPE.java
 delete mode 100755 src/tmltranslator/tomappingsystemc3/TML2MappingSystemC.java
 delete mode 100644 src/tmltranslator/tomappingsystemc3/idtypewrap.java
 delete mode 100755 src/tmltranslator/tomappingsystemc3/strwrap.java

diff --git a/Makefile b/Makefile
index cee59cfdac..15104fceaa 100755
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ GZIP = gzip -9 -f
 DEBUG  = -g
 CLASSPATH = -classpath
 SOURCEPATH = -sourcepath
-#PACKAGE = avatartranslator avatartranslator/toexecutable avatartranslator/directsimulation avatartranslator/tocppsim avatartranslator/touppaal avatartranslator/toturtle avatartranslator/toproverif avatartranslator/totpn automata compiler/tmlparser vcd nc ddtranslator launcher myutil tpndescription sddescription sdtranslator tepe translator tmltranslator tmltranslator/tmlcp tmltranslator/toautomata tmltranslator/tosystemc  tmltranslator/tomappingsystemc tmltranslator/tomappingsystemc2 tmltranslator/tomappingsystemc3 tmltranslator/touppaal tmltranslator/toturtle translator/tojava translator/tosimujava translator/totpn translator/touppaal  ui ui/avatarbd ui/avatardd ui/avatarsmd ui/avatarrd ui/avatarpd ui/avatarcd ui/avatarad ui/ad ui/cd ui/oscd ui/osad ui/dd ui/ebrdd ui/file ui/graph ui/iod ui/ncdd ui/procsd ui/prosmdui/prosmd/util ui/tmlad ui/tmlcd ui/tmldd ui/tmlcomp ui/req ui/sd ui/tree ui/ucd ui/window tmltranslator tmltranslator/toturtle req/ebrdd tmltranslator/tosystemc tmatrix proverifspec uppaaldesc fr/inria/oasis/vercors/cttool/model remotesimulation tmltranslator/ctranslator attacktrees myutil/externalSearch
+#PACKAGE = avatartranslator avatartranslator/toexecutable avatartranslator/directsimulation avatartranslator/tocppsim avatartranslator/touppaal avatartranslator/toturtle avatartranslator/toproverif avatartranslator/totpn automata compiler/tmlparser vcd nc ddtranslator launcher myutil tpndescription sddescription sdtranslator tepe translator tmltranslator tmltranslator/tmlcp tmltranslator/toautomata tmltranslator/tosystemc  tmltranslator/tomappingsystemc tmltranslator/tomappingsystemc2 tmltranslator/touppaal tmltranslator/toturtle translator/tojava translator/tosimujava translator/totpn translator/touppaal  ui ui/avatarbd ui/avatardd ui/avatarsmd ui/avatarrd ui/avatarpd ui/avatarcd ui/avatarad ui/ad ui/cd ui/oscd ui/osad ui/dd ui/ebrdd ui/file ui/graph ui/iod ui/ncdd ui/procsd ui/prosmdui/prosmd/util ui/tmlad ui/tmlcd ui/tmldd ui/tmlcomp ui/req ui/sd ui/tree ui/ucd ui/window tmltranslator tmltranslator/toturtle req/ebrdd tmltranslator/tosystemc tmatrix proverifspec uppaaldesc fr/inria/oasis/vercors/cttool/model remotesimulation tmltranslator/ctranslator attacktrees myutil/externalSearch
 BUILDER = builder.jar
 BUILD_INFO = build.txt
 BUILD_TO_MODIFY = src/ui/DefaultText.java
@@ -153,7 +153,7 @@ jar: launcher ttooljar tiftranslator tmltranslator rundse remotesimulator
 ttooljar:
 	rm -f $(TTOOL_BIN)/$(TTOOL_BINARY)
 	cp $(TTOOL_SRC)/ui/images/$(STD_LOGO) $(TTOOL_SRC)/ui/images/$(LOGO) 
-	cd $(TTOOL_SRC);  $(JAR) cmf $(TTOOL_JAR_TXT) $(TTOOL_BIN)/$(TTOOL_BINARY) Main.class vcd/*.class avatartranslator/*.class avatartranslator/toexecutable/*.class avatartranslator/directsimulation/*.class avatartranslator/touppaal/*.class avatartranslator/toproverif/*.class avatartranslator/totpn/* avatartranslator/*.class avatartranslator/toturtle/*.java automata/*.class compiler/tmlparser/*.class nc/*.class  tepe/*.class tmltranslator/*.class tmltranslator/tmlcp/*.class tmltranslator/toautomata/*.class tmatrix/*.class tmltranslator/toturtle/*.class tmltranslator/touppaal/*.class tmltranslator/tosystemc/*.class tmltranslator/tomappingsystemc/*.class tmltranslator/tomappingsystemc2/*.class tmltranslator/tomappingsystemc3/*.class  tpndescription/*.class ddtranslator/*.class launcher/*.class myutil/*.class sddescription/*.class sdtranslator/*.class translator/*.class translator/tojava/*.class  translator/tosimujava/*.class translator/touppaal/*.class translator/totpn/*.class req/ebrdd/*.java ui/*.class ui/*/*.class ui/*/*/*.class proverifspec/*.class uppaaldesc/*.class ui/images/*.* ui/images/toolbarButtonGraphics/general/*.gif ui/images/toolbarButtonGraphics/navigation/*.gif  ui/images/toolbarButtonGraphics/media/*.gif $(TTOOL_BIN)/$(LAUNCHER_BINARY) RTLLauncher.class launcher/*.class fr/inria/oasis/vercors/cttool/model/*.class remotesimulation/*.class tmltranslator/ctranslator/*.class attacktrees/*.class myutil/externalSearch/*.class ddtranslatorSoclib/*.class ddtranslatorSoclib/toSoclib/*.class ddtranslatorSoclib/toTopCell/*.class #compiler/tmlCPparser/parser/*.class
+	cd $(TTOOL_SRC);  $(JAR) cmf $(TTOOL_JAR_TXT) $(TTOOL_BIN)/$(TTOOL_BINARY) Main.class vcd/*.class avatartranslator/*.class avatartranslator/toexecutable/*.class avatartranslator/directsimulation/*.class avatartranslator/touppaal/*.class avatartranslator/toproverif/*.class avatartranslator/totpn/* avatartranslator/*.class avatartranslator/toturtle/*.java automata/*.class compiler/tmlparser/*.class nc/*.class  tepe/*.class tmltranslator/*.class tmltranslator/tmlcp/*.class tmltranslator/toautomata/*.class tmatrix/*.class tmltranslator/toturtle/*.class tmltranslator/touppaal/*.class tmltranslator/tosystemc/*.class tmltranslator/tomappingsystemc/*.class tmltranslator/tomappingsystemc2/*.class  tpndescription/*.class ddtranslator/*.class launcher/*.class myutil/*.class sddescription/*.class sdtranslator/*.class translator/*.class translator/tojava/*.class  translator/tosimujava/*.class translator/touppaal/*.class translator/totpn/*.class req/ebrdd/*.java ui/*.class ui/*/*.class ui/*/*/*.class proverifspec/*.class uppaaldesc/*.class ui/images/*.* ui/images/toolbarButtonGraphics/general/*.gif ui/images/toolbarButtonGraphics/navigation/*.gif  ui/images/toolbarButtonGraphics/media/*.gif $(TTOOL_BIN)/$(LAUNCHER_BINARY) RTLLauncher.class launcher/*.class fr/inria/oasis/vercors/cttool/model/*.class remotesimulation/*.class tmltranslator/ctranslator/*.class attacktrees/*.class myutil/externalSearch/*.class ddtranslatorSoclib/*.class ddtranslatorSoclib/toSoclib/*.class ddtranslatorSoclib/toTopCell/*.class #compiler/tmlCPparser/parser/*.class
 
 launcher:
 	rm -f $(TTOOL_BIN)/$(LAUNCHER_BINARY)
@@ -169,7 +169,7 @@ tmltranslator:
 
 rundse:
 	rm -f $(TTOOL_BIN)/$(RUNDSE_BINARY)
-	cd $(TTOOL_SRC);$(JAR) cmf $(RUNDSE_JAR_TXT) $(TTOOL_BIN)/$(RUNDSE_BINARY)  RunDSE.class dseengine/*.class tmltranslator/*.class myutil/*.class tmltranslator/tomappingsystemc3/*.class
+	cd $(TTOOL_SRC);$(JAR) cmf $(RUNDSE_JAR_TXT) $(TTOOL_BIN)/$(RUNDSE_BINARY)  RunDSE.class dseengine/*.class tmltranslator/*.class myutil/*.class
 
 
 remotesimulator:
diff --git a/modeling/ISAE/UAV_v02.xml b/modeling/ISAE/UAV_v02.xml
deleted file mode 100644
index e52c9df49d..0000000000
--- a/modeling/ISAE/UAV_v02.xml
+++ /dev/null
@@ -1,1527 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<TURTLEGMODELING version="0.94-beta2">
-
-<Modeling type="Avatar Requirement" nameTab="AVATAR Requirements" >
-<AvatarRDPanel name="Modeling Assumptions" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
-<COMPONENT type="301" id="9" >
-<cdparam x="367" y="10" />
-<sizeparam width="193" height="80" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="Versioning
-Version 1: nominal behavior 
-       in a perfect environment.
-Version 2: memory overflow.
-" />
-<TGConnectingPoint num="0" id="1" />
-<TGConnectingPoint num="1" id="2" />
-<TGConnectingPoint num="2" id="3" />
-<TGConnectingPoint num="3" id="4" />
-<TGConnectingPoint num="4" id="5" />
-<TGConnectingPoint num="5" id="6" />
-<TGConnectingPoint num="6" id="7" />
-<TGConnectingPoint num="7" id="8" />
-<extraparam>
-<Line value="Versioning" />
-<Line value="Version 1: nominal behavior " />
-<Line value="       in a perfect environment." />
-<Line value="Version 2: memory overflow." />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="18" >
-<cdparam x="10" y="10" />
-<sizeparam width="201" height="65" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="Author: Pierre de Saqui-Sannes
-Company: ISAE
-Date: July 3, 2013.
-" />
-<TGConnectingPoint num="0" id="10" />
-<TGConnectingPoint num="1" id="11" />
-<TGConnectingPoint num="2" id="12" />
-<TGConnectingPoint num="3" id="13" />
-<TGConnectingPoint num="4" id="14" />
-<TGConnectingPoint num="5" id="15" />
-<TGConnectingPoint num="6" id="16" />
-<TGConnectingPoint num="7" id="17" />
-<extraparam>
-<Line value="Author: Pierre de Saqui-Sannes" />
-<Line value="Company: ISAE" />
-<Line value="Date: July 3, 2013." />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="27" >
-<cdparam x="10" y="82" />
-<sizeparam width="307" height="200" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="System
----------
-The drone is fully auto-piloted: if we give it 
-some correct GPS coordinates, it will fly 
-by itself to this coordinate in an unknown but
-non-infinite duration.
-
-The duration it takes to go to the GPS coordinates
-is supposed to be the distance divided by 10.
-
-The drone stays at the same GPS position until 
-it is ordered to move.
-" />
-<TGConnectingPoint num="0" id="19" />
-<TGConnectingPoint num="1" id="20" />
-<TGConnectingPoint num="2" id="21" />
-<TGConnectingPoint num="3" id="22" />
-<TGConnectingPoint num="4" id="23" />
-<TGConnectingPoint num="5" id="24" />
-<TGConnectingPoint num="6" id="25" />
-<TGConnectingPoint num="7" id="26" />
-<extraparam>
-<Line value="System" />
-<Line value="---------" />
-<Line value="The drone is fully auto-piloted: if we give it " />
-<Line value="some correct GPS coordinates, it will fly " />
-<Line value="by itself to this coordinate in an unknown but" />
-<Line value="non-infinite duration." />
-<Line value="" />
-<Line value="The duration it takes to go to the GPS coordinates" />
-<Line value="is supposed to be the distance divided by 10." />
-<Line value="" />
-<Line value="The drone stays at the same GPS position until " />
-<Line value="it is ordered to move." />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="36" >
-<cdparam x="11" y="287" />
-<sizeparam width="335" height="230" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="Environment
-----------------
-
-Availability
---------------
-Somebody is available to send orders to the UAV.
-
-System-Environment Communication
----------------------------------------------
-A command from the operator is immediately 
-received by the UAV.
-
-The communication link beetween the UAV 
-and the ground is fully reliable.
-" />
-<TGConnectingPoint num="0" id="28" />
-<TGConnectingPoint num="1" id="29" />
-<TGConnectingPoint num="2" id="30" />
-<TGConnectingPoint num="3" id="31" />
-<TGConnectingPoint num="4" id="32" />
-<TGConnectingPoint num="5" id="33" />
-<TGConnectingPoint num="6" id="34" />
-<TGConnectingPoint num="7" id="35" />
-<extraparam>
-<Line value="Environment" />
-<Line value="----------------" />
-<Line value="" />
-<Line value="Availability" />
-<Line value="--------------" />
-<Line value="Somebody is available to send orders to the UAV." />
-<Line value="" />
-<Line value="System-Environment Communication" />
-<Line value="---------------------------------------------" />
-<Line value="A command from the operator is immediately " />
-<Line value="received by the UAV." />
-<Line value="" />
-<Line value="The communication link beetween the UAV " />
-<Line value="and the ground is fully reliable." />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="45" >
-<cdparam x="729" y="10" />
-<sizeparam width="378" height="215" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="Model analysis
-------------------
-
-The simulation and verification facilities offered by TTool
-will be used to check the design diagrams of the UAV model
-againt the following properties.
-
-Property 1. Each time the ground pilot sends a &quot;take a picture
-order to the UAV the lattter   eventually takes the picture
-and stores it on the flash memory&quot;.
-
-Property 2. &quot;If the ground pilot asks for landing the drone,
-then the drone lands successfully.&quot;
-" />
-<TGConnectingPoint num="0" id="37" />
-<TGConnectingPoint num="1" id="38" />
-<TGConnectingPoint num="2" id="39" />
-<TGConnectingPoint num="3" id="40" />
-<TGConnectingPoint num="4" id="41" />
-<TGConnectingPoint num="5" id="42" />
-<TGConnectingPoint num="6" id="43" />
-<TGConnectingPoint num="7" id="44" />
-<extraparam>
-<Line value="Model analysis" />
-<Line value="------------------" />
-<Line value="" />
-<Line value="The simulation and verification facilities offered by TTool" />
-<Line value="will be used to check the design diagrams of the UAV model" />
-<Line value="againt the following properties." />
-<Line value="" />
-<Line value="Property 1. Each time the ground pilot sends a &quot;take a picture" />
-<Line value="order to the UAV the lattter   eventually takes the picture" />
-<Line value="and stores it on the flash memory&quot;." />
-<Line value="" />
-<Line value="Property 2. &quot;If the ground pilot asks for landing the drone," />
-<Line value="then the drone lands successfully.&quot;" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="54" >
-<cdparam x="367" y="343" />
-<sizeparam width="304" height="170" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="Error codes
---------------
-
-Would an error occur, the DroneController has an
-errno field, which contains the type of error.
-errno=0 : no error
-errno=1 : memory full
-errno=2 : fatal camera error
-errno=3 : navigation error
-errno=4 : fuel error
-" />
-<TGConnectingPoint num="0" id="46" />
-<TGConnectingPoint num="1" id="47" />
-<TGConnectingPoint num="2" id="48" />
-<TGConnectingPoint num="3" id="49" />
-<TGConnectingPoint num="4" id="50" />
-<TGConnectingPoint num="5" id="51" />
-<TGConnectingPoint num="6" id="52" />
-<TGConnectingPoint num="7" id="53" />
-<extraparam>
-<Line value="Error codes" />
-<Line value="--------------" />
-<Line value="" />
-<Line value="Would an error occur, the DroneController has an" />
-<Line value="errno field, which contains the type of error." />
-<Line value="errno=0 : no error" />
-<Line value="errno=1 : memory full" />
-<Line value="errno=2 : fatal camera error" />
-<Line value="errno=3 : navigation error" />
-<Line value="errno=4 : fuel error" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="63" >
-<cdparam x="366" y="95" />
-<sizeparam width="335" height="245" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="Environment
-----------------
-
-Availability
---------------
-Somebody is available to send 
-orders to the UAV.
-
-System-Environment Communication
----------------------------------------------
-A command from the operator is immediately 
-received by the UAV.
-
-The communication link beetween the UAV 
-and the ground is fully reliable.
-" />
-<TGConnectingPoint num="0" id="55" />
-<TGConnectingPoint num="1" id="56" />
-<TGConnectingPoint num="2" id="57" />
-<TGConnectingPoint num="3" id="58" />
-<TGConnectingPoint num="4" id="59" />
-<TGConnectingPoint num="5" id="60" />
-<TGConnectingPoint num="6" id="61" />
-<TGConnectingPoint num="7" id="62" />
-<extraparam>
-<Line value="Environment" />
-<Line value="----------------" />
-<Line value="" />
-<Line value="Availability" />
-<Line value="--------------" />
-<Line value="Somebody is available to send " />
-<Line value="orders to the UAV." />
-<Line value="" />
-<Line value="System-Environment Communication" />
-<Line value="---------------------------------------------" />
-<Line value="A command from the operator is immediately " />
-<Line value="received by the UAV." />
-<Line value="" />
-<Line value="The communication link beetween the UAV " />
-<Line value="and the ground is fully reliable." />
-</extraparam>
-</COMPONENT>
-
-
-</AvatarRDPanel>
-
-<AvatarRDPanel name="Requirement Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
-<CONNECTOR type="5205" id="722" >
-<cdparam x="704" y="279" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="723" />
-<P1  x="704" y="279" id="519" />
-<P2  x="558" y="250" id="107" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5202" id="718" >
-<cdparam x="739" y="516" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="719" />
-<P1  x="887" y="545" id="361" />
-<P2  x="617" y="676" id="259" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="5200" id="95" >
-<cdparam x="836" y="148" />
-<sizeparam width="200" height="87" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="105" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="PictureStorage" />
-<TGConnectingPoint num="0" id="64" />
-<TGConnectingPoint num="1" id="65" />
-<TGConnectingPoint num="2" id="66" />
-<TGConnectingPoint num="3" id="67" />
-<TGConnectingPoint num="4" id="68" />
-<TGConnectingPoint num="5" id="69" />
-<TGConnectingPoint num="6" id="70" />
-<TGConnectingPoint num="7" id="71" />
-<TGConnectingPoint num="8" id="72" />
-<TGConnectingPoint num="9" id="73" />
-<TGConnectingPoint num="10" id="74" />
-<TGConnectingPoint num="11" id="75" />
-<TGConnectingPoint num="12" id="76" />
-<TGConnectingPoint num="13" id="77" />
-<TGConnectingPoint num="14" id="78" />
-<TGConnectingPoint num="15" id="79" />
-<TGConnectingPoint num="16" id="80" />
-<TGConnectingPoint num="17" id="81" />
-<TGConnectingPoint num="18" id="82" />
-<TGConnectingPoint num="19" id="83" />
-<TGConnectingPoint num="20" id="84" />
-<TGConnectingPoint num="21" id="85" />
-<TGConnectingPoint num="22" id="86" />
-<TGConnectingPoint num="23" id="87" />
-<TGConnectingPoint num="24" id="88" />
-<TGConnectingPoint num="25" id="89" />
-<TGConnectingPoint num="26" id="90" />
-<TGConnectingPoint num="27" id="91" />
-<TGConnectingPoint num="28" id="92" />
-<TGConnectingPoint num="29" id="93" />
-<TGConnectingPoint num="30" id="94" />
-<extraparam>
-<textline data="The controller shall" />
-<textline data="store pictures" />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="17" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="127" >
-<cdparam x="391" y="141" />
-<sizeparam width="223" height="109" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="64" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="Control" />
-<TGConnectingPoint num="0" id="96" />
-<TGConnectingPoint num="1" id="97" />
-<TGConnectingPoint num="2" id="98" />
-<TGConnectingPoint num="3" id="99" />
-<TGConnectingPoint num="4" id="100" />
-<TGConnectingPoint num="5" id="101" />
-<TGConnectingPoint num="6" id="102" />
-<TGConnectingPoint num="7" id="103" />
-<TGConnectingPoint num="8" id="104" />
-<TGConnectingPoint num="9" id="105" />
-<TGConnectingPoint num="10" id="106" />
-<TGConnectingPoint num="11" id="107" />
-<TGConnectingPoint num="12" id="108" />
-<TGConnectingPoint num="13" id="109" />
-<TGConnectingPoint num="14" id="110" />
-<TGConnectingPoint num="15" id="111" />
-<TGConnectingPoint num="16" id="112" />
-<TGConnectingPoint num="17" id="113" />
-<TGConnectingPoint num="18" id="114" />
-<TGConnectingPoint num="19" id="115" />
-<TGConnectingPoint num="20" id="116" />
-<TGConnectingPoint num="21" id="117" />
-<TGConnectingPoint num="22" id="118" />
-<TGConnectingPoint num="23" id="119" />
-<TGConnectingPoint num="24" id="120" />
-<TGConnectingPoint num="25" id="121" />
-<TGConnectingPoint num="26" id="122" />
-<TGConnectingPoint num="27" id="123" />
-<TGConnectingPoint num="28" id="124" />
-<TGConnectingPoint num="29" id="125" />
-<TGConnectingPoint num="30" id="126" />
-<extraparam>
-<textline data="The system shall take pictures" />
-<textline data="at a defined positon and make" />
-<textline data="the pictures eventually available" />
-<textline data="to a ground user." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="16" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="159" >
-<cdparam x="114" y="140" />
-<sizeparam width="198" height="91" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="67" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="Sensors" />
-<TGConnectingPoint num="0" id="128" />
-<TGConnectingPoint num="1" id="129" />
-<TGConnectingPoint num="2" id="130" />
-<TGConnectingPoint num="3" id="131" />
-<TGConnectingPoint num="4" id="132" />
-<TGConnectingPoint num="5" id="133" />
-<TGConnectingPoint num="6" id="134" />
-<TGConnectingPoint num="7" id="135" />
-<TGConnectingPoint num="8" id="136" />
-<TGConnectingPoint num="9" id="137" />
-<TGConnectingPoint num="10" id="138" />
-<TGConnectingPoint num="11" id="139" />
-<TGConnectingPoint num="12" id="140" />
-<TGConnectingPoint num="13" id="141" />
-<TGConnectingPoint num="14" id="142" />
-<TGConnectingPoint num="15" id="143" />
-<TGConnectingPoint num="16" id="144" />
-<TGConnectingPoint num="17" id="145" />
-<TGConnectingPoint num="18" id="146" />
-<TGConnectingPoint num="19" id="147" />
-<TGConnectingPoint num="20" id="148" />
-<TGConnectingPoint num="21" id="149" />
-<TGConnectingPoint num="22" id="150" />
-<TGConnectingPoint num="23" id="151" />
-<TGConnectingPoint num="24" id="152" />
-<TGConnectingPoint num="25" id="153" />
-<TGConnectingPoint num="26" id="154" />
-<TGConnectingPoint num="27" id="155" />
-<TGConnectingPoint num="28" id="156" />
-<TGConnectingPoint num="29" id="157" />
-<TGConnectingPoint num="30" id="158" />
-<extraparam>
-<textline data="Requirement description:" />
-<textline data="Double-click to edit" />
-<kind data="" />
-<criticality data="" />
-<reqType data="0" />
-<id data="15" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="191" >
-<cdparam x="10" y="10" />
-<sizeparam width="279" height="87" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="128" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="InputFromHumans" />
-<TGConnectingPoint num="0" id="160" />
-<TGConnectingPoint num="1" id="161" />
-<TGConnectingPoint num="2" id="162" />
-<TGConnectingPoint num="3" id="163" />
-<TGConnectingPoint num="4" id="164" />
-<TGConnectingPoint num="5" id="165" />
-<TGConnectingPoint num="6" id="166" />
-<TGConnectingPoint num="7" id="167" />
-<TGConnectingPoint num="8" id="168" />
-<TGConnectingPoint num="9" id="169" />
-<TGConnectingPoint num="10" id="170" />
-<TGConnectingPoint num="11" id="171" />
-<TGConnectingPoint num="12" id="172" />
-<TGConnectingPoint num="13" id="173" />
-<TGConnectingPoint num="14" id="174" />
-<TGConnectingPoint num="15" id="175" />
-<TGConnectingPoint num="16" id="176" />
-<TGConnectingPoint num="17" id="177" />
-<TGConnectingPoint num="18" id="178" />
-<TGConnectingPoint num="19" id="179" />
-<TGConnectingPoint num="20" id="180" />
-<TGConnectingPoint num="21" id="181" />
-<TGConnectingPoint num="22" id="182" />
-<TGConnectingPoint num="23" id="183" />
-<TGConnectingPoint num="24" id="184" />
-<TGConnectingPoint num="25" id="185" />
-<TGConnectingPoint num="26" id="186" />
-<TGConnectingPoint num="27" id="187" />
-<TGConnectingPoint num="28" id="188" />
-<TGConnectingPoint num="29" id="189" />
-<TGConnectingPoint num="30" id="190" />
-<extraparam>
-<textline data="The drone shall process commands" />
-<textline data="received from humans" />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="0" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="223" >
-<cdparam x="384" y="12" />
-<sizeparam width="237" height="90" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="142" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="GeneralRequirement" />
-<TGConnectingPoint num="0" id="192" />
-<TGConnectingPoint num="1" id="193" />
-<TGConnectingPoint num="2" id="194" />
-<TGConnectingPoint num="3" id="195" />
-<TGConnectingPoint num="4" id="196" />
-<TGConnectingPoint num="5" id="197" />
-<TGConnectingPoint num="6" id="198" />
-<TGConnectingPoint num="7" id="199" />
-<TGConnectingPoint num="8" id="200" />
-<TGConnectingPoint num="9" id="201" />
-<TGConnectingPoint num="10" id="202" />
-<TGConnectingPoint num="11" id="203" />
-<TGConnectingPoint num="12" id="204" />
-<TGConnectingPoint num="13" id="205" />
-<TGConnectingPoint num="14" id="206" />
-<TGConnectingPoint num="15" id="207" />
-<TGConnectingPoint num="16" id="208" />
-<TGConnectingPoint num="17" id="209" />
-<TGConnectingPoint num="18" id="210" />
-<TGConnectingPoint num="19" id="211" />
-<TGConnectingPoint num="20" id="212" />
-<TGConnectingPoint num="21" id="213" />
-<TGConnectingPoint num="22" id="214" />
-<TGConnectingPoint num="23" id="215" />
-<TGConnectingPoint num="24" id="216" />
-<TGConnectingPoint num="25" id="217" />
-<TGConnectingPoint num="26" id="218" />
-<TGConnectingPoint num="27" id="219" />
-<TGConnectingPoint num="28" id="220" />
-<TGConnectingPoint num="29" id="221" />
-<TGConnectingPoint num="30" id="222" />
-<extraparam>
-<textline data="The UAV shall take pictures." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="14" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="255" >
-<cdparam x="778" y="14" />
-<sizeparam width="257" height="89" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="107" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="UserIformation" />
-<TGConnectingPoint num="0" id="224" />
-<TGConnectingPoint num="1" id="225" />
-<TGConnectingPoint num="2" id="226" />
-<TGConnectingPoint num="3" id="227" />
-<TGConnectingPoint num="4" id="228" />
-<TGConnectingPoint num="5" id="229" />
-<TGConnectingPoint num="6" id="230" />
-<TGConnectingPoint num="7" id="231" />
-<TGConnectingPoint num="8" id="232" />
-<TGConnectingPoint num="9" id="233" />
-<TGConnectingPoint num="10" id="234" />
-<TGConnectingPoint num="11" id="235" />
-<TGConnectingPoint num="12" id="236" />
-<TGConnectingPoint num="13" id="237" />
-<TGConnectingPoint num="14" id="238" />
-<TGConnectingPoint num="15" id="239" />
-<TGConnectingPoint num="16" id="240" />
-<TGConnectingPoint num="17" id="241" />
-<TGConnectingPoint num="18" id="242" />
-<TGConnectingPoint num="19" id="243" />
-<TGConnectingPoint num="20" id="244" />
-<TGConnectingPoint num="21" id="245" />
-<TGConnectingPoint num="22" id="246" />
-<TGConnectingPoint num="23" id="247" />
-<TGConnectingPoint num="24" id="248" />
-<TGConnectingPoint num="25" id="249" />
-<TGConnectingPoint num="26" id="250" />
-<TGConnectingPoint num="27" id="251" />
-<TGConnectingPoint num="28" id="252" />
-<TGConnectingPoint num="29" id="253" />
-<TGConnectingPoint num="30" id="254" />
-<extraparam>
-<textline data="The drone shall inform the ground" />
-<textline data="when the picture has been stored" />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="13" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="287" >
-<cdparam x="325" y="657" />
-<sizeparam width="292" height="78" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="109" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="HDCameraReq" />
-<TGConnectingPoint num="0" id="256" />
-<TGConnectingPoint num="1" id="257" />
-<TGConnectingPoint num="2" id="258" />
-<TGConnectingPoint num="3" id="259" />
-<TGConnectingPoint num="4" id="260" />
-<TGConnectingPoint num="5" id="261" />
-<TGConnectingPoint num="6" id="262" />
-<TGConnectingPoint num="7" id="263" />
-<TGConnectingPoint num="8" id="264" />
-<TGConnectingPoint num="9" id="265" />
-<TGConnectingPoint num="10" id="266" />
-<TGConnectingPoint num="11" id="267" />
-<TGConnectingPoint num="12" id="268" />
-<TGConnectingPoint num="13" id="269" />
-<TGConnectingPoint num="14" id="270" />
-<TGConnectingPoint num="15" id="271" />
-<TGConnectingPoint num="16" id="272" />
-<TGConnectingPoint num="17" id="273" />
-<TGConnectingPoint num="18" id="274" />
-<TGConnectingPoint num="19" id="275" />
-<TGConnectingPoint num="20" id="276" />
-<TGConnectingPoint num="21" id="277" />
-<TGConnectingPoint num="22" id="278" />
-<TGConnectingPoint num="23" id="279" />
-<TGConnectingPoint num="24" id="280" />
-<TGConnectingPoint num="25" id="281" />
-<TGConnectingPoint num="26" id="282" />
-<TGConnectingPoint num="27" id="283" />
-<TGConnectingPoint num="28" id="284" />
-<TGConnectingPoint num="29" id="285" />
-<TGConnectingPoint num="30" id="286" />
-<extraparam>
-<textline data="The drone shall embedd an HD camera" />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="11" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="319" >
-<cdparam x="53" y="532" />
-<sizeparam width="283" height="97" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="133" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="CommandLandReq" />
-<TGConnectingPoint num="0" id="288" />
-<TGConnectingPoint num="1" id="289" />
-<TGConnectingPoint num="2" id="290" />
-<TGConnectingPoint num="3" id="291" />
-<TGConnectingPoint num="4" id="292" />
-<TGConnectingPoint num="5" id="293" />
-<TGConnectingPoint num="6" id="294" />
-<TGConnectingPoint num="7" id="295" />
-<TGConnectingPoint num="8" id="296" />
-<TGConnectingPoint num="9" id="297" />
-<TGConnectingPoint num="10" id="298" />
-<TGConnectingPoint num="11" id="299" />
-<TGConnectingPoint num="12" id="300" />
-<TGConnectingPoint num="13" id="301" />
-<TGConnectingPoint num="14" id="302" />
-<TGConnectingPoint num="15" id="303" />
-<TGConnectingPoint num="16" id="304" />
-<TGConnectingPoint num="17" id="305" />
-<TGConnectingPoint num="18" id="306" />
-<TGConnectingPoint num="19" id="307" />
-<TGConnectingPoint num="20" id="308" />
-<TGConnectingPoint num="21" id="309" />
-<TGConnectingPoint num="22" id="310" />
-<TGConnectingPoint num="23" id="311" />
-<TGConnectingPoint num="24" id="312" />
-<TGConnectingPoint num="25" id="313" />
-<TGConnectingPoint num="26" id="314" />
-<TGConnectingPoint num="27" id="315" />
-<TGConnectingPoint num="28" id="316" />
-<TGConnectingPoint num="29" id="317" />
-<TGConnectingPoint num="30" id="318" />
-<extraparam>
-<textline data="The drone shall process a command" />
-<textline data="containing the order to land at a GPS " />
-<textline data="coordinate" />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="10" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="351" >
-<cdparam x="10" y="385" />
-<sizeparam width="187" height="88" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="137" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="CommandPhotoReq" />
-<TGConnectingPoint num="0" id="320" />
-<TGConnectingPoint num="1" id="321" />
-<TGConnectingPoint num="2" id="322" />
-<TGConnectingPoint num="3" id="323" />
-<TGConnectingPoint num="4" id="324" />
-<TGConnectingPoint num="5" id="325" />
-<TGConnectingPoint num="6" id="326" />
-<TGConnectingPoint num="7" id="327" />
-<TGConnectingPoint num="8" id="328" />
-<TGConnectingPoint num="9" id="329" />
-<TGConnectingPoint num="10" id="330" />
-<TGConnectingPoint num="11" id="331" />
-<TGConnectingPoint num="12" id="332" />
-<TGConnectingPoint num="13" id="333" />
-<TGConnectingPoint num="14" id="334" />
-<TGConnectingPoint num="15" id="335" />
-<TGConnectingPoint num="16" id="336" />
-<TGConnectingPoint num="17" id="337" />
-<TGConnectingPoint num="18" id="338" />
-<TGConnectingPoint num="19" id="339" />
-<TGConnectingPoint num="20" id="340" />
-<TGConnectingPoint num="21" id="341" />
-<TGConnectingPoint num="22" id="342" />
-<TGConnectingPoint num="23" id="343" />
-<TGConnectingPoint num="24" id="344" />
-<TGConnectingPoint num="25" id="345" />
-<TGConnectingPoint num="26" id="346" />
-<TGConnectingPoint num="27" id="347" />
-<TGConnectingPoint num="28" id="348" />
-<TGConnectingPoint num="29" id="349" />
-<TGConnectingPoint num="30" id="350" />
-<extraparam>
-<textline data="The drone shall receive " />
-<textline data="and process commands " />
-<textline data="containing GPS coordinates." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="9" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="383" >
-<cdparam x="838" y="457" />
-<sizeparam width="198" height="88" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="92" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="MemoryReq" />
-<TGConnectingPoint num="0" id="352" />
-<TGConnectingPoint num="1" id="353" />
-<TGConnectingPoint num="2" id="354" />
-<TGConnectingPoint num="3" id="355" />
-<TGConnectingPoint num="4" id="356" />
-<TGConnectingPoint num="5" id="357" />
-<TGConnectingPoint num="6" id="358" />
-<TGConnectingPoint num="7" id="359" />
-<TGConnectingPoint num="8" id="360" />
-<TGConnectingPoint num="9" id="361" />
-<TGConnectingPoint num="10" id="362" />
-<TGConnectingPoint num="11" id="363" />
-<TGConnectingPoint num="12" id="364" />
-<TGConnectingPoint num="13" id="365" />
-<TGConnectingPoint num="14" id="366" />
-<TGConnectingPoint num="15" id="367" />
-<TGConnectingPoint num="16" id="368" />
-<TGConnectingPoint num="17" id="369" />
-<TGConnectingPoint num="18" id="370" />
-<TGConnectingPoint num="19" id="371" />
-<TGConnectingPoint num="20" id="372" />
-<TGConnectingPoint num="21" id="373" />
-<TGConnectingPoint num="22" id="374" />
-<TGConnectingPoint num="23" id="375" />
-<TGConnectingPoint num="24" id="376" />
-<TGConnectingPoint num="25" id="377" />
-<TGConnectingPoint num="26" id="378" />
-<TGConnectingPoint num="27" id="379" />
-<TGConnectingPoint num="28" id="380" />
-<TGConnectingPoint num="29" id="381" />
-<TGConnectingPoint num="30" id="382" />
-<extraparam>
-<textline data="The drone shall store " />
-<textline data="a maximum of 5 HD pictures." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="8" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="415" >
-<cdparam x="1126" y="251" />
-<sizeparam width="185" height="86" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="156" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="DurationPhotoStoreReq" />
-<TGConnectingPoint num="0" id="384" />
-<TGConnectingPoint num="1" id="385" />
-<TGConnectingPoint num="2" id="386" />
-<TGConnectingPoint num="3" id="387" />
-<TGConnectingPoint num="4" id="388" />
-<TGConnectingPoint num="5" id="389" />
-<TGConnectingPoint num="6" id="390" />
-<TGConnectingPoint num="7" id="391" />
-<TGConnectingPoint num="8" id="392" />
-<TGConnectingPoint num="9" id="393" />
-<TGConnectingPoint num="10" id="394" />
-<TGConnectingPoint num="11" id="395" />
-<TGConnectingPoint num="12" id="396" />
-<TGConnectingPoint num="13" id="397" />
-<TGConnectingPoint num="14" id="398" />
-<TGConnectingPoint num="15" id="399" />
-<TGConnectingPoint num="16" id="400" />
-<TGConnectingPoint num="17" id="401" />
-<TGConnectingPoint num="18" id="402" />
-<TGConnectingPoint num="19" id="403" />
-<TGConnectingPoint num="20" id="404" />
-<TGConnectingPoint num="21" id="405" />
-<TGConnectingPoint num="22" id="406" />
-<TGConnectingPoint num="23" id="407" />
-<TGConnectingPoint num="24" id="408" />
-<TGConnectingPoint num="25" id="409" />
-<TGConnectingPoint num="26" id="410" />
-<TGConnectingPoint num="27" id="411" />
-<TGConnectingPoint num="28" id="412" />
-<TGConnectingPoint num="29" id="413" />
-<TGConnectingPoint num="30" id="414" />
-<extraparam>
-<textline data="The drone shall store " />
-<textline data="the picturein 4 to 5 seconds" />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="7" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="447" >
-<cdparam x="844" y="287" />
-<sizeparam width="183" height="89" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="98" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="FlashMemory" />
-<TGConnectingPoint num="0" id="416" />
-<TGConnectingPoint num="1" id="417" />
-<TGConnectingPoint num="2" id="418" />
-<TGConnectingPoint num="3" id="419" />
-<TGConnectingPoint num="4" id="420" />
-<TGConnectingPoint num="5" id="421" />
-<TGConnectingPoint num="6" id="422" />
-<TGConnectingPoint num="7" id="423" />
-<TGConnectingPoint num="8" id="424" />
-<TGConnectingPoint num="9" id="425" />
-<TGConnectingPoint num="10" id="426" />
-<TGConnectingPoint num="11" id="427" />
-<TGConnectingPoint num="12" id="428" />
-<TGConnectingPoint num="13" id="429" />
-<TGConnectingPoint num="14" id="430" />
-<TGConnectingPoint num="15" id="431" />
-<TGConnectingPoint num="16" id="432" />
-<TGConnectingPoint num="17" id="433" />
-<TGConnectingPoint num="18" id="434" />
-<TGConnectingPoint num="19" id="435" />
-<TGConnectingPoint num="20" id="436" />
-<TGConnectingPoint num="21" id="437" />
-<TGConnectingPoint num="22" id="438" />
-<TGConnectingPoint num="23" id="439" />
-<TGConnectingPoint num="24" id="440" />
-<TGConnectingPoint num="25" id="441" />
-<TGConnectingPoint num="26" id="442" />
-<TGConnectingPoint num="27" id="443" />
-<TGConnectingPoint num="28" id="444" />
-<TGConnectingPoint num="29" id="445" />
-<TGConnectingPoint num="30" id="446" />
-<extraparam>
-<textline data="The drone shall store " />
-<textline data="the picture taken on " />
-<textline data="a flash memory " />
-<textline data="embeded by the UAV." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="6" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="479" >
-<cdparam x="363" y="446" />
-<sizeparam width="220" height="82" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="127" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="DurationPhotoReq" />
-<TGConnectingPoint num="0" id="448" />
-<TGConnectingPoint num="1" id="449" />
-<TGConnectingPoint num="2" id="450" />
-<TGConnectingPoint num="3" id="451" />
-<TGConnectingPoint num="4" id="452" />
-<TGConnectingPoint num="5" id="453" />
-<TGConnectingPoint num="6" id="454" />
-<TGConnectingPoint num="7" id="455" />
-<TGConnectingPoint num="8" id="456" />
-<TGConnectingPoint num="9" id="457" />
-<TGConnectingPoint num="10" id="458" />
-<TGConnectingPoint num="11" id="459" />
-<TGConnectingPoint num="12" id="460" />
-<TGConnectingPoint num="13" id="461" />
-<TGConnectingPoint num="14" id="462" />
-<TGConnectingPoint num="15" id="463" />
-<TGConnectingPoint num="16" id="464" />
-<TGConnectingPoint num="17" id="465" />
-<TGConnectingPoint num="18" id="466" />
-<TGConnectingPoint num="19" id="467" />
-<TGConnectingPoint num="20" id="468" />
-<TGConnectingPoint num="21" id="469" />
-<TGConnectingPoint num="22" id="470" />
-<TGConnectingPoint num="23" id="471" />
-<TGConnectingPoint num="24" id="472" />
-<TGConnectingPoint num="25" id="473" />
-<TGConnectingPoint num="26" id="474" />
-<TGConnectingPoint num="27" id="475" />
-<TGConnectingPoint num="28" id="476" />
-<TGConnectingPoint num="29" id="477" />
-<TGConnectingPoint num="30" id="478" />
-<extraparam>
-<textline data="The drone shall take a " />
-<textline data="HD picture." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="5" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="511" >
-<cdparam x="384" y="279" />
-<sizeparam width="178" height="86" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="107" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="PhotoTakeReq" />
-<TGConnectingPoint num="0" id="480" />
-<TGConnectingPoint num="1" id="481" />
-<TGConnectingPoint num="2" id="482" />
-<TGConnectingPoint num="3" id="483" />
-<TGConnectingPoint num="4" id="484" />
-<TGConnectingPoint num="5" id="485" />
-<TGConnectingPoint num="6" id="486" />
-<TGConnectingPoint num="7" id="487" />
-<TGConnectingPoint num="8" id="488" />
-<TGConnectingPoint num="9" id="489" />
-<TGConnectingPoint num="10" id="490" />
-<TGConnectingPoint num="11" id="491" />
-<TGConnectingPoint num="12" id="492" />
-<TGConnectingPoint num="13" id="493" />
-<TGConnectingPoint num="14" id="494" />
-<TGConnectingPoint num="15" id="495" />
-<TGConnectingPoint num="16" id="496" />
-<TGConnectingPoint num="17" id="497" />
-<TGConnectingPoint num="18" id="498" />
-<TGConnectingPoint num="19" id="499" />
-<TGConnectingPoint num="20" id="500" />
-<TGConnectingPoint num="21" id="501" />
-<TGConnectingPoint num="22" id="502" />
-<TGConnectingPoint num="23" id="503" />
-<TGConnectingPoint num="24" id="504" />
-<TGConnectingPoint num="25" id="505" />
-<TGConnectingPoint num="26" id="506" />
-<TGConnectingPoint num="27" id="507" />
-<TGConnectingPoint num="28" id="508" />
-<TGConnectingPoint num="29" id="509" />
-<TGConnectingPoint num="30" id="510" />
-<extraparam>
-<textline data="The drone shall take " />
-<textline data="a picture upon request." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="4" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="543" >
-<cdparam x="578" y="279" />
-<sizeparam width="253" height="88" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="103" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="DownloadReq" />
-<TGConnectingPoint num="0" id="512" />
-<TGConnectingPoint num="1" id="513" />
-<TGConnectingPoint num="2" id="514" />
-<TGConnectingPoint num="3" id="515" />
-<TGConnectingPoint num="4" id="516" />
-<TGConnectingPoint num="5" id="517" />
-<TGConnectingPoint num="6" id="518" />
-<TGConnectingPoint num="7" id="519" />
-<TGConnectingPoint num="8" id="520" />
-<TGConnectingPoint num="9" id="521" />
-<TGConnectingPoint num="10" id="522" />
-<TGConnectingPoint num="11" id="523" />
-<TGConnectingPoint num="12" id="524" />
-<TGConnectingPoint num="13" id="525" />
-<TGConnectingPoint num="14" id="526" />
-<TGConnectingPoint num="15" id="527" />
-<TGConnectingPoint num="16" id="528" />
-<TGConnectingPoint num="17" id="529" />
-<TGConnectingPoint num="18" id="530" />
-<TGConnectingPoint num="19" id="531" />
-<TGConnectingPoint num="20" id="532" />
-<TGConnectingPoint num="21" id="533" />
-<TGConnectingPoint num="22" id="534" />
-<TGConnectingPoint num="23" id="535" />
-<TGConnectingPoint num="24" id="536" />
-<TGConnectingPoint num="25" id="537" />
-<TGConnectingPoint num="26" id="538" />
-<TGConnectingPoint num="27" id="539" />
-<TGConnectingPoint num="28" id="540" />
-<TGConnectingPoint num="29" id="541" />
-<TGConnectingPoint num="30" id="542" />
-<extraparam>
-<textline data="The drone shall be able to transfer" />
-<textline data="images stored when it has landed." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="3" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5200" id="575" >
-<cdparam x="159" y="280" />
-<sizeparam width="201" height="81" minWidth="1" minHeight="30" maxWidth="1000" maxHeight="2000" minDesiredWidth="76" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Requirement" value="FlightReq" />
-<TGConnectingPoint num="0" id="544" />
-<TGConnectingPoint num="1" id="545" />
-<TGConnectingPoint num="2" id="546" />
-<TGConnectingPoint num="3" id="547" />
-<TGConnectingPoint num="4" id="548" />
-<TGConnectingPoint num="5" id="549" />
-<TGConnectingPoint num="6" id="550" />
-<TGConnectingPoint num="7" id="551" />
-<TGConnectingPoint num="8" id="552" />
-<TGConnectingPoint num="9" id="553" />
-<TGConnectingPoint num="10" id="554" />
-<TGConnectingPoint num="11" id="555" />
-<TGConnectingPoint num="12" id="556" />
-<TGConnectingPoint num="13" id="557" />
-<TGConnectingPoint num="14" id="558" />
-<TGConnectingPoint num="15" id="559" />
-<TGConnectingPoint num="16" id="560" />
-<TGConnectingPoint num="17" id="561" />
-<TGConnectingPoint num="18" id="562" />
-<TGConnectingPoint num="19" id="563" />
-<TGConnectingPoint num="20" id="564" />
-<TGConnectingPoint num="21" id="565" />
-<TGConnectingPoint num="22" id="566" />
-<TGConnectingPoint num="23" id="567" />
-<TGConnectingPoint num="24" id="568" />
-<TGConnectingPoint num="25" id="569" />
-<TGConnectingPoint num="26" id="570" />
-<TGConnectingPoint num="27" id="571" />
-<TGConnectingPoint num="28" id="572" />
-<TGConnectingPoint num="29" id="573" />
-<TGConnectingPoint num="30" id="574" />
-<extraparam>
-<textline data="The drone shall go by itself" />
-<textline data="to any coordinates given by" />
-<textline data="the ground pilot." />
-<kind data="Functional" />
-<criticality data="Low" />
-<reqType data="0" />
-<id data="1" />
-<satisfied data="false" />
-<verified data="false" />
-<attackTreeNode data="" />
-<violatedAction data="" />
-<referenceElements data="" />
-</extraparam>
-</COMPONENT>
-
-<CONNECTOR type="5205" id="577" >
-<cdparam x="778" y="67" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="576" />
-<P1  x="778" y="58" id="225" />
-<P2  x="621" y="57" id="196" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5202" id="579" >
-<cdparam x="903" y="305" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="578" />
-<P1  x="935" y="287" id="423" />
-<P2  x="936" y="235" id="74" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5205" id="581" >
-<cdparam x="552" y="297" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="580" />
-<P1  x="473" y="279" id="487" />
-<P2  x="502" y="250" id="106" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5205" id="583" >
-<cdparam x="214" y="288" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="582" />
-<P1  x="259" y="280" id="551" />
-<P2  x="446" y="250" id="105" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5205" id="585" >
-<cdparam x="727" y="141" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="584" />
-<P1  x="936" y="148" id="71" />
-<P2  x="621" y="79" id="197" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5205" id="587" >
-<cdparam x="504" y="141" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="586" />
-<P1  x="502" y="141" id="103" />
-<P2  x="502" y="102" id="202" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5205" id="589" >
-<cdparam x="331" y="129" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="588" />
-<P1  x="163" y="140" id="134" />
-<P2  x="384" y="79" id="194" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5205" id="591" >
-<cdparam x="150" y="129" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="590" />
-<P1  x="289" y="53" id="164" />
-<P2  x="384" y="57" id="193" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5202" id="593" >
-<cdparam x="555" y="774" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="592" />
-<P1  x="471" y="657" id="263" />
-<P2  x="473" y="528" id="458" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5206" id="595" >
-<cdparam x="1247" y="612" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;refine&gt;&gt;" />
-<TGConnectingPoint num="0" id="594" />
-<P1  x="937" y="457" id="359" />
-<P2  x="935" y="376" id="426" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5206" id="597" >
-<cdparam x="992" y="612" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;refine&gt;&gt;" />
-<TGConnectingPoint num="0" id="596" />
-<P1  x="1218" y="251" id="391" />
-<P2  x="1036" y="191" id="68" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5206" id="599" >
-<cdparam x="595" y="601" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;refine&gt;&gt;" />
-<TGConnectingPoint num="0" id="598" />
-<P1  x="473" y="446" id="455" />
-<P2  x="473" y="365" id="490" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5206" id="601" >
-<cdparam x="128" y="425" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;refine&gt;&gt;" />
-<TGConnectingPoint num="0" id="600" />
-<P1  x="103" y="385" id="327" />
-<P2  x="79" y="97" id="169" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5206" id="603" >
-<cdparam x="394" y="424" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Requirement to Requirement" value="&lt;&lt;refine&gt;&gt;" />
-<TGConnectingPoint num="0" id="602" />
-<P1  x="194" y="532" id="295" />
-<P2  x="309" y="361" id="555" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</AvatarRDPanel>
-
-</Modeling>
-
-
-
-
-<Modeling type="Analysis" nameTab="Analysis" >
-<InteractionOverviewDiagramPanel name="Interaction Overview Diagram" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="502" id="605" >
-<cdparam x="228" y="49" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="604" />
-</COMPONENT>
-
-
-</InteractionOverviewDiagramPanel>
-
-<UseCaseDiagramPanel name="Use Case Diagram" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="110" id="757" >
-<cdparam x="583" y="313" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Use case to actor" value="null" />
-<P1  x="583" y="313" id="654" />
-<P2  x="816" y="389" id="727" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="700" id="724" >
-<cdparam x="816" y="354" />
-<sizeparam width="30" height="70" minWidth="10" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="actor" value="CompactFlashMemory" />
-<TGConnectingPoint num="0" id="725" />
-<TGConnectingPoint num="1" id="726" />
-<TGConnectingPoint num="2" id="727" />
-<TGConnectingPoint num="3" id="728" />
-<TGConnectingPoint num="4" id="729" />
-<TGConnectingPoint num="5" id="730" />
-<TGConnectingPoint num="6" id="731" />
-<TGConnectingPoint num="7" id="732" />
-<TGConnectingPoint num="8" id="733" />
-<TGConnectingPoint num="9" id="734" />
-<TGConnectingPoint num="10" id="735" />
-<TGConnectingPoint num="11" id="736" />
-<TGConnectingPoint num="12" id="737" />
-<TGConnectingPoint num="13" id="738" />
-<TGConnectingPoint num="14" id="739" />
-<TGConnectingPoint num="15" id="740" />
-<TGConnectingPoint num="16" id="741" />
-<TGConnectingPoint num="17" id="742" />
-<TGConnectingPoint num="18" id="743" />
-<TGConnectingPoint num="19" id="744" />
-<TGConnectingPoint num="20" id="745" />
-<TGConnectingPoint num="21" id="746" />
-<TGConnectingPoint num="22" id="747" />
-<TGConnectingPoint num="23" id="748" />
-<TGConnectingPoint num="24" id="749" />
-<TGConnectingPoint num="25" id="750" />
-<TGConnectingPoint num="26" id="751" />
-<TGConnectingPoint num="27" id="752" />
-<TGConnectingPoint num="28" id="753" />
-<TGConnectingPoint num="29" id="754" />
-<TGConnectingPoint num="30" id="755" />
-<TGConnectingPoint num="31" id="756" />
-</COMPONENT>
-
-<COMPONENT type="301" id="614" >
-<cdparam x="15" y="19" />
-<sizeparam width="341" height="95" minWidth="50" minHeight="20" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="Complete this diagram with other actors and use cases.
-In particular, what is related to drone movements is not
-given in this first draft.
-
-Then, make scenarios for use cases
-" />
-<TGConnectingPoint num="0" id="606" />
-<TGConnectingPoint num="1" id="607" />
-<TGConnectingPoint num="2" id="608" />
-<TGConnectingPoint num="3" id="609" />
-<TGConnectingPoint num="4" id="610" />
-<TGConnectingPoint num="5" id="611" />
-<TGConnectingPoint num="6" id="612" />
-<TGConnectingPoint num="7" id="613" />
-<extraparam>
-<Line value="Complete this diagram with other actors and use cases." />
-<Line value="In particular, what is related to drone movements is not" />
-<Line value="given in this first draft." />
-<Line value="" />
-<Line value="Then, make scenarios for use cases" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="700" id="647" >
-<cdparam x="806" y="202" />
-<sizeparam width="30" height="70" minWidth="10" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="actor" value="Camera" />
-<TGConnectingPoint num="0" id="615" />
-<TGConnectingPoint num="1" id="616" />
-<TGConnectingPoint num="2" id="617" />
-<TGConnectingPoint num="3" id="618" />
-<TGConnectingPoint num="4" id="619" />
-<TGConnectingPoint num="5" id="620" />
-<TGConnectingPoint num="6" id="621" />
-<TGConnectingPoint num="7" id="622" />
-<TGConnectingPoint num="8" id="623" />
-<TGConnectingPoint num="9" id="624" />
-<TGConnectingPoint num="10" id="625" />
-<TGConnectingPoint num="11" id="626" />
-<TGConnectingPoint num="12" id="627" />
-<TGConnectingPoint num="13" id="628" />
-<TGConnectingPoint num="14" id="629" />
-<TGConnectingPoint num="15" id="630" />
-<TGConnectingPoint num="16" id="631" />
-<TGConnectingPoint num="17" id="632" />
-<TGConnectingPoint num="18" id="633" />
-<TGConnectingPoint num="19" id="634" />
-<TGConnectingPoint num="20" id="635" />
-<TGConnectingPoint num="21" id="636" />
-<TGConnectingPoint num="22" id="637" />
-<TGConnectingPoint num="23" id="638" />
-<TGConnectingPoint num="24" id="639" />
-<TGConnectingPoint num="25" id="640" />
-<TGConnectingPoint num="26" id="641" />
-<TGConnectingPoint num="27" id="642" />
-<TGConnectingPoint num="28" id="643" />
-<TGConnectingPoint num="29" id="644" />
-<TGConnectingPoint num="30" id="645" />
-<TGConnectingPoint num="31" id="646" />
-</COMPONENT>
-
-<COMPONENT type="701" id="672" >
-<cdparam x="501" y="293" />
-<sizeparam width="82" height="40" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Use case" value="Take Picture" />
-<TGConnectingPoint num="0" id="648" />
-<TGConnectingPoint num="1" id="649" />
-<TGConnectingPoint num="2" id="650" />
-<TGConnectingPoint num="3" id="651" />
-<TGConnectingPoint num="4" id="652" />
-<TGConnectingPoint num="5" id="653" />
-<TGConnectingPoint num="6" id="654" />
-<TGConnectingPoint num="7" id="655" />
-<TGConnectingPoint num="8" id="656" />
-<TGConnectingPoint num="9" id="657" />
-<TGConnectingPoint num="10" id="658" />
-<TGConnectingPoint num="11" id="659" />
-<TGConnectingPoint num="12" id="660" />
-<TGConnectingPoint num="13" id="661" />
-<TGConnectingPoint num="14" id="662" />
-<TGConnectingPoint num="15" id="663" />
-<TGConnectingPoint num="16" id="664" />
-<TGConnectingPoint num="17" id="665" />
-<TGConnectingPoint num="18" id="666" />
-<TGConnectingPoint num="19" id="667" />
-<TGConnectingPoint num="20" id="668" />
-<TGConnectingPoint num="21" id="669" />
-<TGConnectingPoint num="22" id="670" />
-<TGConnectingPoint num="23" id="671" />
-<extraparam>
-<info extension="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="700" id="705" >
-<cdparam x="287" y="278" />
-<sizeparam width="30" height="70" minWidth="10" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="actor" value="Human" />
-<TGConnectingPoint num="0" id="673" />
-<TGConnectingPoint num="1" id="674" />
-<TGConnectingPoint num="2" id="675" />
-<TGConnectingPoint num="3" id="676" />
-<TGConnectingPoint num="4" id="677" />
-<TGConnectingPoint num="5" id="678" />
-<TGConnectingPoint num="6" id="679" />
-<TGConnectingPoint num="7" id="680" />
-<TGConnectingPoint num="8" id="681" />
-<TGConnectingPoint num="9" id="682" />
-<TGConnectingPoint num="10" id="683" />
-<TGConnectingPoint num="11" id="684" />
-<TGConnectingPoint num="12" id="685" />
-<TGConnectingPoint num="13" id="686" />
-<TGConnectingPoint num="14" id="687" />
-<TGConnectingPoint num="15" id="688" />
-<TGConnectingPoint num="16" id="689" />
-<TGConnectingPoint num="17" id="690" />
-<TGConnectingPoint num="18" id="691" />
-<TGConnectingPoint num="19" id="692" />
-<TGConnectingPoint num="20" id="693" />
-<TGConnectingPoint num="21" id="694" />
-<TGConnectingPoint num="22" id="695" />
-<TGConnectingPoint num="23" id="696" />
-<TGConnectingPoint num="24" id="697" />
-<TGConnectingPoint num="25" id="698" />
-<TGConnectingPoint num="26" id="699" />
-<TGConnectingPoint num="27" id="700" />
-<TGConnectingPoint num="28" id="701" />
-<TGConnectingPoint num="29" id="702" />
-<TGConnectingPoint num="30" id="703" />
-<TGConnectingPoint num="31" id="704" />
-</COMPONENT>
-
-<COMPONENT type="702" id="714" >
-<cdparam x="366" y="193" />
-<sizeparam width="374" height="250" minWidth="100" minHeight="100" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="border" value="SoftwareOfTheDrone" />
-<TGConnectingPoint num="0" id="706" />
-<TGConnectingPoint num="1" id="707" />
-<TGConnectingPoint num="2" id="708" />
-<TGConnectingPoint num="3" id="709" />
-<TGConnectingPoint num="4" id="710" />
-<TGConnectingPoint num="5" id="711" />
-<TGConnectingPoint num="6" id="712" />
-<TGConnectingPoint num="7" id="713" />
-</COMPONENT>
-
-<CONNECTOR type="110" id="715" >
-<cdparam x="583" y="313" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Use case to actor" value="null" />
-<P1  x="583" y="313" id="650" />
-<P2  x="806" y="237" id="617" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="110" id="716" >
-<cdparam x="271" y="313" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from actor to Use case" value="null" />
-<P1  x="317" y="313" id="682" />
-<P2  x="501" y="313" id="649" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</UseCaseDiagramPanel>
-
-</Modeling>
-
-
-
-
-<Modeling type="AVATAR Design" nameTab="Design" >
-<AVATARBlockDiagramPanel name="AVATAR Block Diagram" minX="10" maxX="1400" minY="10" maxY="900" >
-<MainCode value="void __user_init() {"/>
-<MainCode value="}"/>
-
-
-</AVATARBlockDiagramPanel>
-
-</Modeling>
-
-
-
-
-</TURTLEGMODELING>
\ No newline at end of file
diff --git a/modeling/assumptions-drone/mad-drone-03bis.xml b/modeling/assumptions-drone/mad-drone-03bis.xml
index 62b192498a..2ef9d59562 100644
--- a/modeling/assumptions-drone/mad-drone-03bis.xml
+++ b/modeling/assumptions-drone/mad-drone-03bis.xml
@@ -3,37 +3,10 @@
 <TURTLEGMODELING version="0.98-beta3">
 
 <Modeling type="Avatar MAD" nameTab="MADs" >
-<AvatarMADPanel name="Modeling Assumptions Diagram" minX="10" maxX="1900" minY="10" maxY="900" zoom="1.0" >
-<CONNECTOR type="5257" id="6444" >
-<cdparam x="444" y="260" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<TGConnectingPoint num="0" id="6445" />
-<P1  x="443" y="247" id="120" />
-<P2  x="443" y="200" id="67" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5257" id="6442" >
-<cdparam x="694" y="483" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<TGConnectingPoint num="0" id="6443" />
-<P1  x="589" y="458" id="9" />
-<P2  x="563" y="351" id="96" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5257" id="6440" >
-<cdparam x="523" y="421" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<TGConnectingPoint num="0" id="6441" />
-<P1  x="439" y="405" id="36" />
-<P2  x="491" y="351" id="95" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
+<AvatarMADPanel name="Modeling Assumptions Diagram 2" minX="10" maxX="1900" minY="10" maxY="900" zoom="1.0" >
 <COMPONENT type="5252" id="28" >
 <cdparam x="477" y="458" />
-<sizeparam width="150" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="104" minDesiredHeight="0" />
+<sizeparam width="170" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="104" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="900" />
 <infoparam name="AvatarElementReference" value="Block_Camera" />
@@ -68,7 +41,7 @@
 
 <COMPONENT type="5252" id="56" >
 <cdparam x="309" y="405" />
-<sizeparam width="261" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="223" minDesiredHeight="0" />
+<sizeparam width="291" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="223" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="900" />
 <infoparam name="AvatarElementReference" value="Block_ThreeDRecognitionAlgorithm" />
@@ -173,7 +146,7 @@
 
 <COMPONENT type="5252" id="140" >
 <cdparam x="332" y="247" />
-<sizeparam width="222" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="203" minDesiredHeight="0" />
+<sizeparam width="264" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="203" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="900" />
 <infoparam name="AvatarElementReference" value="Block_LineRecognitionAlgorithm" />
@@ -404,65 +377,92 @@
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="5255" id="270" >
+<CONNECTOR type="5257" id="270" >
+<cdparam x="444" y="260" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<TGConnectingPoint num="0" id="269" />
+<P1  x="464" y="247" id="120" />
+<P2  x="443" y="200" id="67" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5257" id="272" >
+<cdparam x="694" y="483" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<TGConnectingPoint num="0" id="271" />
+<P1  x="604" y="458" id="9" />
+<P2  x="563" y="351" id="96" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5257" id="274" >
+<cdparam x="523" y="421" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<TGConnectingPoint num="0" id="273" />
+<P1  x="454" y="405" id="36" />
+<P2  x="491" y="351" id="95" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5255" id="276" >
 <cdparam x="231" y="399" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="269" />
+<TGConnectingPoint num="0" id="275" />
 <P1  x="230" y="393" id="156" />
 <P2  x="347" y="343" id="87" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5255" id="272" >
+<CONNECTOR type="5255" id="278" >
 <cdparam x="220" y="240" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="271" />
+<TGConnectingPoint num="0" id="277" />
 <P1  x="220" y="192" id="220" />
 <P2  x="321" y="192" id="59" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5253" id="274" >
+<CONNECTOR type="5253" id="280" >
 <cdparam x="318" y="78" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Assumption to Assumption" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="273" />
+<TGConnectingPoint num="0" id="279" />
 <P1  x="317" y="69" id="174" />
 <P2  x="228" y="69" id="241" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5255" id="276" >
+<CONNECTOR type="5255" id="282" >
 <cdparam x="444" y="214" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from AvatarDiagramReference to AvatarElementReference" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="275" />
+<TGConnectingPoint num="0" id="281" />
 <P1  x="220" y="262" id="222" />
 <P2  x="332" y="262" id="114" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5255" id="278" >
+<CONNECTOR type="5255" id="284" >
 <cdparam x="494" y="726" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Assumption to AvatarElementReference" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="277" />
+<TGConnectingPoint num="0" id="283" />
 <P1  x="230" y="468" id="158" />
 <P2  x="477" y="473" id="2" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5255" id="280" >
+<CONNECTOR type="5255" id="286" >
 <cdparam x="494" y="726" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Assumption to AvatarElementReference" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="279" />
+<TGConnectingPoint num="0" id="285" />
 <P1  x="230" y="431" id="157" />
 <P2  x="309" y="420" id="30" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5254" id="282" >
+<CONNECTOR type="5254" id="288" >
 <cdparam x="294" y="501" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Assumption to Assumption" value="&lt;&lt;versioning&gt;&gt;" />
-<TGConnectingPoint num="0" id="281" />
+<TGConnectingPoint num="0" id="287" />
 <P1  x="128" y="297" id="215" />
 <P2  x="128" y="356" id="148" />
 <AutomaticDrawing  data="true" />
@@ -471,11 +471,11 @@
 <newVersion data="2" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5253" id="284" >
+<CONNECTOR type="5253" id="290" >
 <cdparam x="294" y="381" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Assumption to Assumption" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="283" />
+<TGConnectingPoint num="0" id="289" />
 <P1  x="128" y="158" id="212" />
 <P2  x="128" y="125" id="247" />
 <AutomaticDrawing  data="true" />
@@ -483,379 +483,114 @@
 
 </AvatarMADPanel>
 
-<AvatarMADPanel name="Modeling Assumptions Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
-<CONNECTOR type="5255" id="6649" >
-<cdparam x="474" y="313" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="6650" />
-<P1  x="474" y="313" id="386" />
-<P2  x="633" y="312" id="342" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5255" id="6647" >
-<cdparam x="474" y="313" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="6648" />
-<P1  x="474" y="284" id="385" />
-<P2  x="802" y="202" id="322" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5255" id="6645" >
-<cdparam x="474" y="284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="6646" />
-<P1  x="474" y="254" id="384" />
-<P2  x="591" y="203" id="294" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5257" id="6643" >
-<cdparam x="843" y="202" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<TGConnectingPoint num="0" id="6644" />
-<P1  x="843" y="202" id="323" />
-<P2  x="783" y="297" id="349" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5257" id="6641" >
-<cdparam x="633" y="203" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<TGConnectingPoint num="0" id="6642" />
-<P1  x="633" y="203" id="295" />
-<P2  x="683" y="297" id="347" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="5252" id="312" >
-<cdparam x="549" y="173" />
-<sizeparam width="169" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="142" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="AvatarElementReference" value="Block_MainController" />
-<TGConnectingPoint num="0" id="285" />
-<TGConnectingPoint num="1" id="286" />
-<TGConnectingPoint num="2" id="287" />
-<TGConnectingPoint num="3" id="288" />
-<TGConnectingPoint num="4" id="289" />
-<TGConnectingPoint num="5" id="290" />
-<TGConnectingPoint num="6" id="291" />
-<TGConnectingPoint num="7" id="292" />
-<TGConnectingPoint num="8" id="293" />
-<TGConnectingPoint num="9" id="294" />
-<TGConnectingPoint num="10" id="295" />
-<TGConnectingPoint num="11" id="296" />
-<TGConnectingPoint num="12" id="297" />
-<TGConnectingPoint num="13" id="298" />
-<TGConnectingPoint num="14" id="299" />
-<TGConnectingPoint num="15" id="300" />
-<TGConnectingPoint num="16" id="301" />
-<TGConnectingPoint num="17" id="302" />
-<TGConnectingPoint num="18" id="303" />
-<TGConnectingPoint num="19" id="304" />
-<TGConnectingPoint num="20" id="305" />
-<TGConnectingPoint num="21" id="306" />
-<TGConnectingPoint num="22" id="307" />
-<TGConnectingPoint num="23" id="308" />
-<TGConnectingPoint num="24" id="309" />
-<TGConnectingPoint num="25" id="310" />
-<TGConnectingPoint num="26" id="311" />
-</COMPONENT>
-
-<COMPONENT type="5252" id="340" >
-<cdparam x="762" y="172" />
-<sizeparam width="163" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="129" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="AvatarElementReference" value="Block_RemoteUSer" />
-<TGConnectingPoint num="0" id="313" />
-<TGConnectingPoint num="1" id="314" />
-<TGConnectingPoint num="2" id="315" />
-<TGConnectingPoint num="3" id="316" />
-<TGConnectingPoint num="4" id="317" />
-<TGConnectingPoint num="5" id="318" />
-<TGConnectingPoint num="6" id="319" />
-<TGConnectingPoint num="7" id="320" />
-<TGConnectingPoint num="8" id="321" />
-<TGConnectingPoint num="9" id="322" />
-<TGConnectingPoint num="10" id="323" />
-<TGConnectingPoint num="11" id="324" />
-<TGConnectingPoint num="12" id="325" />
-<TGConnectingPoint num="13" id="326" />
-<TGConnectingPoint num="14" id="327" />
-<TGConnectingPoint num="15" id="328" />
-<TGConnectingPoint num="16" id="329" />
-<TGConnectingPoint num="17" id="330" />
-<TGConnectingPoint num="18" id="331" />
-<TGConnectingPoint num="19" id="332" />
-<TGConnectingPoint num="20" id="333" />
-<TGConnectingPoint num="21" id="334" />
-<TGConnectingPoint num="22" id="335" />
-<TGConnectingPoint num="23" id="336" />
-<TGConnectingPoint num="24" id="337" />
-<TGConnectingPoint num="25" id="338" />
-<TGConnectingPoint num="26" id="339" />
-</COMPONENT>
-
-<COMPONENT type="5251" id="368" >
-<cdparam x="633" y="297" />
-<sizeparam width="201" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="105" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="AvatarDiagramReference" value="DroneDesign3" />
-<TGConnectingPoint num="0" id="341" />
-<TGConnectingPoint num="1" id="342" />
-<TGConnectingPoint num="2" id="343" />
-<TGConnectingPoint num="3" id="344" />
-<TGConnectingPoint num="4" id="345" />
-<TGConnectingPoint num="5" id="346" />
-<TGConnectingPoint num="6" id="347" />
-<TGConnectingPoint num="7" id="348" />
-<TGConnectingPoint num="8" id="349" />
-<TGConnectingPoint num="9" id="350" />
-<TGConnectingPoint num="10" id="351" />
-<TGConnectingPoint num="11" id="352" />
-<TGConnectingPoint num="12" id="353" />
-<TGConnectingPoint num="13" id="354" />
-<TGConnectingPoint num="14" id="355" />
-<TGConnectingPoint num="15" id="356" />
-<TGConnectingPoint num="16" id="357" />
-<TGConnectingPoint num="17" id="358" />
-<TGConnectingPoint num="18" id="359" />
-<TGConnectingPoint num="19" id="360" />
-<TGConnectingPoint num="20" id="361" />
-<TGConnectingPoint num="21" id="362" />
-<TGConnectingPoint num="22" id="363" />
-<TGConnectingPoint num="23" id="364" />
-<TGConnectingPoint num="24" id="365" />
-<TGConnectingPoint num="25" id="366" />
-<TGConnectingPoint num="26" id="367" />
-</COMPONENT>
-
-<COMPONENT type="5250" id="400" >
-<cdparam x="283" y="225" />
-<sizeparam width="191" height="118" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="120" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Assumption" value="FollowingPersons" />
-<TGConnectingPoint num="0" id="369" />
-<TGConnectingPoint num="1" id="370" />
-<TGConnectingPoint num="2" id="371" />
-<TGConnectingPoint num="3" id="372" />
-<TGConnectingPoint num="4" id="373" />
-<TGConnectingPoint num="5" id="374" />
-<TGConnectingPoint num="6" id="375" />
-<TGConnectingPoint num="7" id="376" />
-<TGConnectingPoint num="8" id="377" />
-<TGConnectingPoint num="9" id="378" />
-<TGConnectingPoint num="10" id="379" />
-<TGConnectingPoint num="11" id="380" />
-<TGConnectingPoint num="12" id="381" />
-<TGConnectingPoint num="13" id="382" />
-<TGConnectingPoint num="14" id="383" />
-<TGConnectingPoint num="15" id="384" />
-<TGConnectingPoint num="16" id="385" />
-<TGConnectingPoint num="17" id="386" />
-<TGConnectingPoint num="18" id="387" />
-<TGConnectingPoint num="19" id="388" />
-<TGConnectingPoint num="20" id="389" />
-<TGConnectingPoint num="21" id="390" />
-<TGConnectingPoint num="22" id="391" />
-<TGConnectingPoint num="23" id="392" />
-<TGConnectingPoint num="24" id="393" />
-<TGConnectingPoint num="25" id="394" />
-<TGConnectingPoint num="26" id="395" />
-<TGConnectingPoint num="27" id="396" />
-<TGConnectingPoint num="28" id="397" />
-<TGConnectingPoint num="29" id="398" />
-<TGConnectingPoint num="30" id="399" />
-<extraparam>
-<textline data="The drone can follow " />
-<textline data="a person when it needs" />
-<textline data="to go through an " />
-<textline data="obstacle, e.g., a door" />
-<type data="0" />
-<durability data="1" />
-<source data="3" />
-<status data="1" />
-<limitation data="3" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5250" id="432" >
-<cdparam x="286" y="56" />
-<sizeparam width="188" height="120" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="67" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Assumption" value="NoDoor" />
-<TGConnectingPoint num="0" id="401" />
-<TGConnectingPoint num="1" id="402" />
-<TGConnectingPoint num="2" id="403" />
-<TGConnectingPoint num="3" id="404" />
-<TGConnectingPoint num="4" id="405" />
-<TGConnectingPoint num="5" id="406" />
-<TGConnectingPoint num="6" id="407" />
-<TGConnectingPoint num="7" id="408" />
-<TGConnectingPoint num="8" id="409" />
-<TGConnectingPoint num="9" id="410" />
-<TGConnectingPoint num="10" id="411" />
-<TGConnectingPoint num="11" id="412" />
-<TGConnectingPoint num="12" id="413" />
-<TGConnectingPoint num="13" id="414" />
-<TGConnectingPoint num="14" id="415" />
-<TGConnectingPoint num="15" id="416" />
-<TGConnectingPoint num="16" id="417" />
-<TGConnectingPoint num="17" id="418" />
-<TGConnectingPoint num="18" id="419" />
-<TGConnectingPoint num="19" id="420" />
-<TGConnectingPoint num="20" id="421" />
-<TGConnectingPoint num="21" id="422" />
-<TGConnectingPoint num="22" id="423" />
-<TGConnectingPoint num="23" id="424" />
-<TGConnectingPoint num="24" id="425" />
-<TGConnectingPoint num="25" id="426" />
-<TGConnectingPoint num="26" id="427" />
-<TGConnectingPoint num="27" id="428" />
-<TGConnectingPoint num="28" id="429" />
-<TGConnectingPoint num="29" id="430" />
-<TGConnectingPoint num="30" id="431" />
-<extraparam>
-<textline data="The drone cannot " />
-<textline data="go through doors " />
-<type data="0" />
-<durability data="2" />
-<source data="3" />
-<status data="1" />
-<limitation data="3" />
-</extraparam>
-</COMPONENT>
-
-<CONNECTOR type="5254" id="440" >
-<cdparam x="449" y="192" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Assumption to Assumption" value="&lt;&lt;versioning&gt;&gt;" />
-<TGConnectingPoint num="0" id="439" />
-<P1  x="380" y="176" id="411" />
-<P2  x="378" y="225" id="376" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<oldVersion data="2" />
-<newVersion data="3" />
-</extraparam>
-</CONNECTOR>
-
-</AvatarMADPanel>
-
-<AvatarMADPanel name="Modeling Assumptions Diagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
-<COMPONENT type="5251" id="85" >
+<AvatarMADPanel name="Modeling Assumptions Diagram 1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
+<COMPONENT type="5251" id="478" >
 <cdparam x="357" y="193" />
 <sizeparam width="244" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="105" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="AvatarDiagramReference" value="DroneDesign1" />
-<TGConnectingPoint num="0" id="58" />
-<TGConnectingPoint num="1" id="59" />
-<TGConnectingPoint num="2" id="60" />
-<TGConnectingPoint num="3" id="61" />
-<TGConnectingPoint num="4" id="62" />
-<TGConnectingPoint num="5" id="63" />
-<TGConnectingPoint num="6" id="64" />
-<TGConnectingPoint num="7" id="65" />
-<TGConnectingPoint num="8" id="66" />
-<TGConnectingPoint num="9" id="67" />
-<TGConnectingPoint num="10" id="68" />
-<TGConnectingPoint num="11" id="69" />
-<TGConnectingPoint num="12" id="70" />
-<TGConnectingPoint num="13" id="71" />
-<TGConnectingPoint num="14" id="72" />
-<TGConnectingPoint num="15" id="73" />
-<TGConnectingPoint num="16" id="74" />
-<TGConnectingPoint num="17" id="75" />
-<TGConnectingPoint num="18" id="76" />
-<TGConnectingPoint num="19" id="77" />
-<TGConnectingPoint num="20" id="78" />
-<TGConnectingPoint num="21" id="79" />
-<TGConnectingPoint num="22" id="80" />
-<TGConnectingPoint num="23" id="81" />
-<TGConnectingPoint num="24" id="82" />
-<TGConnectingPoint num="25" id="83" />
-<TGConnectingPoint num="26" id="84" />
-</COMPONENT>
-
-<COMPONENT type="5252" id="141" >
+<TGConnectingPoint num="0" id="451" />
+<TGConnectingPoint num="1" id="452" />
+<TGConnectingPoint num="2" id="453" />
+<TGConnectingPoint num="3" id="454" />
+<TGConnectingPoint num="4" id="455" />
+<TGConnectingPoint num="5" id="456" />
+<TGConnectingPoint num="6" id="457" />
+<TGConnectingPoint num="7" id="458" />
+<TGConnectingPoint num="8" id="459" />
+<TGConnectingPoint num="9" id="460" />
+<TGConnectingPoint num="10" id="461" />
+<TGConnectingPoint num="11" id="462" />
+<TGConnectingPoint num="12" id="463" />
+<TGConnectingPoint num="13" id="464" />
+<TGConnectingPoint num="14" id="465" />
+<TGConnectingPoint num="15" id="466" />
+<TGConnectingPoint num="16" id="467" />
+<TGConnectingPoint num="17" id="468" />
+<TGConnectingPoint num="18" id="469" />
+<TGConnectingPoint num="19" id="470" />
+<TGConnectingPoint num="20" id="471" />
+<TGConnectingPoint num="21" id="472" />
+<TGConnectingPoint num="22" id="473" />
+<TGConnectingPoint num="23" id="474" />
+<TGConnectingPoint num="24" id="475" />
+<TGConnectingPoint num="25" id="476" />
+<TGConnectingPoint num="26" id="477" />
+</COMPONENT>
+
+<COMPONENT type="5252" id="506" >
 <cdparam x="368" y="271" />
-<sizeparam width="222" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="203" minDesiredHeight="0" />
+<sizeparam width="271" height="41" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="203" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="AvatarElementReference" value="Block_LineRecognitionAlgorithm" />
-<TGConnectingPoint num="0" id="114" />
-<TGConnectingPoint num="1" id="115" />
-<TGConnectingPoint num="2" id="116" />
-<TGConnectingPoint num="3" id="117" />
-<TGConnectingPoint num="4" id="118" />
-<TGConnectingPoint num="5" id="119" />
-<TGConnectingPoint num="6" id="120" />
-<TGConnectingPoint num="7" id="121" />
-<TGConnectingPoint num="8" id="122" />
-<TGConnectingPoint num="9" id="123" />
-<TGConnectingPoint num="10" id="124" />
-<TGConnectingPoint num="11" id="125" />
-<TGConnectingPoint num="12" id="126" />
-<TGConnectingPoint num="13" id="127" />
-<TGConnectingPoint num="14" id="128" />
-<TGConnectingPoint num="15" id="129" />
-<TGConnectingPoint num="16" id="130" />
-<TGConnectingPoint num="17" id="131" />
-<TGConnectingPoint num="18" id="132" />
-<TGConnectingPoint num="19" id="133" />
-<TGConnectingPoint num="20" id="134" />
-<TGConnectingPoint num="21" id="135" />
-<TGConnectingPoint num="22" id="136" />
-<TGConnectingPoint num="23" id="137" />
-<TGConnectingPoint num="24" id="138" />
-<TGConnectingPoint num="25" id="139" />
-<TGConnectingPoint num="26" id="140" />
-</COMPONENT>
-
-<COMPONENT type="5250" id="205" >
+<TGConnectingPoint num="0" id="479" />
+<TGConnectingPoint num="1" id="480" />
+<TGConnectingPoint num="2" id="481" />
+<TGConnectingPoint num="3" id="482" />
+<TGConnectingPoint num="4" id="483" />
+<TGConnectingPoint num="5" id="484" />
+<TGConnectingPoint num="6" id="485" />
+<TGConnectingPoint num="7" id="486" />
+<TGConnectingPoint num="8" id="487" />
+<TGConnectingPoint num="9" id="488" />
+<TGConnectingPoint num="10" id="489" />
+<TGConnectingPoint num="11" id="490" />
+<TGConnectingPoint num="12" id="491" />
+<TGConnectingPoint num="13" id="492" />
+<TGConnectingPoint num="14" id="493" />
+<TGConnectingPoint num="15" id="494" />
+<TGConnectingPoint num="16" id="495" />
+<TGConnectingPoint num="17" id="496" />
+<TGConnectingPoint num="18" id="497" />
+<TGConnectingPoint num="19" id="498" />
+<TGConnectingPoint num="20" id="499" />
+<TGConnectingPoint num="21" id="500" />
+<TGConnectingPoint num="22" id="501" />
+<TGConnectingPoint num="23" id="502" />
+<TGConnectingPoint num="24" id="503" />
+<TGConnectingPoint num="25" id="504" />
+<TGConnectingPoint num="26" id="505" />
+</COMPONENT>
+
+<COMPONENT type="5250" id="538" >
 <cdparam x="353" y="33" />
-<sizeparam width="186" height="119" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="101" minDesiredHeight="0" />
+<sizeparam width="259" height="119" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="101" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Assumption" value="CrossingSigns" />
-<TGConnectingPoint num="0" id="174" />
-<TGConnectingPoint num="1" id="175" />
-<TGConnectingPoint num="2" id="176" />
-<TGConnectingPoint num="3" id="177" />
-<TGConnectingPoint num="4" id="178" />
-<TGConnectingPoint num="5" id="179" />
-<TGConnectingPoint num="6" id="180" />
-<TGConnectingPoint num="7" id="181" />
-<TGConnectingPoint num="8" id="182" />
-<TGConnectingPoint num="9" id="183" />
-<TGConnectingPoint num="10" id="184" />
-<TGConnectingPoint num="11" id="185" />
-<TGConnectingPoint num="12" id="186" />
-<TGConnectingPoint num="13" id="187" />
-<TGConnectingPoint num="14" id="188" />
-<TGConnectingPoint num="15" id="189" />
-<TGConnectingPoint num="16" id="190" />
-<TGConnectingPoint num="17" id="191" />
-<TGConnectingPoint num="18" id="192" />
-<TGConnectingPoint num="19" id="193" />
-<TGConnectingPoint num="20" id="194" />
-<TGConnectingPoint num="21" id="195" />
-<TGConnectingPoint num="22" id="196" />
-<TGConnectingPoint num="23" id="197" />
-<TGConnectingPoint num="24" id="198" />
-<TGConnectingPoint num="25" id="199" />
-<TGConnectingPoint num="26" id="200" />
-<TGConnectingPoint num="27" id="201" />
-<TGConnectingPoint num="28" id="202" />
-<TGConnectingPoint num="29" id="203" />
-<TGConnectingPoint num="30" id="204" />
+<TGConnectingPoint num="0" id="507" />
+<TGConnectingPoint num="1" id="508" />
+<TGConnectingPoint num="2" id="509" />
+<TGConnectingPoint num="3" id="510" />
+<TGConnectingPoint num="4" id="511" />
+<TGConnectingPoint num="5" id="512" />
+<TGConnectingPoint num="6" id="513" />
+<TGConnectingPoint num="7" id="514" />
+<TGConnectingPoint num="8" id="515" />
+<TGConnectingPoint num="9" id="516" />
+<TGConnectingPoint num="10" id="517" />
+<TGConnectingPoint num="11" id="518" />
+<TGConnectingPoint num="12" id="519" />
+<TGConnectingPoint num="13" id="520" />
+<TGConnectingPoint num="14" id="521" />
+<TGConnectingPoint num="15" id="522" />
+<TGConnectingPoint num="16" id="523" />
+<TGConnectingPoint num="17" id="524" />
+<TGConnectingPoint num="18" id="525" />
+<TGConnectingPoint num="19" id="526" />
+<TGConnectingPoint num="20" id="527" />
+<TGConnectingPoint num="21" id="528" />
+<TGConnectingPoint num="22" id="529" />
+<TGConnectingPoint num="23" id="530" />
+<TGConnectingPoint num="24" id="531" />
+<TGConnectingPoint num="25" id="532" />
+<TGConnectingPoint num="26" id="533" />
+<TGConnectingPoint num="27" id="534" />
+<TGConnectingPoint num="28" id="535" />
+<TGConnectingPoint num="29" id="536" />
+<TGConnectingPoint num="30" id="537" />
 <extraparam>
 <textline data="The drone is informed " />
 <textline data="about the crossing" />
@@ -868,43 +603,43 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5250" id="237" >
+<COMPONENT type="5250" id="570" >
 <cdparam x="73" y="181" />
 <sizeparam width="183" height="139" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="69" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Assumption" value="RedLine" />
-<TGConnectingPoint num="0" id="206" />
-<TGConnectingPoint num="1" id="207" />
-<TGConnectingPoint num="2" id="208" />
-<TGConnectingPoint num="3" id="209" />
-<TGConnectingPoint num="4" id="210" />
-<TGConnectingPoint num="5" id="211" />
-<TGConnectingPoint num="6" id="212" />
-<TGConnectingPoint num="7" id="213" />
-<TGConnectingPoint num="8" id="214" />
-<TGConnectingPoint num="9" id="215" />
-<TGConnectingPoint num="10" id="216" />
-<TGConnectingPoint num="11" id="217" />
-<TGConnectingPoint num="12" id="218" />
-<TGConnectingPoint num="13" id="219" />
-<TGConnectingPoint num="14" id="220" />
-<TGConnectingPoint num="15" id="221" />
-<TGConnectingPoint num="16" id="222" />
-<TGConnectingPoint num="17" id="223" />
-<TGConnectingPoint num="18" id="224" />
-<TGConnectingPoint num="19" id="225" />
-<TGConnectingPoint num="20" id="226" />
-<TGConnectingPoint num="21" id="227" />
-<TGConnectingPoint num="22" id="228" />
-<TGConnectingPoint num="23" id="229" />
-<TGConnectingPoint num="24" id="230" />
-<TGConnectingPoint num="25" id="231" />
-<TGConnectingPoint num="26" id="232" />
-<TGConnectingPoint num="27" id="233" />
-<TGConnectingPoint num="28" id="234" />
-<TGConnectingPoint num="29" id="235" />
-<TGConnectingPoint num="30" id="236" />
+<TGConnectingPoint num="0" id="539" />
+<TGConnectingPoint num="1" id="540" />
+<TGConnectingPoint num="2" id="541" />
+<TGConnectingPoint num="3" id="542" />
+<TGConnectingPoint num="4" id="543" />
+<TGConnectingPoint num="5" id="544" />
+<TGConnectingPoint num="6" id="545" />
+<TGConnectingPoint num="7" id="546" />
+<TGConnectingPoint num="8" id="547" />
+<TGConnectingPoint num="9" id="548" />
+<TGConnectingPoint num="10" id="549" />
+<TGConnectingPoint num="11" id="550" />
+<TGConnectingPoint num="12" id="551" />
+<TGConnectingPoint num="13" id="552" />
+<TGConnectingPoint num="14" id="553" />
+<TGConnectingPoint num="15" id="554" />
+<TGConnectingPoint num="16" id="555" />
+<TGConnectingPoint num="17" id="556" />
+<TGConnectingPoint num="18" id="557" />
+<TGConnectingPoint num="19" id="558" />
+<TGConnectingPoint num="20" id="559" />
+<TGConnectingPoint num="21" id="560" />
+<TGConnectingPoint num="22" id="561" />
+<TGConnectingPoint num="23" id="562" />
+<TGConnectingPoint num="24" id="563" />
+<TGConnectingPoint num="25" id="564" />
+<TGConnectingPoint num="26" id="565" />
+<TGConnectingPoint num="27" id="566" />
+<TGConnectingPoint num="28" id="567" />
+<TGConnectingPoint num="29" id="568" />
+<TGConnectingPoint num="30" id="569" />
 <extraparam>
 <textline data="A reline is assumed " />
 <textline data="to be paintd/sticked " />
@@ -918,43 +653,43 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5250" id="269" >
+<COMPONENT type="5250" id="602" >
 <cdparam x="64" y="37" />
 <sizeparam width="200" height="111" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="117" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Assumption" value="SignsToNavigate" />
-<TGConnectingPoint num="0" id="238" />
-<TGConnectingPoint num="1" id="239" />
-<TGConnectingPoint num="2" id="240" />
-<TGConnectingPoint num="3" id="241" />
-<TGConnectingPoint num="4" id="242" />
-<TGConnectingPoint num="5" id="243" />
-<TGConnectingPoint num="6" id="244" />
-<TGConnectingPoint num="7" id="245" />
-<TGConnectingPoint num="8" id="246" />
-<TGConnectingPoint num="9" id="247" />
-<TGConnectingPoint num="10" id="248" />
-<TGConnectingPoint num="11" id="249" />
-<TGConnectingPoint num="12" id="250" />
-<TGConnectingPoint num="13" id="251" />
-<TGConnectingPoint num="14" id="252" />
-<TGConnectingPoint num="15" id="253" />
-<TGConnectingPoint num="16" id="254" />
-<TGConnectingPoint num="17" id="255" />
-<TGConnectingPoint num="18" id="256" />
-<TGConnectingPoint num="19" id="257" />
-<TGConnectingPoint num="20" id="258" />
-<TGConnectingPoint num="21" id="259" />
-<TGConnectingPoint num="22" id="260" />
-<TGConnectingPoint num="23" id="261" />
-<TGConnectingPoint num="24" id="262" />
-<TGConnectingPoint num="25" id="263" />
-<TGConnectingPoint num="26" id="264" />
-<TGConnectingPoint num="27" id="265" />
-<TGConnectingPoint num="28" id="266" />
-<TGConnectingPoint num="29" id="267" />
-<TGConnectingPoint num="30" id="268" />
+<TGConnectingPoint num="0" id="571" />
+<TGConnectingPoint num="1" id="572" />
+<TGConnectingPoint num="2" id="573" />
+<TGConnectingPoint num="3" id="574" />
+<TGConnectingPoint num="4" id="575" />
+<TGConnectingPoint num="5" id="576" />
+<TGConnectingPoint num="6" id="577" />
+<TGConnectingPoint num="7" id="578" />
+<TGConnectingPoint num="8" id="579" />
+<TGConnectingPoint num="9" id="580" />
+<TGConnectingPoint num="10" id="581" />
+<TGConnectingPoint num="11" id="582" />
+<TGConnectingPoint num="12" id="583" />
+<TGConnectingPoint num="13" id="584" />
+<TGConnectingPoint num="14" id="585" />
+<TGConnectingPoint num="15" id="586" />
+<TGConnectingPoint num="16" id="587" />
+<TGConnectingPoint num="17" id="588" />
+<TGConnectingPoint num="18" id="589" />
+<TGConnectingPoint num="19" id="590" />
+<TGConnectingPoint num="20" id="591" />
+<TGConnectingPoint num="21" id="592" />
+<TGConnectingPoint num="22" id="593" />
+<TGConnectingPoint num="23" id="594" />
+<TGConnectingPoint num="24" id="595" />
+<TGConnectingPoint num="25" id="596" />
+<TGConnectingPoint num="26" id="597" />
+<TGConnectingPoint num="27" id="598" />
+<TGConnectingPoint num="28" id="599" />
+<TGConnectingPoint num="29" id="600" />
+<TGConnectingPoint num="30" id="601" />
 <extraparam>
 <textline data="Assumption description:" />
 <textline data="Double-click to edit" />
@@ -966,50 +701,315 @@
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="5257" id="6445" >
+<CONNECTOR type="5257" id="604" >
 <cdparam x="480" y="283" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="{info}" />
-<TGConnectingPoint num="0" id="6446" />
-<P1  x="479" y="271" id="121" />
-<P2  x="479" y="223" id="68" />
+<TGConnectingPoint num="0" id="603" />
+<P1  x="503" y="271" id="486" />
+<P2  x="479" y="223" id="461" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5255" id="273" >
+<CONNECTOR type="5255" id="606" >
 <cdparam x="256" y="263" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="272" />
-<P1  x="256" y="215" id="221" />
-<P2  x="357" y="215" id="60" />
+<TGConnectingPoint num="0" id="605" />
+<P1  x="256" y="215" id="554" />
+<P2  x="357" y="215" id="453" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5253" id="275" >
+<CONNECTOR type="5253" id="608" >
 <cdparam x="354" y="101" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Assumption to Assumption" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="274" />
-<P1  x="353" y="92" id="175" />
-<P2  x="264" y="92" id="242" />
+<TGConnectingPoint num="0" id="607" />
+<P1  x="353" y="92" id="508" />
+<P2  x="264" y="92" id="575" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5255" id="277" >
+<CONNECTOR type="5255" id="610" >
 <cdparam x="480" y="237" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from AvatarDiagramReference to AvatarElementReference" value="&lt;&lt;impact&gt;&gt;" />
-<TGConnectingPoint num="0" id="276" />
-<P1  x="256" y="285" id="223" />
-<P2  x="368" y="286" id="115" />
+<TGConnectingPoint num="0" id="609" />
+<P1  x="256" y="285" id="556" />
+<P2  x="368" y="291" id="480" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5253" id="285" >
+<CONNECTOR type="5253" id="612" >
 <cdparam x="330" y="404" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Assumption to Assumption" value="&lt;&lt;composition&gt;&gt;" />
-<TGConnectingPoint num="0" id="284" />
-<P1  x="164" y="181" id="213" />
-<P2  x="164" y="148" id="248" />
+<TGConnectingPoint num="0" id="611" />
+<P1  x="164" y="181" id="546" />
+<P2  x="164" y="148" id="581" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</AvatarMADPanel>
+
+<AvatarMADPanel name="Modeling Assumptions Diagram 3" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
+<COMPONENT type="5252" id="318" >
+<cdparam x="549" y="173" />
+<sizeparam width="169" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="142" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="AvatarElementReference" value="Block_MainController" />
+<TGConnectingPoint num="0" id="291" />
+<TGConnectingPoint num="1" id="292" />
+<TGConnectingPoint num="2" id="293" />
+<TGConnectingPoint num="3" id="294" />
+<TGConnectingPoint num="4" id="295" />
+<TGConnectingPoint num="5" id="296" />
+<TGConnectingPoint num="6" id="297" />
+<TGConnectingPoint num="7" id="298" />
+<TGConnectingPoint num="8" id="299" />
+<TGConnectingPoint num="9" id="300" />
+<TGConnectingPoint num="10" id="301" />
+<TGConnectingPoint num="11" id="302" />
+<TGConnectingPoint num="12" id="303" />
+<TGConnectingPoint num="13" id="304" />
+<TGConnectingPoint num="14" id="305" />
+<TGConnectingPoint num="15" id="306" />
+<TGConnectingPoint num="16" id="307" />
+<TGConnectingPoint num="17" id="308" />
+<TGConnectingPoint num="18" id="309" />
+<TGConnectingPoint num="19" id="310" />
+<TGConnectingPoint num="20" id="311" />
+<TGConnectingPoint num="21" id="312" />
+<TGConnectingPoint num="22" id="313" />
+<TGConnectingPoint num="23" id="314" />
+<TGConnectingPoint num="24" id="315" />
+<TGConnectingPoint num="25" id="316" />
+<TGConnectingPoint num="26" id="317" />
+</COMPONENT>
+
+<COMPONENT type="5252" id="346" >
+<cdparam x="762" y="172" />
+<sizeparam width="163" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="129" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="AvatarElementReference" value="Block_RemoteUSer" />
+<TGConnectingPoint num="0" id="319" />
+<TGConnectingPoint num="1" id="320" />
+<TGConnectingPoint num="2" id="321" />
+<TGConnectingPoint num="3" id="322" />
+<TGConnectingPoint num="4" id="323" />
+<TGConnectingPoint num="5" id="324" />
+<TGConnectingPoint num="6" id="325" />
+<TGConnectingPoint num="7" id="326" />
+<TGConnectingPoint num="8" id="327" />
+<TGConnectingPoint num="9" id="328" />
+<TGConnectingPoint num="10" id="329" />
+<TGConnectingPoint num="11" id="330" />
+<TGConnectingPoint num="12" id="331" />
+<TGConnectingPoint num="13" id="332" />
+<TGConnectingPoint num="14" id="333" />
+<TGConnectingPoint num="15" id="334" />
+<TGConnectingPoint num="16" id="335" />
+<TGConnectingPoint num="17" id="336" />
+<TGConnectingPoint num="18" id="337" />
+<TGConnectingPoint num="19" id="338" />
+<TGConnectingPoint num="20" id="339" />
+<TGConnectingPoint num="21" id="340" />
+<TGConnectingPoint num="22" id="341" />
+<TGConnectingPoint num="23" id="342" />
+<TGConnectingPoint num="24" id="343" />
+<TGConnectingPoint num="25" id="344" />
+<TGConnectingPoint num="26" id="345" />
+</COMPONENT>
+
+<COMPONENT type="5251" id="374" >
+<cdparam x="633" y="297" />
+<sizeparam width="201" height="30" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="105" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="AvatarDiagramReference" value="DroneDesign3" />
+<TGConnectingPoint num="0" id="347" />
+<TGConnectingPoint num="1" id="348" />
+<TGConnectingPoint num="2" id="349" />
+<TGConnectingPoint num="3" id="350" />
+<TGConnectingPoint num="4" id="351" />
+<TGConnectingPoint num="5" id="352" />
+<TGConnectingPoint num="6" id="353" />
+<TGConnectingPoint num="7" id="354" />
+<TGConnectingPoint num="8" id="355" />
+<TGConnectingPoint num="9" id="356" />
+<TGConnectingPoint num="10" id="357" />
+<TGConnectingPoint num="11" id="358" />
+<TGConnectingPoint num="12" id="359" />
+<TGConnectingPoint num="13" id="360" />
+<TGConnectingPoint num="14" id="361" />
+<TGConnectingPoint num="15" id="362" />
+<TGConnectingPoint num="16" id="363" />
+<TGConnectingPoint num="17" id="364" />
+<TGConnectingPoint num="18" id="365" />
+<TGConnectingPoint num="19" id="366" />
+<TGConnectingPoint num="20" id="367" />
+<TGConnectingPoint num="21" id="368" />
+<TGConnectingPoint num="22" id="369" />
+<TGConnectingPoint num="23" id="370" />
+<TGConnectingPoint num="24" id="371" />
+<TGConnectingPoint num="25" id="372" />
+<TGConnectingPoint num="26" id="373" />
+</COMPONENT>
+
+<COMPONENT type="5250" id="406" >
+<cdparam x="283" y="225" />
+<sizeparam width="191" height="118" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="120" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Assumption" value="FollowingPersons" />
+<TGConnectingPoint num="0" id="375" />
+<TGConnectingPoint num="1" id="376" />
+<TGConnectingPoint num="2" id="377" />
+<TGConnectingPoint num="3" id="378" />
+<TGConnectingPoint num="4" id="379" />
+<TGConnectingPoint num="5" id="380" />
+<TGConnectingPoint num="6" id="381" />
+<TGConnectingPoint num="7" id="382" />
+<TGConnectingPoint num="8" id="383" />
+<TGConnectingPoint num="9" id="384" />
+<TGConnectingPoint num="10" id="385" />
+<TGConnectingPoint num="11" id="386" />
+<TGConnectingPoint num="12" id="387" />
+<TGConnectingPoint num="13" id="388" />
+<TGConnectingPoint num="14" id="389" />
+<TGConnectingPoint num="15" id="390" />
+<TGConnectingPoint num="16" id="391" />
+<TGConnectingPoint num="17" id="392" />
+<TGConnectingPoint num="18" id="393" />
+<TGConnectingPoint num="19" id="394" />
+<TGConnectingPoint num="20" id="395" />
+<TGConnectingPoint num="21" id="396" />
+<TGConnectingPoint num="22" id="397" />
+<TGConnectingPoint num="23" id="398" />
+<TGConnectingPoint num="24" id="399" />
+<TGConnectingPoint num="25" id="400" />
+<TGConnectingPoint num="26" id="401" />
+<TGConnectingPoint num="27" id="402" />
+<TGConnectingPoint num="28" id="403" />
+<TGConnectingPoint num="29" id="404" />
+<TGConnectingPoint num="30" id="405" />
+<extraparam>
+<textline data="The drone can follow " />
+<textline data="a person when it needs" />
+<textline data="to go through an " />
+<textline data="obstacle, e.g., a door" />
+<type data="0" />
+<durability data="1" />
+<source data="3" />
+<status data="1" />
+<limitation data="3" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5250" id="438" >
+<cdparam x="286" y="56" />
+<sizeparam width="188" height="120" minWidth="1" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="67" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Assumption" value="NoDoor" />
+<TGConnectingPoint num="0" id="407" />
+<TGConnectingPoint num="1" id="408" />
+<TGConnectingPoint num="2" id="409" />
+<TGConnectingPoint num="3" id="410" />
+<TGConnectingPoint num="4" id="411" />
+<TGConnectingPoint num="5" id="412" />
+<TGConnectingPoint num="6" id="413" />
+<TGConnectingPoint num="7" id="414" />
+<TGConnectingPoint num="8" id="415" />
+<TGConnectingPoint num="9" id="416" />
+<TGConnectingPoint num="10" id="417" />
+<TGConnectingPoint num="11" id="418" />
+<TGConnectingPoint num="12" id="419" />
+<TGConnectingPoint num="13" id="420" />
+<TGConnectingPoint num="14" id="421" />
+<TGConnectingPoint num="15" id="422" />
+<TGConnectingPoint num="16" id="423" />
+<TGConnectingPoint num="17" id="424" />
+<TGConnectingPoint num="18" id="425" />
+<TGConnectingPoint num="19" id="426" />
+<TGConnectingPoint num="20" id="427" />
+<TGConnectingPoint num="21" id="428" />
+<TGConnectingPoint num="22" id="429" />
+<TGConnectingPoint num="23" id="430" />
+<TGConnectingPoint num="24" id="431" />
+<TGConnectingPoint num="25" id="432" />
+<TGConnectingPoint num="26" id="433" />
+<TGConnectingPoint num="27" id="434" />
+<TGConnectingPoint num="28" id="435" />
+<TGConnectingPoint num="29" id="436" />
+<TGConnectingPoint num="30" id="437" />
+<extraparam>
+<textline data="The drone cannot " />
+<textline data="go through doors " />
+<type data="0" />
+<durability data="2" />
+<source data="3" />
+<status data="1" />
+<limitation data="3" />
+</extraparam>
+</COMPONENT>
+
+<CONNECTOR type="5255" id="440" >
+<cdparam x="474" y="313" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
+<TGConnectingPoint num="0" id="439" />
+<P1  x="474" y="313" id="392" />
+<P2  x="633" y="312" id="348" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5255" id="442" >
+<cdparam x="474" y="313" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
+<TGConnectingPoint num="0" id="441" />
+<P1  x="474" y="284" id="391" />
+<P2  x="802" y="202" id="328" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5255" id="444" >
+<cdparam x="474" y="284" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;impact&gt;&gt;" />
+<TGConnectingPoint num="0" id="443" />
+<P1  x="474" y="254" id="390" />
+<P2  x="591" y="203" id="300" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5257" id="446" >
+<cdparam x="843" y="202" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<TGConnectingPoint num="0" id="445" />
+<P1  x="843" y="202" id="329" />
+<P2  x="783" y="297" id="355" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5257" id="448" >
+<cdparam x="633" y="203" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<TGConnectingPoint num="0" id="447" />
+<P1  x="633" y="203" id="301" />
+<P2  x="683" y="297" id="353" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5254" id="450" >
+<cdparam x="449" y="192" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from Assumption to Assumption" value="&lt;&lt;versioning&gt;&gt;" />
+<TGConnectingPoint num="0" id="449" />
+<P1  x="380" y="176" id="417" />
+<P2  x="378" y="225" id="382" />
 <AutomaticDrawing  data="true" />
+<extraparam>
+<oldVersion data="2" />
+<newVersion data="3" />
+</extraparam>
 </CONNECTOR>
 
 </AvatarMADPanel>
@@ -1027,13 +1027,13 @@
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="5002" id="442" >
+<CONNECTOR type="5002" id="614" >
 <cdparam x="246" y="214" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="441" />
-<P1  x="244" y="210" id="476" />
-<P2  x="244" y="236" id="555" />
+<TGConnectingPoint num="0" id="613" />
+<P1  x="244" y="210" id="648" />
+<P2  x="244" y="236" id="727" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in compute(Picture p)" />
@@ -1043,13 +1043,13 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="444" >
+<CONNECTOR type="5002" id="616" >
 <cdparam x="397" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="443" />
-<P1  x="397" y="296" id="565" />
-<P2  x="535" y="119" id="614" />
+<TGConnectingPoint num="0" id="615" />
+<P1  x="397" y="296" id="737" />
+<P2  x="535" y="119" id="786" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <isd value="in stopMe()" />
@@ -1059,13 +1059,13 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="446" >
+<CONNECTOR type="5002" id="618" >
 <cdparam x="397" y="478" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="445" />
-<P1  x="397" y="478" id="561" />
-<P2  x="536" y="634" id="498" />
+<TGConnectingPoint num="0" id="617" />
+<P1  x="397" y="478" id="733" />
+<P2  x="536" y="634" id="670" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in reach(int place)" />
@@ -1077,13 +1077,13 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="448" >
+<CONNECTOR type="5002" id="620" >
 <cdparam x="248" y="516" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="447" />
-<P1  x="245" y="547" id="530" />
-<P2  x="244" y="478" id="560" />
+<TGConnectingPoint num="0" id="619" />
+<P1  x="245" y="547" id="702" />
+<P2  x="244" y="478" id="732" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in compute(Picture p)" />
@@ -1093,13 +1093,13 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="450" >
+<CONNECTOR type="5002" id="622" >
 <cdparam x="424" y="294" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="449" />
-<P1  x="397" y="417" id="567" />
-<P2  x="530" y="416" id="582" />
+<TGConnectingPoint num="0" id="621" />
+<P1  x="397" y="417" id="739" />
+<P2  x="530" y="416" id="754" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in getPosition(Command p)" />
@@ -1109,13 +1109,13 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="452" >
+<CONNECTOR type="5002" id="624" >
 <cdparam x="333" y="193" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="451" />
-<P1  x="397" y="357" id="558" />
-<P2  x="535" y="165" id="607" />
+<TGConnectingPoint num="0" id="623" />
+<P1  x="397" y="357" id="730" />
+<P2  x="535" y="165" id="779" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in readNextPicture(Picture p)" />
@@ -1123,9 +1123,9 @@
 <FIFOType asynchronous="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<COMPONENT type="301" id="469" >
+<COMPONENT type="301" id="641" >
 <cdparam x="832" y="472" />
-<sizeparam width="276" height="147" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="351" height="147" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="UML Note" value="Command values:
@@ -1141,22 +1141,22 @@ Command mode:
 1: takeOff
 2: land
 " />
-<TGConnectingPoint num="0" id="453" />
-<TGConnectingPoint num="1" id="454" />
-<TGConnectingPoint num="2" id="455" />
-<TGConnectingPoint num="3" id="456" />
-<TGConnectingPoint num="4" id="457" />
-<TGConnectingPoint num="5" id="458" />
-<TGConnectingPoint num="6" id="459" />
-<TGConnectingPoint num="7" id="460" />
-<TGConnectingPoint num="8" id="461" />
-<TGConnectingPoint num="9" id="462" />
-<TGConnectingPoint num="10" id="463" />
-<TGConnectingPoint num="11" id="464" />
-<TGConnectingPoint num="12" id="465" />
-<TGConnectingPoint num="13" id="466" />
-<TGConnectingPoint num="14" id="467" />
-<TGConnectingPoint num="15" id="468" />
+<TGConnectingPoint num="0" id="625" />
+<TGConnectingPoint num="1" id="626" />
+<TGConnectingPoint num="2" id="627" />
+<TGConnectingPoint num="3" id="628" />
+<TGConnectingPoint num="4" id="629" />
+<TGConnectingPoint num="5" id="630" />
+<TGConnectingPoint num="6" id="631" />
+<TGConnectingPoint num="7" id="632" />
+<TGConnectingPoint num="8" id="633" />
+<TGConnectingPoint num="9" id="634" />
+<TGConnectingPoint num="10" id="635" />
+<TGConnectingPoint num="11" id="636" />
+<TGConnectingPoint num="12" id="637" />
+<TGConnectingPoint num="13" id="638" />
+<TGConnectingPoint num="14" id="639" />
+<TGConnectingPoint num="15" id="640" />
 <extraparam>
 <Line value="Command values:" />
 <Line value="---------------------" />
@@ -1173,36 +1173,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="494" >
+<COMPONENT type="5000" id="666" >
 <cdparam x="92" y="10" />
 <sizeparam width="305" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="CrossingRecognition" />
-<TGConnectingPoint num="0" id="470" />
-<TGConnectingPoint num="1" id="471" />
-<TGConnectingPoint num="2" id="472" />
-<TGConnectingPoint num="3" id="473" />
-<TGConnectingPoint num="4" id="474" />
-<TGConnectingPoint num="5" id="475" />
-<TGConnectingPoint num="6" id="476" />
-<TGConnectingPoint num="7" id="477" />
-<TGConnectingPoint num="8" id="478" />
-<TGConnectingPoint num="9" id="479" />
-<TGConnectingPoint num="10" id="480" />
-<TGConnectingPoint num="11" id="481" />
-<TGConnectingPoint num="12" id="482" />
-<TGConnectingPoint num="13" id="483" />
-<TGConnectingPoint num="14" id="484" />
-<TGConnectingPoint num="15" id="485" />
-<TGConnectingPoint num="16" id="486" />
-<TGConnectingPoint num="17" id="487" />
-<TGConnectingPoint num="18" id="488" />
-<TGConnectingPoint num="19" id="489" />
-<TGConnectingPoint num="20" id="490" />
-<TGConnectingPoint num="21" id="491" />
-<TGConnectingPoint num="22" id="492" />
-<TGConnectingPoint num="23" id="493" />
+<TGConnectingPoint num="0" id="642" />
+<TGConnectingPoint num="1" id="643" />
+<TGConnectingPoint num="2" id="644" />
+<TGConnectingPoint num="3" id="645" />
+<TGConnectingPoint num="4" id="646" />
+<TGConnectingPoint num="5" id="647" />
+<TGConnectingPoint num="6" id="648" />
+<TGConnectingPoint num="7" id="649" />
+<TGConnectingPoint num="8" id="650" />
+<TGConnectingPoint num="9" id="651" />
+<TGConnectingPoint num="10" id="652" />
+<TGConnectingPoint num="11" id="653" />
+<TGConnectingPoint num="12" id="654" />
+<TGConnectingPoint num="13" id="655" />
+<TGConnectingPoint num="14" id="656" />
+<TGConnectingPoint num="15" id="657" />
+<TGConnectingPoint num="16" id="658" />
+<TGConnectingPoint num="17" id="659" />
+<TGConnectingPoint num="18" id="660" />
+<TGConnectingPoint num="19" id="661" />
+<TGConnectingPoint num="20" id="662" />
+<TGConnectingPoint num="21" id="663" />
+<TGConnectingPoint num="22" id="664" />
+<TGConnectingPoint num="23" id="665" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="foundI" value="" type="8" typeOther="" />
@@ -1215,36 +1215,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="519" >
+<COMPONENT type="5000" id="691" >
 <cdparam x="536" y="533" />
 <sizeparam width="270" height="202" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="RemoteUser" />
-<TGConnectingPoint num="0" id="495" />
-<TGConnectingPoint num="1" id="496" />
-<TGConnectingPoint num="2" id="497" />
-<TGConnectingPoint num="3" id="498" />
-<TGConnectingPoint num="4" id="499" />
-<TGConnectingPoint num="5" id="500" />
-<TGConnectingPoint num="6" id="501" />
-<TGConnectingPoint num="7" id="502" />
-<TGConnectingPoint num="8" id="503" />
-<TGConnectingPoint num="9" id="504" />
-<TGConnectingPoint num="10" id="505" />
-<TGConnectingPoint num="11" id="506" />
-<TGConnectingPoint num="12" id="507" />
-<TGConnectingPoint num="13" id="508" />
-<TGConnectingPoint num="14" id="509" />
-<TGConnectingPoint num="15" id="510" />
-<TGConnectingPoint num="16" id="511" />
-<TGConnectingPoint num="17" id="512" />
-<TGConnectingPoint num="18" id="513" />
-<TGConnectingPoint num="19" id="514" />
-<TGConnectingPoint num="20" id="515" />
-<TGConnectingPoint num="21" id="516" />
-<TGConnectingPoint num="22" id="517" />
-<TGConnectingPoint num="23" id="518" />
+<TGConnectingPoint num="0" id="667" />
+<TGConnectingPoint num="1" id="668" />
+<TGConnectingPoint num="2" id="669" />
+<TGConnectingPoint num="3" id="670" />
+<TGConnectingPoint num="4" id="671" />
+<TGConnectingPoint num="5" id="672" />
+<TGConnectingPoint num="6" id="673" />
+<TGConnectingPoint num="7" id="674" />
+<TGConnectingPoint num="8" id="675" />
+<TGConnectingPoint num="9" id="676" />
+<TGConnectingPoint num="10" id="677" />
+<TGConnectingPoint num="11" id="678" />
+<TGConnectingPoint num="12" id="679" />
+<TGConnectingPoint num="13" id="680" />
+<TGConnectingPoint num="14" id="681" />
+<TGConnectingPoint num="15" id="682" />
+<TGConnectingPoint num="16" id="683" />
+<TGConnectingPoint num="17" id="684" />
+<TGConnectingPoint num="18" id="685" />
+<TGConnectingPoint num="19" id="686" />
+<TGConnectingPoint num="20" id="687" />
+<TGConnectingPoint num="21" id="688" />
+<TGConnectingPoint num="22" id="689" />
+<TGConnectingPoint num="23" id="690" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="place" value="" type="8" typeOther="" />
@@ -1255,20 +1255,20 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="528" >
+<COMPONENT type="5003" id="700" >
 <cdparam x="830" y="230" />
 <sizeparam width="239" height="122" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Picture" />
-<TGConnectingPoint num="0" id="520" />
-<TGConnectingPoint num="1" id="521" />
-<TGConnectingPoint num="2" id="522" />
-<TGConnectingPoint num="3" id="523" />
-<TGConnectingPoint num="4" id="524" />
-<TGConnectingPoint num="5" id="525" />
-<TGConnectingPoint num="6" id="526" />
-<TGConnectingPoint num="7" id="527" />
+<TGConnectingPoint num="0" id="692" />
+<TGConnectingPoint num="1" id="693" />
+<TGConnectingPoint num="2" id="694" />
+<TGConnectingPoint num="3" id="695" />
+<TGConnectingPoint num="4" id="696" />
+<TGConnectingPoint num="5" id="697" />
+<TGConnectingPoint num="6" id="698" />
+<TGConnectingPoint num="7" id="699" />
 <extraparam>
 <Attribute access="0" id="sizeH" value="0" type="8" typeOther="" />
 <Attribute access="0" id="sizeV" value="0" type="8" typeOther="" />
@@ -1277,36 +1277,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="553" >
+<COMPONENT type="5000" id="725" >
 <cdparam x="96" y="547" />
 <sizeparam width="299" height="213" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="LineRecognitionAlgorithm" />
-<TGConnectingPoint num="0" id="529" />
-<TGConnectingPoint num="1" id="530" />
-<TGConnectingPoint num="2" id="531" />
-<TGConnectingPoint num="3" id="532" />
-<TGConnectingPoint num="4" id="533" />
-<TGConnectingPoint num="5" id="534" />
-<TGConnectingPoint num="6" id="535" />
-<TGConnectingPoint num="7" id="536" />
-<TGConnectingPoint num="8" id="537" />
-<TGConnectingPoint num="9" id="538" />
-<TGConnectingPoint num="10" id="539" />
-<TGConnectingPoint num="11" id="540" />
-<TGConnectingPoint num="12" id="541" />
-<TGConnectingPoint num="13" id="542" />
-<TGConnectingPoint num="14" id="543" />
-<TGConnectingPoint num="15" id="544" />
-<TGConnectingPoint num="16" id="545" />
-<TGConnectingPoint num="17" id="546" />
-<TGConnectingPoint num="18" id="547" />
-<TGConnectingPoint num="19" id="548" />
-<TGConnectingPoint num="20" id="549" />
-<TGConnectingPoint num="21" id="550" />
-<TGConnectingPoint num="22" id="551" />
-<TGConnectingPoint num="23" id="552" />
+<TGConnectingPoint num="0" id="701" />
+<TGConnectingPoint num="1" id="702" />
+<TGConnectingPoint num="2" id="703" />
+<TGConnectingPoint num="3" id="704" />
+<TGConnectingPoint num="4" id="705" />
+<TGConnectingPoint num="5" id="706" />
+<TGConnectingPoint num="6" id="707" />
+<TGConnectingPoint num="7" id="708" />
+<TGConnectingPoint num="8" id="709" />
+<TGConnectingPoint num="9" id="710" />
+<TGConnectingPoint num="10" id="711" />
+<TGConnectingPoint num="11" id="712" />
+<TGConnectingPoint num="12" id="713" />
+<TGConnectingPoint num="13" id="714" />
+<TGConnectingPoint num="14" id="715" />
+<TGConnectingPoint num="15" id="716" />
+<TGConnectingPoint num="16" id="717" />
+<TGConnectingPoint num="17" id="718" />
+<TGConnectingPoint num="18" id="719" />
+<TGConnectingPoint num="19" id="720" />
+<TGConnectingPoint num="20" id="721" />
+<TGConnectingPoint num="21" id="722" />
+<TGConnectingPoint num="22" id="723" />
+<TGConnectingPoint num="23" id="724" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="found" value="false" type="4" typeOther="" />
@@ -1320,36 +1320,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="578" >
+<COMPONENT type="5000" id="750" >
 <cdparam x="91" y="236" />
 <sizeparam width="306" height="242" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="MainController" />
-<TGConnectingPoint num="0" id="554" />
-<TGConnectingPoint num="1" id="555" />
-<TGConnectingPoint num="2" id="556" />
-<TGConnectingPoint num="3" id="557" />
-<TGConnectingPoint num="4" id="558" />
-<TGConnectingPoint num="5" id="559" />
-<TGConnectingPoint num="6" id="560" />
-<TGConnectingPoint num="7" id="561" />
-<TGConnectingPoint num="8" id="562" />
-<TGConnectingPoint num="9" id="563" />
-<TGConnectingPoint num="10" id="564" />
-<TGConnectingPoint num="11" id="565" />
-<TGConnectingPoint num="12" id="566" />
-<TGConnectingPoint num="13" id="567" />
-<TGConnectingPoint num="14" id="568" />
-<TGConnectingPoint num="15" id="569" />
-<TGConnectingPoint num="16" id="570" />
-<TGConnectingPoint num="17" id="571" />
-<TGConnectingPoint num="18" id="572" />
-<TGConnectingPoint num="19" id="573" />
-<TGConnectingPoint num="20" id="574" />
-<TGConnectingPoint num="21" id="575" />
-<TGConnectingPoint num="22" id="576" />
-<TGConnectingPoint num="23" id="577" />
+<TGConnectingPoint num="0" id="726" />
+<TGConnectingPoint num="1" id="727" />
+<TGConnectingPoint num="2" id="728" />
+<TGConnectingPoint num="3" id="729" />
+<TGConnectingPoint num="4" id="730" />
+<TGConnectingPoint num="5" id="731" />
+<TGConnectingPoint num="6" id="732" />
+<TGConnectingPoint num="7" id="733" />
+<TGConnectingPoint num="8" id="734" />
+<TGConnectingPoint num="9" id="735" />
+<TGConnectingPoint num="10" id="736" />
+<TGConnectingPoint num="11" id="737" />
+<TGConnectingPoint num="12" id="738" />
+<TGConnectingPoint num="13" id="739" />
+<TGConnectingPoint num="14" id="740" />
+<TGConnectingPoint num="15" id="741" />
+<TGConnectingPoint num="16" id="742" />
+<TGConnectingPoint num="17" id="743" />
+<TGConnectingPoint num="18" id="744" />
+<TGConnectingPoint num="19" id="745" />
+<TGConnectingPoint num="20" id="746" />
+<TGConnectingPoint num="21" id="747" />
+<TGConnectingPoint num="22" id="748" />
+<TGConnectingPoint num="23" id="749" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="nbOfCrossings" value="" type="8" typeOther="" />
@@ -1377,36 +1377,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="603" >
+<COMPONENT type="5000" id="775" >
 <cdparam x="530" y="325" />
 <sizeparam width="250" height="182" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="EngineController" />
-<TGConnectingPoint num="0" id="579" />
-<TGConnectingPoint num="1" id="580" />
-<TGConnectingPoint num="2" id="581" />
-<TGConnectingPoint num="3" id="582" />
-<TGConnectingPoint num="4" id="583" />
-<TGConnectingPoint num="5" id="584" />
-<TGConnectingPoint num="6" id="585" />
-<TGConnectingPoint num="7" id="586" />
-<TGConnectingPoint num="8" id="587" />
-<TGConnectingPoint num="9" id="588" />
-<TGConnectingPoint num="10" id="589" />
-<TGConnectingPoint num="11" id="590" />
-<TGConnectingPoint num="12" id="591" />
-<TGConnectingPoint num="13" id="592" />
-<TGConnectingPoint num="14" id="593" />
-<TGConnectingPoint num="15" id="594" />
-<TGConnectingPoint num="16" id="595" />
-<TGConnectingPoint num="17" id="596" />
-<TGConnectingPoint num="18" id="597" />
-<TGConnectingPoint num="19" id="598" />
-<TGConnectingPoint num="20" id="599" />
-<TGConnectingPoint num="21" id="600" />
-<TGConnectingPoint num="22" id="601" />
-<TGConnectingPoint num="23" id="602" />
+<TGConnectingPoint num="0" id="751" />
+<TGConnectingPoint num="1" id="752" />
+<TGConnectingPoint num="2" id="753" />
+<TGConnectingPoint num="3" id="754" />
+<TGConnectingPoint num="4" id="755" />
+<TGConnectingPoint num="5" id="756" />
+<TGConnectingPoint num="6" id="757" />
+<TGConnectingPoint num="7" id="758" />
+<TGConnectingPoint num="8" id="759" />
+<TGConnectingPoint num="9" id="760" />
+<TGConnectingPoint num="10" id="761" />
+<TGConnectingPoint num="11" id="762" />
+<TGConnectingPoint num="12" id="763" />
+<TGConnectingPoint num="13" id="764" />
+<TGConnectingPoint num="14" id="765" />
+<TGConnectingPoint num="15" id="766" />
+<TGConnectingPoint num="16" id="767" />
+<TGConnectingPoint num="17" id="768" />
+<TGConnectingPoint num="18" id="769" />
+<TGConnectingPoint num="19" id="770" />
+<TGConnectingPoint num="20" id="771" />
+<TGConnectingPoint num="21" id="772" />
+<TGConnectingPoint num="22" id="773" />
+<TGConnectingPoint num="23" id="774" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="lastCommand" value="" type="5" typeOther="Command" />
@@ -1416,36 +1416,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="628" >
+<COMPONENT type="5000" id="800" >
 <cdparam x="535" y="74" />
 <sizeparam width="250" height="182" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="Camera" />
-<TGConnectingPoint num="0" id="604" />
-<TGConnectingPoint num="1" id="605" />
-<TGConnectingPoint num="2" id="606" />
-<TGConnectingPoint num="3" id="607" />
-<TGConnectingPoint num="4" id="608" />
-<TGConnectingPoint num="5" id="609" />
-<TGConnectingPoint num="6" id="610" />
-<TGConnectingPoint num="7" id="611" />
-<TGConnectingPoint num="8" id="612" />
-<TGConnectingPoint num="9" id="613" />
-<TGConnectingPoint num="10" id="614" />
-<TGConnectingPoint num="11" id="615" />
-<TGConnectingPoint num="12" id="616" />
-<TGConnectingPoint num="13" id="617" />
-<TGConnectingPoint num="14" id="618" />
-<TGConnectingPoint num="15" id="619" />
-<TGConnectingPoint num="16" id="620" />
-<TGConnectingPoint num="17" id="621" />
-<TGConnectingPoint num="18" id="622" />
-<TGConnectingPoint num="19" id="623" />
-<TGConnectingPoint num="20" id="624" />
-<TGConnectingPoint num="21" id="625" />
-<TGConnectingPoint num="22" id="626" />
-<TGConnectingPoint num="23" id="627" />
+<TGConnectingPoint num="0" id="776" />
+<TGConnectingPoint num="1" id="777" />
+<TGConnectingPoint num="2" id="778" />
+<TGConnectingPoint num="3" id="779" />
+<TGConnectingPoint num="4" id="780" />
+<TGConnectingPoint num="5" id="781" />
+<TGConnectingPoint num="6" id="782" />
+<TGConnectingPoint num="7" id="783" />
+<TGConnectingPoint num="8" id="784" />
+<TGConnectingPoint num="9" id="785" />
+<TGConnectingPoint num="10" id="786" />
+<TGConnectingPoint num="11" id="787" />
+<TGConnectingPoint num="12" id="788" />
+<TGConnectingPoint num="13" id="789" />
+<TGConnectingPoint num="14" id="790" />
+<TGConnectingPoint num="15" id="791" />
+<TGConnectingPoint num="16" id="792" />
+<TGConnectingPoint num="17" id="793" />
+<TGConnectingPoint num="18" id="794" />
+<TGConnectingPoint num="19" id="795" />
+<TGConnectingPoint num="20" id="796" />
+<TGConnectingPoint num="21" id="797" />
+<TGConnectingPoint num="22" id="798" />
+<TGConnectingPoint num="23" id="799" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="p" value="" type="5" typeOther="Picture" />
@@ -1458,20 +1458,20 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="637" >
+<COMPONENT type="5003" id="809" >
 <cdparam x="831" y="362" />
 <sizeparam width="238" height="101" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Command" />
-<TGConnectingPoint num="0" id="629" />
-<TGConnectingPoint num="1" id="630" />
-<TGConnectingPoint num="2" id="631" />
-<TGConnectingPoint num="3" id="632" />
-<TGConnectingPoint num="4" id="633" />
-<TGConnectingPoint num="5" id="634" />
-<TGConnectingPoint num="6" id="635" />
-<TGConnectingPoint num="7" id="636" />
+<TGConnectingPoint num="0" id="801" />
+<TGConnectingPoint num="1" id="802" />
+<TGConnectingPoint num="2" id="803" />
+<TGConnectingPoint num="3" id="804" />
+<TGConnectingPoint num="4" id="805" />
+<TGConnectingPoint num="5" id="806" />
+<TGConnectingPoint num="6" id="807" />
+<TGConnectingPoint num="7" id="808" />
 <extraparam>
 <Attribute access="0" id="pitch" value="" type="8" typeOther="" />
 <Attribute access="0" id="roll" value="" type="8" typeOther="" />
@@ -1484,35 +1484,35 @@ Command mode:
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="CrossingRecognition" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="646" >
+<CONNECTOR type="5102" id="818" >
 <cdparam x="470" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="644" />
-<TGConnectingPoint num="1" id="645" />
-<P1  x="470" y="377" id="761" />
-<P2  x="502" y="523" id="734" />
+<TGConnectingPoint num="0" id="816" />
+<TGConnectingPoint num="1" id="817" />
+<P1  x="470" y="377" id="933" />
+<P2  x="502" y="523" id="906" />
 <Point x="534" y="428" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="638" >
-<father id="646" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="810" >
+<father id="818" num="0" />
 <cdparam x="534" y="428" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="643" >
-<father id="646" num="1" />
+<SUBCOMPONENT type="-1" id="815" >
+<father id="818" num="1" />
 <cdparam x="514" y="378" />
-<sizeparam width="78" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="84" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="639" />
-<TGConnectingPoint num="1" id="640" />
-<TGConnectingPoint num="2" id="641" />
-<TGConnectingPoint num="3" id="642" />
+<TGConnectingPoint num="0" id="811" />
+<TGConnectingPoint num="1" id="812" />
+<TGConnectingPoint num="2" id="813" />
+<TGConnectingPoint num="3" id="814" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -1523,25 +1523,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="653" >
+<CONNECTOR type="5102" id="825" >
 <cdparam x="463" y="573" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="652" />
-<P1  x="463" y="573" id="745" />
-<P2  x="463" y="610" id="704" />
+<TGConnectingPoint num="0" id="824" />
+<P1  x="463" y="573" id="917" />
+<P2  x="463" y="610" id="876" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="651" >
-<father id="653" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="823" >
+<father id="825" num="0" />
 <cdparam x="463" y="613" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="647" />
-<TGConnectingPoint num="1" id="648" />
-<TGConnectingPoint num="2" id="649" />
-<TGConnectingPoint num="3" id="650" />
+<TGConnectingPoint num="0" id="819" />
+<TGConnectingPoint num="1" id="820" />
+<TGConnectingPoint num="2" id="821" />
+<TGConnectingPoint num="3" id="822" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -1551,25 +1551,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="660" >
+<CONNECTOR type="5102" id="832" >
 <cdparam x="445" y="325" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to choice" value="null" />
-<TGConnectingPoint num="0" id="659" />
-<P1  x="445" y="325" id="773" />
-<P2  x="445" y="352" id="756" />
+<TGConnectingPoint num="0" id="831" />
+<P1  x="445" y="325" id="945" />
+<P2  x="445" y="352" id="928" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="658" >
-<father id="660" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="830" >
+<father id="832" num="0" />
 <cdparam x="445" y="365" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="654" />
-<TGConnectingPoint num="1" id="655" />
-<TGConnectingPoint num="2" id="656" />
-<TGConnectingPoint num="3" id="657" />
+<TGConnectingPoint num="0" id="826" />
+<TGConnectingPoint num="1" id="827" />
+<TGConnectingPoint num="2" id="828" />
+<TGConnectingPoint num="3" id="829" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -1579,25 +1579,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="667" >
+<CONNECTOR type="5102" id="839" >
 <cdparam x="445" y="280" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="666" />
-<P1  x="445" y="263" id="776" />
-<P2  x="445" y="295" id="772" />
+<TGConnectingPoint num="0" id="838" />
+<P1  x="445" y="263" id="948" />
+<P2  x="445" y="295" id="944" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="665" >
-<father id="667" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="837" >
+<father id="839" num="0" />
 <cdparam x="303" y="279" />
-<sizeparam width="293" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="313" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="661" />
-<TGConnectingPoint num="1" id="662" />
-<TGConnectingPoint num="2" id="663" />
-<TGConnectingPoint num="3" id="664" />
+<TGConnectingPoint num="0" id="833" />
+<TGConnectingPoint num="1" id="834" />
+<TGConnectingPoint num="2" id="835" />
+<TGConnectingPoint num="3" id="836" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="minComputationTime" />
@@ -1607,25 +1607,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="674" >
+<CONNECTOR type="5102" id="846" >
 <cdparam x="464" y="212" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="673" />
-<P1  x="445" y="212" id="792" />
-<P2  x="445" y="233" id="775" />
+<TGConnectingPoint num="0" id="845" />
+<P1  x="445" y="212" id="964" />
+<P2  x="445" y="233" id="947" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="672" >
-<father id="674" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="844" >
+<father id="846" num="0" />
 <cdparam x="464" y="252" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="668" />
-<TGConnectingPoint num="1" id="669" />
-<TGConnectingPoint num="2" id="670" />
-<TGConnectingPoint num="3" id="671" />
+<TGConnectingPoint num="0" id="840" />
+<TGConnectingPoint num="1" id="841" />
+<TGConnectingPoint num="2" id="842" />
+<TGConnectingPoint num="3" id="843" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -1635,25 +1635,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="681" >
+<CONNECTOR type="5102" id="853" >
 <cdparam x="445" y="132" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="680" />
-<P1  x="445" y="132" id="827" />
-<P2  x="445" y="162" id="787" />
+<TGConnectingPoint num="0" id="852" />
+<P1  x="445" y="132" id="999" />
+<P2  x="445" y="162" id="959" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="679" >
-<father id="681" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="851" >
+<father id="853" num="0" />
 <cdparam x="445" y="172" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="675" />
-<TGConnectingPoint num="1" id="676" />
-<TGConnectingPoint num="2" id="677" />
-<TGConnectingPoint num="3" id="678" />
+<TGConnectingPoint num="0" id="847" />
+<TGConnectingPoint num="1" id="848" />
+<TGConnectingPoint num="2" id="849" />
+<TGConnectingPoint num="3" id="850" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -1663,35 +1663,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="690" >
+<CONNECTOR type="5102" id="862" >
 <cdparam x="420" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="688" />
-<TGConnectingPoint num="1" id="689" />
-<P1  x="420" y="377" id="757" />
-<P2  x="407" y="523" id="723" />
+<TGConnectingPoint num="0" id="860" />
+<TGConnectingPoint num="1" id="861" />
+<P1  x="420" y="377" id="929" />
+<P2  x="407" y="523" id="895" />
 <Point x="367" y="432" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="682" >
-<father id="690" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="854" >
+<father id="862" num="0" />
 <cdparam x="367" y="432" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="687" >
-<father id="690" num="1" />
+<SUBCOMPONENT type="-1" id="859" >
+<father id="862" num="1" />
 <cdparam x="267" y="411" />
-<sizeparam width="84" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="89" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="683" />
-<TGConnectingPoint num="1" id="684" />
-<TGConnectingPoint num="2" id="685" />
-<TGConnectingPoint num="3" id="686" />
+<TGConnectingPoint num="0" id="855" />
+<TGConnectingPoint num="1" id="856" />
+<TGConnectingPoint num="2" id="857" />
+<TGConnectingPoint num="3" id="858" />
 <extraparam>
 <guard value="[ foundI == 1]" />
 <afterMin value="" />
@@ -1702,55 +1702,55 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="703" >
+<CONNECTOR type="5102" id="875" >
 <cdparam x="463" y="640" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="699" />
-<TGConnectingPoint num="1" id="700" />
-<TGConnectingPoint num="2" id="701" />
-<TGConnectingPoint num="3" id="702" />
-<P1  x="463" y="640" id="705" />
-<P2  x="527" y="180" id="809" />
+<TGConnectingPoint num="0" id="871" />
+<TGConnectingPoint num="1" id="872" />
+<TGConnectingPoint num="2" id="873" />
+<TGConnectingPoint num="3" id="874" />
+<P1  x="463" y="640" id="877" />
+<P2  x="527" y="180" id="981" />
 <Point x="463" y="688" />
 <Point x="699" y="688" />
 <Point x="699" y="180" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="691" >
-<father id="703" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="863" >
+<father id="875" num="0" />
 <cdparam x="463" y="688" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="692" >
-<father id="703" num="1" />
+<SUBCOMPONENT type="-1" id="864" >
+<father id="875" num="1" />
 <cdparam x="699" y="688" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="693" >
-<father id="703" num="2" />
+<SUBCOMPONENT type="-1" id="865" >
+<father id="875" num="2" />
 <cdparam x="699" y="180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="698" >
-<father id="703" num="3" />
+<SUBCOMPONENT type="-1" id="870" >
+<father id="875" num="3" />
 <cdparam x="463" y="680" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="694" />
-<TGConnectingPoint num="1" id="695" />
-<TGConnectingPoint num="2" id="696" />
-<TGConnectingPoint num="3" id="697" />
+<TGConnectingPoint num="0" id="866" />
+<TGConnectingPoint num="1" id="867" />
+<TGConnectingPoint num="2" id="868" />
+<TGConnectingPoint num="3" id="869" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -1760,210 +1760,210 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5103" id="714" >
-<cdparam x="422" y="615" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5103" id="886" >
+<cdparam x="417" y="615" />
+<sizeparam width="92" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="result(found)" />
-<TGConnectingPoint num="0" id="704" />
-<TGConnectingPoint num="1" id="705" />
-<TGConnectingPoint num="2" id="706" />
-<TGConnectingPoint num="3" id="707" />
-<TGConnectingPoint num="4" id="708" />
-<TGConnectingPoint num="5" id="709" />
-<TGConnectingPoint num="6" id="710" />
-<TGConnectingPoint num="7" id="711" />
-<TGConnectingPoint num="8" id="712" />
-<TGConnectingPoint num="9" id="713" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="755" >
+<TGConnectingPoint num="0" id="876" />
+<TGConnectingPoint num="1" id="877" />
+<TGConnectingPoint num="2" id="878" />
+<TGConnectingPoint num="3" id="879" />
+<TGConnectingPoint num="4" id="880" />
+<TGConnectingPoint num="5" id="881" />
+<TGConnectingPoint num="6" id="882" />
+<TGConnectingPoint num="7" id="883" />
+<TGConnectingPoint num="8" id="884" />
+<TGConnectingPoint num="9" id="885" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="927" >
 <cdparam x="369" y="523" />
 <sizeparam width="153" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingDone" />
-<TGConnectingPoint num="0" id="715" />
-<TGConnectingPoint num="1" id="716" />
-<TGConnectingPoint num="2" id="717" />
-<TGConnectingPoint num="3" id="718" />
-<TGConnectingPoint num="4" id="719" />
-<TGConnectingPoint num="5" id="720" />
-<TGConnectingPoint num="6" id="721" />
-<TGConnectingPoint num="7" id="722" />
-<TGConnectingPoint num="8" id="723" />
-<TGConnectingPoint num="9" id="724" />
-<TGConnectingPoint num="10" id="725" />
-<TGConnectingPoint num="11" id="726" />
-<TGConnectingPoint num="12" id="727" />
-<TGConnectingPoint num="13" id="728" />
-<TGConnectingPoint num="14" id="729" />
-<TGConnectingPoint num="15" id="730" />
-<TGConnectingPoint num="16" id="731" />
-<TGConnectingPoint num="17" id="732" />
-<TGConnectingPoint num="18" id="733" />
-<TGConnectingPoint num="19" id="734" />
-<TGConnectingPoint num="20" id="735" />
-<TGConnectingPoint num="21" id="736" />
-<TGConnectingPoint num="22" id="737" />
-<TGConnectingPoint num="23" id="738" />
-<TGConnectingPoint num="24" id="739" />
-<TGConnectingPoint num="25" id="740" />
-<TGConnectingPoint num="26" id="741" />
-<TGConnectingPoint num="27" id="742" />
-<TGConnectingPoint num="28" id="743" />
-<TGConnectingPoint num="29" id="744" />
-<TGConnectingPoint num="30" id="745" />
-<TGConnectingPoint num="31" id="746" />
-<TGConnectingPoint num="32" id="747" />
-<TGConnectingPoint num="33" id="748" />
-<TGConnectingPoint num="34" id="749" />
-<TGConnectingPoint num="35" id="750" />
-<TGConnectingPoint num="36" id="751" />
-<TGConnectingPoint num="37" id="752" />
-<TGConnectingPoint num="38" id="753" />
-<TGConnectingPoint num="39" id="754" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="771" >
+<TGConnectingPoint num="0" id="887" />
+<TGConnectingPoint num="1" id="888" />
+<TGConnectingPoint num="2" id="889" />
+<TGConnectingPoint num="3" id="890" />
+<TGConnectingPoint num="4" id="891" />
+<TGConnectingPoint num="5" id="892" />
+<TGConnectingPoint num="6" id="893" />
+<TGConnectingPoint num="7" id="894" />
+<TGConnectingPoint num="8" id="895" />
+<TGConnectingPoint num="9" id="896" />
+<TGConnectingPoint num="10" id="897" />
+<TGConnectingPoint num="11" id="898" />
+<TGConnectingPoint num="12" id="899" />
+<TGConnectingPoint num="13" id="900" />
+<TGConnectingPoint num="14" id="901" />
+<TGConnectingPoint num="15" id="902" />
+<TGConnectingPoint num="16" id="903" />
+<TGConnectingPoint num="17" id="904" />
+<TGConnectingPoint num="18" id="905" />
+<TGConnectingPoint num="19" id="906" />
+<TGConnectingPoint num="20" id="907" />
+<TGConnectingPoint num="21" id="908" />
+<TGConnectingPoint num="22" id="909" />
+<TGConnectingPoint num="23" id="910" />
+<TGConnectingPoint num="24" id="911" />
+<TGConnectingPoint num="25" id="912" />
+<TGConnectingPoint num="26" id="913" />
+<TGConnectingPoint num="27" id="914" />
+<TGConnectingPoint num="28" id="915" />
+<TGConnectingPoint num="29" id="916" />
+<TGConnectingPoint num="30" id="917" />
+<TGConnectingPoint num="31" id="918" />
+<TGConnectingPoint num="32" id="919" />
+<TGConnectingPoint num="33" id="920" />
+<TGConnectingPoint num="34" id="921" />
+<TGConnectingPoint num="35" id="922" />
+<TGConnectingPoint num="36" id="923" />
+<TGConnectingPoint num="37" id="924" />
+<TGConnectingPoint num="38" id="925" />
+<TGConnectingPoint num="39" id="926" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="943" >
 <cdparam x="430" y="362" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="756" />
-<TGConnectingPoint num="1" id="757" />
-<TGConnectingPoint num="2" id="758" />
-<TGConnectingPoint num="3" id="759" />
-<TGConnectingPoint num="4" id="760" />
-<TGConnectingPoint num="5" id="761" />
-<TGConnectingPoint num="6" id="762" />
-<TGConnectingPoint num="7" id="763" />
-<TGConnectingPoint num="8" id="764" />
-<TGConnectingPoint num="9" id="765" />
-<TGConnectingPoint num="10" id="766" />
-<TGConnectingPoint num="11" id="767" />
-<TGConnectingPoint num="12" id="768" />
-<TGConnectingPoint num="13" id="769" />
-<TGConnectingPoint num="14" id="770" />
-</COMPONENT>
-
-<COMPONENT type="5108" id="774" >
-<cdparam x="367" y="300" />
-<sizeparam width="157" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="928" />
+<TGConnectingPoint num="1" id="929" />
+<TGConnectingPoint num="2" id="930" />
+<TGConnectingPoint num="3" id="931" />
+<TGConnectingPoint num="4" id="932" />
+<TGConnectingPoint num="5" id="933" />
+<TGConnectingPoint num="6" id="934" />
+<TGConnectingPoint num="7" id="935" />
+<TGConnectingPoint num="8" id="936" />
+<TGConnectingPoint num="9" id="937" />
+<TGConnectingPoint num="10" id="938" />
+<TGConnectingPoint num="11" id="939" />
+<TGConnectingPoint num="12" id="940" />
+<TGConnectingPoint num="13" id="941" />
+<TGConnectingPoint num="14" id="942" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="946" >
+<cdparam x="364" y="300" />
+<sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="772" />
-<TGConnectingPoint num="1" id="773" />
+<TGConnectingPoint num="0" id="944" />
+<TGConnectingPoint num="1" id="945" />
 <extraparam>
 <Data variable="foundI" minValue="1" maxValue="3" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5104" id="785" >
-<cdparam x="403" y="238" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5104" id="957" >
+<cdparam x="400" y="238" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="compute(p)" />
-<TGConnectingPoint num="0" id="775" />
-<TGConnectingPoint num="1" id="776" />
-<TGConnectingPoint num="2" id="777" />
-<TGConnectingPoint num="3" id="778" />
-<TGConnectingPoint num="4" id="779" />
-<TGConnectingPoint num="5" id="780" />
-<TGConnectingPoint num="6" id="781" />
-<TGConnectingPoint num="7" id="782" />
-<TGConnectingPoint num="8" id="783" />
-<TGConnectingPoint num="9" id="784" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="826" >
+<TGConnectingPoint num="0" id="947" />
+<TGConnectingPoint num="1" id="948" />
+<TGConnectingPoint num="2" id="949" />
+<TGConnectingPoint num="3" id="950" />
+<TGConnectingPoint num="4" id="951" />
+<TGConnectingPoint num="5" id="952" />
+<TGConnectingPoint num="6" id="953" />
+<TGConnectingPoint num="7" id="954" />
+<TGConnectingPoint num="8" id="955" />
+<TGConnectingPoint num="9" id="956" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="998" >
 <cdparam x="363" y="162" />
 <sizeparam width="164" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForPicture" />
-<TGConnectingPoint num="0" id="786" />
-<TGConnectingPoint num="1" id="787" />
-<TGConnectingPoint num="2" id="788" />
-<TGConnectingPoint num="3" id="789" />
-<TGConnectingPoint num="4" id="790" />
-<TGConnectingPoint num="5" id="791" />
-<TGConnectingPoint num="6" id="792" />
-<TGConnectingPoint num="7" id="793" />
-<TGConnectingPoint num="8" id="794" />
-<TGConnectingPoint num="9" id="795" />
-<TGConnectingPoint num="10" id="796" />
-<TGConnectingPoint num="11" id="797" />
-<TGConnectingPoint num="12" id="798" />
-<TGConnectingPoint num="13" id="799" />
-<TGConnectingPoint num="14" id="800" />
-<TGConnectingPoint num="15" id="801" />
-<TGConnectingPoint num="16" id="802" />
-<TGConnectingPoint num="17" id="803" />
-<TGConnectingPoint num="18" id="804" />
-<TGConnectingPoint num="19" id="805" />
-<TGConnectingPoint num="20" id="806" />
-<TGConnectingPoint num="21" id="807" />
-<TGConnectingPoint num="22" id="808" />
-<TGConnectingPoint num="23" id="809" />
-<TGConnectingPoint num="24" id="810" />
-<TGConnectingPoint num="25" id="811" />
-<TGConnectingPoint num="26" id="812" />
-<TGConnectingPoint num="27" id="813" />
-<TGConnectingPoint num="28" id="814" />
-<TGConnectingPoint num="29" id="815" />
-<TGConnectingPoint num="30" id="816" />
-<TGConnectingPoint num="31" id="817" />
-<TGConnectingPoint num="32" id="818" />
-<TGConnectingPoint num="33" id="819" />
-<TGConnectingPoint num="34" id="820" />
-<TGConnectingPoint num="35" id="821" />
-<TGConnectingPoint num="36" id="822" />
-<TGConnectingPoint num="37" id="823" />
-<TGConnectingPoint num="38" id="824" />
-<TGConnectingPoint num="39" id="825" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="828" >
+<TGConnectingPoint num="0" id="958" />
+<TGConnectingPoint num="1" id="959" />
+<TGConnectingPoint num="2" id="960" />
+<TGConnectingPoint num="3" id="961" />
+<TGConnectingPoint num="4" id="962" />
+<TGConnectingPoint num="5" id="963" />
+<TGConnectingPoint num="6" id="964" />
+<TGConnectingPoint num="7" id="965" />
+<TGConnectingPoint num="8" id="966" />
+<TGConnectingPoint num="9" id="967" />
+<TGConnectingPoint num="10" id="968" />
+<TGConnectingPoint num="11" id="969" />
+<TGConnectingPoint num="12" id="970" />
+<TGConnectingPoint num="13" id="971" />
+<TGConnectingPoint num="14" id="972" />
+<TGConnectingPoint num="15" id="973" />
+<TGConnectingPoint num="16" id="974" />
+<TGConnectingPoint num="17" id="975" />
+<TGConnectingPoint num="18" id="976" />
+<TGConnectingPoint num="19" id="977" />
+<TGConnectingPoint num="20" id="978" />
+<TGConnectingPoint num="21" id="979" />
+<TGConnectingPoint num="22" id="980" />
+<TGConnectingPoint num="23" id="981" />
+<TGConnectingPoint num="24" id="982" />
+<TGConnectingPoint num="25" id="983" />
+<TGConnectingPoint num="26" id="984" />
+<TGConnectingPoint num="27" id="985" />
+<TGConnectingPoint num="28" id="986" />
+<TGConnectingPoint num="29" id="987" />
+<TGConnectingPoint num="30" id="988" />
+<TGConnectingPoint num="31" id="989" />
+<TGConnectingPoint num="32" id="990" />
+<TGConnectingPoint num="33" id="991" />
+<TGConnectingPoint num="34" id="992" />
+<TGConnectingPoint num="35" id="993" />
+<TGConnectingPoint num="36" id="994" />
+<TGConnectingPoint num="37" id="995" />
+<TGConnectingPoint num="38" id="996" />
+<TGConnectingPoint num="39" id="997" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="1000" >
 <cdparam x="438" y="112" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="827" />
+<TGConnectingPoint num="0" id="999" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="RemoteUser" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="835" >
+<CONNECTOR type="5102" id="1007" >
 <cdparam x="408" y="246" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to Send signal" value="null" />
-<TGConnectingPoint num="0" id="834" />
-<P1  x="408" y="246" id="953" />
-<P2  x="410" y="273" id="955" />
+<TGConnectingPoint num="0" id="1006" />
+<P1  x="408" y="246" id="1125" />
+<P2  x="410" y="273" id="1127" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="833" >
-<father id="835" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1005" >
+<father id="1007" num="0" />
 <cdparam x="408" y="286" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="829" />
-<TGConnectingPoint num="1" id="830" />
-<TGConnectingPoint num="2" id="831" />
-<TGConnectingPoint num="3" id="832" />
+<TGConnectingPoint num="0" id="1001" />
+<TGConnectingPoint num="1" id="1002" />
+<TGConnectingPoint num="2" id="1003" />
+<TGConnectingPoint num="3" id="1004" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -1973,25 +1973,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="842" >
+<CONNECTOR type="5102" id="1014" >
 <cdparam x="390" y="113" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="841" />
-<P1  x="390" y="113" id="1007" />
-<P2  x="390" y="129" id="983" />
+<TGConnectingPoint num="0" id="1013" />
+<P1  x="390" y="113" id="1179" />
+<P2  x="390" y="129" id="1155" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="840" >
-<father id="842" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1012" >
+<father id="1014" num="0" />
 <cdparam x="390" y="153" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="836" />
-<TGConnectingPoint num="1" id="837" />
-<TGConnectingPoint num="2" id="838" />
-<TGConnectingPoint num="3" id="839" />
+<TGConnectingPoint num="0" id="1008" />
+<TGConnectingPoint num="1" id="1009" />
+<TGConnectingPoint num="2" id="1010" />
+<TGConnectingPoint num="3" id="1011" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2001,25 +2001,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="849" >
+<CONNECTOR type="5102" id="1021" >
 <cdparam x="477" y="179" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="848" />
-<P1  x="408" y="179" id="972" />
-<P2  x="408" y="216" id="952" />
+<TGConnectingPoint num="0" id="1020" />
+<P1  x="408" y="179" id="1144" />
+<P2  x="408" y="216" id="1124" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="847" >
-<father id="849" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1019" >
+<father id="1021" num="0" />
 <cdparam x="477" y="219" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="843" />
-<TGConnectingPoint num="1" id="844" />
-<TGConnectingPoint num="2" id="845" />
-<TGConnectingPoint num="3" id="846" />
+<TGConnectingPoint num="0" id="1015" />
+<TGConnectingPoint num="1" id="1016" />
+<TGConnectingPoint num="2" id="1017" />
+<TGConnectingPoint num="3" id="1018" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2029,25 +2029,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="856" >
+<CONNECTOR type="5102" id="1028" >
 <cdparam x="410" y="303" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="855" />
-<P1  x="410" y="303" id="956" />
-<P2  x="401" y="335" id="919" />
+<TGConnectingPoint num="0" id="1027" />
+<P1  x="410" y="303" id="1128" />
+<P2  x="401" y="335" id="1091" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="854" >
-<father id="856" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1026" >
+<father id="1028" num="0" />
 <cdparam x="410" y="343" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="850" />
-<TGConnectingPoint num="1" id="851" />
-<TGConnectingPoint num="2" id="852" />
-<TGConnectingPoint num="3" id="853" />
+<TGConnectingPoint num="0" id="1022" />
+<TGConnectingPoint num="1" id="1023" />
+<TGConnectingPoint num="2" id="1024" />
+<TGConnectingPoint num="3" id="1025" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2057,25 +2057,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="863" >
+<CONNECTOR type="5102" id="1035" >
 <cdparam x="379" y="385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="862" />
-<P1  x="379" y="385" id="939" />
-<P2  x="370" y="437" id="900" />
+<TGConnectingPoint num="0" id="1034" />
+<P1  x="379" y="385" id="1111" />
+<P2  x="370" y="437" id="1072" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="861" >
-<father id="863" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1033" >
+<father id="1035" num="0" />
 <cdparam x="379" y="425" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="857" />
-<TGConnectingPoint num="1" id="858" />
-<TGConnectingPoint num="2" id="859" />
-<TGConnectingPoint num="3" id="860" />
+<TGConnectingPoint num="0" id="1029" />
+<TGConnectingPoint num="1" id="1030" />
+<TGConnectingPoint num="2" id="1031" />
+<TGConnectingPoint num="3" id="1032" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2085,25 +2085,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="870" >
+<CONNECTOR type="5102" id="1042" >
 <cdparam x="370" y="467" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to stop state" value="null" />
-<TGConnectingPoint num="0" id="869" />
-<P1  x="370" y="467" id="901" />
-<P2  x="371" y="489" id="898" />
+<TGConnectingPoint num="0" id="1041" />
+<P1  x="370" y="467" id="1073" />
+<P2  x="371" y="489" id="1070" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="868" >
-<father id="870" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1040" >
+<father id="1042" num="0" />
 <cdparam x="370" y="507" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="864" />
-<TGConnectingPoint num="1" id="865" />
-<TGConnectingPoint num="2" id="866" />
-<TGConnectingPoint num="3" id="867" />
+<TGConnectingPoint num="0" id="1036" />
+<TGConnectingPoint num="1" id="1037" />
+<TGConnectingPoint num="2" id="1038" />
+<TGConnectingPoint num="3" id="1039" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2113,25 +2113,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="877" >
+<CONNECTOR type="5102" id="1049" >
 <cdparam x="527" y="385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="876" />
-<P1  x="505" y="385" id="942" />
-<P2  x="528" y="439" id="887" />
+<TGConnectingPoint num="0" id="1048" />
+<P1  x="505" y="385" id="1114" />
+<P2  x="528" y="439" id="1059" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="875" >
-<father id="877" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1047" >
+<father id="1049" num="0" />
 <cdparam x="527" y="425" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="871" />
-<TGConnectingPoint num="1" id="872" />
-<TGConnectingPoint num="2" id="873" />
-<TGConnectingPoint num="3" id="874" />
+<TGConnectingPoint num="0" id="1043" />
+<TGConnectingPoint num="1" id="1044" />
+<TGConnectingPoint num="2" id="1045" />
+<TGConnectingPoint num="3" id="1046" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2141,25 +2141,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="884" >
+<CONNECTOR type="5102" id="1056" >
 <cdparam x="528" y="469" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to stop state" value="null" />
-<TGConnectingPoint num="0" id="883" />
-<P1  x="528" y="469" id="888" />
-<P2  x="533" y="485" id="885" />
+<TGConnectingPoint num="0" id="1055" />
+<P1  x="528" y="469" id="1060" />
+<P2  x="533" y="485" id="1057" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="882" >
-<father id="884" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1054" >
+<father id="1056" num="0" />
 <cdparam x="528" y="509" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="878" />
-<TGConnectingPoint num="1" id="879" />
-<TGConnectingPoint num="2" id="880" />
-<TGConnectingPoint num="3" id="881" />
+<TGConnectingPoint num="0" id="1050" />
+<TGConnectingPoint num="1" id="1051" />
+<TGConnectingPoint num="2" id="1052" />
+<TGConnectingPoint num="3" id="1053" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2169,253 +2169,253 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5101" id="886" >
+<COMPONENT type="5101" id="1058" >
 <cdparam x="523" y="490" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="885" />
+<TGConnectingPoint num="0" id="1057" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="897" >
-<cdparam x="453" y="444" />
-<sizeparam width="150" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5104" id="1069" >
+<cdparam x="446" y="444" />
+<sizeparam width="165" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="missionAborted(status)" />
-<TGConnectingPoint num="0" id="887" />
-<TGConnectingPoint num="1" id="888" />
-<TGConnectingPoint num="2" id="889" />
-<TGConnectingPoint num="3" id="890" />
-<TGConnectingPoint num="4" id="891" />
-<TGConnectingPoint num="5" id="892" />
-<TGConnectingPoint num="6" id="893" />
-<TGConnectingPoint num="7" id="894" />
-<TGConnectingPoint num="8" id="895" />
-<TGConnectingPoint num="9" id="896" />
+<TGConnectingPoint num="0" id="1059" />
+<TGConnectingPoint num="1" id="1060" />
+<TGConnectingPoint num="2" id="1061" />
+<TGConnectingPoint num="3" id="1062" />
+<TGConnectingPoint num="4" id="1063" />
+<TGConnectingPoint num="5" id="1064" />
+<TGConnectingPoint num="6" id="1065" />
+<TGConnectingPoint num="7" id="1066" />
+<TGConnectingPoint num="8" id="1067" />
+<TGConnectingPoint num="9" id="1068" />
 </COMPONENT>
 
-<COMPONENT type="5101" id="899" >
+<COMPONENT type="5101" id="1071" >
 <cdparam x="361" y="494" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="898" />
+<TGConnectingPoint num="0" id="1070" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="910" >
-<cdparam x="317" y="442" />
-<sizeparam width="107" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5104" id="1082" >
+<cdparam x="312" y="442" />
+<sizeparam width="117" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="placeReached()" />
-<TGConnectingPoint num="0" id="900" />
-<TGConnectingPoint num="1" id="901" />
-<TGConnectingPoint num="2" id="902" />
-<TGConnectingPoint num="3" id="903" />
-<TGConnectingPoint num="4" id="904" />
-<TGConnectingPoint num="5" id="905" />
-<TGConnectingPoint num="6" id="906" />
-<TGConnectingPoint num="7" id="907" />
-<TGConnectingPoint num="8" id="908" />
-<TGConnectingPoint num="9" id="909" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="951" >
+<TGConnectingPoint num="0" id="1072" />
+<TGConnectingPoint num="1" id="1073" />
+<TGConnectingPoint num="2" id="1074" />
+<TGConnectingPoint num="3" id="1075" />
+<TGConnectingPoint num="4" id="1076" />
+<TGConnectingPoint num="5" id="1077" />
+<TGConnectingPoint num="6" id="1078" />
+<TGConnectingPoint num="7" id="1079" />
+<TGConnectingPoint num="8" id="1080" />
+<TGConnectingPoint num="9" id="1081" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="1123" >
 <cdparam x="359" y="335" />
 <sizeparam width="168" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForMissionResult" />
-<TGConnectingPoint num="0" id="911" />
-<TGConnectingPoint num="1" id="912" />
-<TGConnectingPoint num="2" id="913" />
-<TGConnectingPoint num="3" id="914" />
-<TGConnectingPoint num="4" id="915" />
-<TGConnectingPoint num="5" id="916" />
-<TGConnectingPoint num="6" id="917" />
-<TGConnectingPoint num="7" id="918" />
-<TGConnectingPoint num="8" id="919" />
-<TGConnectingPoint num="9" id="920" />
-<TGConnectingPoint num="10" id="921" />
-<TGConnectingPoint num="11" id="922" />
-<TGConnectingPoint num="12" id="923" />
-<TGConnectingPoint num="13" id="924" />
-<TGConnectingPoint num="14" id="925" />
-<TGConnectingPoint num="15" id="926" />
-<TGConnectingPoint num="16" id="927" />
-<TGConnectingPoint num="17" id="928" />
-<TGConnectingPoint num="18" id="929" />
-<TGConnectingPoint num="19" id="930" />
-<TGConnectingPoint num="20" id="931" />
-<TGConnectingPoint num="21" id="932" />
-<TGConnectingPoint num="22" id="933" />
-<TGConnectingPoint num="23" id="934" />
-<TGConnectingPoint num="24" id="935" />
-<TGConnectingPoint num="25" id="936" />
-<TGConnectingPoint num="26" id="937" />
-<TGConnectingPoint num="27" id="938" />
-<TGConnectingPoint num="28" id="939" />
-<TGConnectingPoint num="29" id="940" />
-<TGConnectingPoint num="30" id="941" />
-<TGConnectingPoint num="31" id="942" />
-<TGConnectingPoint num="32" id="943" />
-<TGConnectingPoint num="33" id="944" />
-<TGConnectingPoint num="34" id="945" />
-<TGConnectingPoint num="35" id="946" />
-<TGConnectingPoint num="36" id="947" />
-<TGConnectingPoint num="37" id="948" />
-<TGConnectingPoint num="38" id="949" />
-<TGConnectingPoint num="39" id="950" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5108" id="954" >
-<cdparam x="332" y="221" />
-<sizeparam width="152" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="1083" />
+<TGConnectingPoint num="1" id="1084" />
+<TGConnectingPoint num="2" id="1085" />
+<TGConnectingPoint num="3" id="1086" />
+<TGConnectingPoint num="4" id="1087" />
+<TGConnectingPoint num="5" id="1088" />
+<TGConnectingPoint num="6" id="1089" />
+<TGConnectingPoint num="7" id="1090" />
+<TGConnectingPoint num="8" id="1091" />
+<TGConnectingPoint num="9" id="1092" />
+<TGConnectingPoint num="10" id="1093" />
+<TGConnectingPoint num="11" id="1094" />
+<TGConnectingPoint num="12" id="1095" />
+<TGConnectingPoint num="13" id="1096" />
+<TGConnectingPoint num="14" id="1097" />
+<TGConnectingPoint num="15" id="1098" />
+<TGConnectingPoint num="16" id="1099" />
+<TGConnectingPoint num="17" id="1100" />
+<TGConnectingPoint num="18" id="1101" />
+<TGConnectingPoint num="19" id="1102" />
+<TGConnectingPoint num="20" id="1103" />
+<TGConnectingPoint num="21" id="1104" />
+<TGConnectingPoint num="22" id="1105" />
+<TGConnectingPoint num="23" id="1106" />
+<TGConnectingPoint num="24" id="1107" />
+<TGConnectingPoint num="25" id="1108" />
+<TGConnectingPoint num="26" id="1109" />
+<TGConnectingPoint num="27" id="1110" />
+<TGConnectingPoint num="28" id="1111" />
+<TGConnectingPoint num="29" id="1112" />
+<TGConnectingPoint num="30" id="1113" />
+<TGConnectingPoint num="31" id="1114" />
+<TGConnectingPoint num="32" id="1115" />
+<TGConnectingPoint num="33" id="1116" />
+<TGConnectingPoint num="34" id="1117" />
+<TGConnectingPoint num="35" id="1118" />
+<TGConnectingPoint num="36" id="1119" />
+<TGConnectingPoint num="37" id="1120" />
+<TGConnectingPoint num="38" id="1121" />
+<TGConnectingPoint num="39" id="1122" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5108" id="1126" >
+<cdparam x="330" y="221" />
+<sizeparam width="157" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="952" />
-<TGConnectingPoint num="1" id="953" />
+<TGConnectingPoint num="0" id="1124" />
+<TGConnectingPoint num="1" id="1125" />
 <extraparam>
 <Data variable="place" minValue="1" maxValue="3" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="965" >
-<cdparam x="370" y="278" />
-<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5103" id="1137" >
+<cdparam x="365" y="278" />
+<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="reach(place)" />
-<TGConnectingPoint num="0" id="955" />
-<TGConnectingPoint num="1" id="956" />
-<TGConnectingPoint num="2" id="957" />
-<TGConnectingPoint num="3" id="958" />
-<TGConnectingPoint num="4" id="959" />
-<TGConnectingPoint num="5" id="960" />
-<TGConnectingPoint num="6" id="961" />
-<TGConnectingPoint num="7" id="962" />
-<TGConnectingPoint num="8" id="963" />
-<TGConnectingPoint num="9" id="964" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="1006" >
+<TGConnectingPoint num="0" id="1127" />
+<TGConnectingPoint num="1" id="1128" />
+<TGConnectingPoint num="2" id="1129" />
+<TGConnectingPoint num="3" id="1130" />
+<TGConnectingPoint num="4" id="1131" />
+<TGConnectingPoint num="5" id="1132" />
+<TGConnectingPoint num="6" id="1133" />
+<TGConnectingPoint num="7" id="1134" />
+<TGConnectingPoint num="8" id="1135" />
+<TGConnectingPoint num="9" id="1136" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="1178" >
 <cdparam x="340" y="129" />
 <sizeparam width="137" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="DefininingMission" />
-<TGConnectingPoint num="0" id="966" />
-<TGConnectingPoint num="1" id="967" />
-<TGConnectingPoint num="2" id="968" />
-<TGConnectingPoint num="3" id="969" />
-<TGConnectingPoint num="4" id="970" />
-<TGConnectingPoint num="5" id="971" />
-<TGConnectingPoint num="6" id="972" />
-<TGConnectingPoint num="7" id="973" />
-<TGConnectingPoint num="8" id="974" />
-<TGConnectingPoint num="9" id="975" />
-<TGConnectingPoint num="10" id="976" />
-<TGConnectingPoint num="11" id="977" />
-<TGConnectingPoint num="12" id="978" />
-<TGConnectingPoint num="13" id="979" />
-<TGConnectingPoint num="14" id="980" />
-<TGConnectingPoint num="15" id="981" />
-<TGConnectingPoint num="16" id="982" />
-<TGConnectingPoint num="17" id="983" />
-<TGConnectingPoint num="18" id="984" />
-<TGConnectingPoint num="19" id="985" />
-<TGConnectingPoint num="20" id="986" />
-<TGConnectingPoint num="21" id="987" />
-<TGConnectingPoint num="22" id="988" />
-<TGConnectingPoint num="23" id="989" />
-<TGConnectingPoint num="24" id="990" />
-<TGConnectingPoint num="25" id="991" />
-<TGConnectingPoint num="26" id="992" />
-<TGConnectingPoint num="27" id="993" />
-<TGConnectingPoint num="28" id="994" />
-<TGConnectingPoint num="29" id="995" />
-<TGConnectingPoint num="30" id="996" />
-<TGConnectingPoint num="31" id="997" />
-<TGConnectingPoint num="32" id="998" />
-<TGConnectingPoint num="33" id="999" />
-<TGConnectingPoint num="34" id="1000" />
-<TGConnectingPoint num="35" id="1001" />
-<TGConnectingPoint num="36" id="1002" />
-<TGConnectingPoint num="37" id="1003" />
-<TGConnectingPoint num="38" id="1004" />
-<TGConnectingPoint num="39" id="1005" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="1008" >
+<TGConnectingPoint num="0" id="1138" />
+<TGConnectingPoint num="1" id="1139" />
+<TGConnectingPoint num="2" id="1140" />
+<TGConnectingPoint num="3" id="1141" />
+<TGConnectingPoint num="4" id="1142" />
+<TGConnectingPoint num="5" id="1143" />
+<TGConnectingPoint num="6" id="1144" />
+<TGConnectingPoint num="7" id="1145" />
+<TGConnectingPoint num="8" id="1146" />
+<TGConnectingPoint num="9" id="1147" />
+<TGConnectingPoint num="10" id="1148" />
+<TGConnectingPoint num="11" id="1149" />
+<TGConnectingPoint num="12" id="1150" />
+<TGConnectingPoint num="13" id="1151" />
+<TGConnectingPoint num="14" id="1152" />
+<TGConnectingPoint num="15" id="1153" />
+<TGConnectingPoint num="16" id="1154" />
+<TGConnectingPoint num="17" id="1155" />
+<TGConnectingPoint num="18" id="1156" />
+<TGConnectingPoint num="19" id="1157" />
+<TGConnectingPoint num="20" id="1158" />
+<TGConnectingPoint num="21" id="1159" />
+<TGConnectingPoint num="22" id="1160" />
+<TGConnectingPoint num="23" id="1161" />
+<TGConnectingPoint num="24" id="1162" />
+<TGConnectingPoint num="25" id="1163" />
+<TGConnectingPoint num="26" id="1164" />
+<TGConnectingPoint num="27" id="1165" />
+<TGConnectingPoint num="28" id="1166" />
+<TGConnectingPoint num="29" id="1167" />
+<TGConnectingPoint num="30" id="1168" />
+<TGConnectingPoint num="31" id="1169" />
+<TGConnectingPoint num="32" id="1170" />
+<TGConnectingPoint num="33" id="1171" />
+<TGConnectingPoint num="34" id="1172" />
+<TGConnectingPoint num="35" id="1173" />
+<TGConnectingPoint num="36" id="1174" />
+<TGConnectingPoint num="37" id="1175" />
+<TGConnectingPoint num="38" id="1176" />
+<TGConnectingPoint num="39" id="1177" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="1180" >
 <cdparam x="383" y="93" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1007" />
+<TGConnectingPoint num="0" id="1179" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="LineRecognitionAlgorithm" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="1021" >
+<CONNECTOR type="5102" id="1193" >
 <cdparam x="410" y="626" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1017" />
-<TGConnectingPoint num="1" id="1018" />
-<TGConnectingPoint num="2" id="1019" />
-<TGConnectingPoint num="3" id="1020" />
-<P1  x="410" y="626" id="1084" />
-<P2  x="474" y="166" id="1188" />
+<TGConnectingPoint num="0" id="1189" />
+<TGConnectingPoint num="1" id="1190" />
+<TGConnectingPoint num="2" id="1191" />
+<TGConnectingPoint num="3" id="1192" />
+<P1  x="410" y="626" id="1256" />
+<P2  x="474" y="166" id="1360" />
 <Point x="410" y="674" />
 <Point x="646" y="674" />
 <Point x="646" y="166" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1009" >
-<father id="1021" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1181" >
+<father id="1193" num="0" />
 <cdparam x="410" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1010" >
-<father id="1021" num="1" />
+<SUBCOMPONENT type="-1" id="1182" >
+<father id="1193" num="1" />
 <cdparam x="646" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1011" >
-<father id="1021" num="2" />
+<SUBCOMPONENT type="-1" id="1183" >
+<father id="1193" num="2" />
 <cdparam x="646" y="166" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1016" >
-<father id="1021" num="3" />
+<SUBCOMPONENT type="-1" id="1188" >
+<father id="1193" num="3" />
 <cdparam x="410" y="666" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1012" />
-<TGConnectingPoint num="1" id="1013" />
-<TGConnectingPoint num="2" id="1014" />
-<TGConnectingPoint num="3" id="1015" />
+<TGConnectingPoint num="0" id="1184" />
+<TGConnectingPoint num="1" id="1185" />
+<TGConnectingPoint num="2" id="1186" />
+<TGConnectingPoint num="3" id="1187" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2425,35 +2425,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1030" >
+<CONNECTOR type="5102" id="1202" >
 <cdparam x="367" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="1028" />
-<TGConnectingPoint num="1" id="1029" />
-<P1  x="367" y="363" id="1136" />
-<P2  x="354" y="509" id="1102" />
+<TGConnectingPoint num="0" id="1200" />
+<TGConnectingPoint num="1" id="1201" />
+<P1  x="367" y="363" id="1308" />
+<P2  x="354" y="509" id="1274" />
 <Point x="314" y="418" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1022" >
-<father id="1030" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1194" >
+<father id="1202" num="0" />
 <cdparam x="314" y="418" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1027" >
-<father id="1030" num="1" />
+<SUBCOMPONENT type="-1" id="1199" >
+<father id="1202" num="1" />
 <cdparam x="214" y="397" />
 <sizeparam width="84" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1023" />
-<TGConnectingPoint num="1" id="1024" />
-<TGConnectingPoint num="2" id="1025" />
-<TGConnectingPoint num="3" id="1026" />
+<TGConnectingPoint num="0" id="1195" />
+<TGConnectingPoint num="1" id="1196" />
+<TGConnectingPoint num="2" id="1197" />
+<TGConnectingPoint num="3" id="1198" />
 <extraparam>
 <guard value="[ foundI == 1]" />
 <afterMin value="" />
@@ -2464,25 +2464,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1037" >
+<CONNECTOR type="5102" id="1209" >
 <cdparam x="392" y="118" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="1036" />
-<P1  x="392" y="118" id="1206" />
-<P2  x="392" y="148" id="1166" />
+<TGConnectingPoint num="0" id="1208" />
+<P1  x="392" y="118" id="1378" />
+<P2  x="392" y="148" id="1338" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1035" >
-<father id="1037" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1207" >
+<father id="1209" num="0" />
 <cdparam x="392" y="158" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1031" />
-<TGConnectingPoint num="1" id="1032" />
-<TGConnectingPoint num="2" id="1033" />
-<TGConnectingPoint num="3" id="1034" />
+<TGConnectingPoint num="0" id="1203" />
+<TGConnectingPoint num="1" id="1204" />
+<TGConnectingPoint num="2" id="1205" />
+<TGConnectingPoint num="3" id="1206" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2492,25 +2492,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1044" >
+<CONNECTOR type="5102" id="1216" >
 <cdparam x="411" y="198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="1043" />
-<P1  x="392" y="198" id="1171" />
-<P2  x="392" y="219" id="1154" />
+<TGConnectingPoint num="0" id="1215" />
+<P1  x="392" y="198" id="1343" />
+<P2  x="392" y="219" id="1326" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1042" >
-<father id="1044" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1214" >
+<father id="1216" num="0" />
 <cdparam x="411" y="238" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1038" />
-<TGConnectingPoint num="1" id="1039" />
-<TGConnectingPoint num="2" id="1040" />
-<TGConnectingPoint num="3" id="1041" />
+<TGConnectingPoint num="0" id="1210" />
+<TGConnectingPoint num="1" id="1211" />
+<TGConnectingPoint num="2" id="1212" />
+<TGConnectingPoint num="3" id="1213" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2520,25 +2520,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1051" >
+<CONNECTOR type="5102" id="1223" >
 <cdparam x="392" y="266" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="1050" />
-<P1  x="392" y="249" id="1155" />
-<P2  x="392" y="281" id="1151" />
+<TGConnectingPoint num="0" id="1222" />
+<P1  x="392" y="249" id="1327" />
+<P2  x="392" y="281" id="1323" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1049" >
-<father id="1051" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1221" >
+<father id="1223" num="0" />
 <cdparam x="250" y="265" />
 <sizeparam width="293" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1045" />
-<TGConnectingPoint num="1" id="1046" />
-<TGConnectingPoint num="2" id="1047" />
-<TGConnectingPoint num="3" id="1048" />
+<TGConnectingPoint num="0" id="1217" />
+<TGConnectingPoint num="1" id="1218" />
+<TGConnectingPoint num="2" id="1219" />
+<TGConnectingPoint num="3" id="1220" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="minComputationTime" />
@@ -2548,25 +2548,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1058" >
+<CONNECTOR type="5102" id="1230" >
 <cdparam x="392" y="311" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to choice" value="null" />
-<TGConnectingPoint num="0" id="1057" />
-<P1  x="392" y="311" id="1152" />
-<P2  x="392" y="338" id="1135" />
+<TGConnectingPoint num="0" id="1229" />
+<P1  x="392" y="311" id="1324" />
+<P2  x="392" y="338" id="1307" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1056" >
-<father id="1058" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1228" >
+<father id="1230" num="0" />
 <cdparam x="392" y="351" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1052" />
-<TGConnectingPoint num="1" id="1053" />
-<TGConnectingPoint num="2" id="1054" />
-<TGConnectingPoint num="3" id="1055" />
+<TGConnectingPoint num="0" id="1224" />
+<TGConnectingPoint num="1" id="1225" />
+<TGConnectingPoint num="2" id="1226" />
+<TGConnectingPoint num="3" id="1227" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2576,25 +2576,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1065" >
+<CONNECTOR type="5102" id="1237" >
 <cdparam x="410" y="559" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1064" />
-<P1  x="410" y="559" id="1124" />
-<P2  x="410" y="596" id="1083" />
+<TGConnectingPoint num="0" id="1236" />
+<P1  x="410" y="559" id="1296" />
+<P2  x="410" y="596" id="1255" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1063" >
-<father id="1065" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1235" >
+<father id="1237" num="0" />
 <cdparam x="410" y="599" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1059" />
-<TGConnectingPoint num="1" id="1060" />
-<TGConnectingPoint num="2" id="1061" />
-<TGConnectingPoint num="3" id="1062" />
+<TGConnectingPoint num="0" id="1231" />
+<TGConnectingPoint num="1" id="1232" />
+<TGConnectingPoint num="2" id="1233" />
+<TGConnectingPoint num="3" id="1234" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2604,25 +2604,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1072" >
+<CONNECTOR type="5102" id="1244" >
 <cdparam x="417" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="1071" />
-<P1  x="417" y="363" id="1140" />
-<P2  x="507" y="407" id="1080" />
+<TGConnectingPoint num="0" id="1243" />
+<P1  x="417" y="363" id="1312" />
+<P2  x="507" y="407" id="1252" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1070" >
-<father id="1072" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1242" >
+<father id="1244" num="0" />
 <cdparam x="461" y="364" />
 <sizeparam width="74" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1066" />
-<TGConnectingPoint num="1" id="1067" />
-<TGConnectingPoint num="2" id="1068" />
-<TGConnectingPoint num="3" id="1069" />
+<TGConnectingPoint num="0" id="1238" />
+<TGConnectingPoint num="1" id="1239" />
+<TGConnectingPoint num="2" id="1240" />
+<TGConnectingPoint num="3" id="1241" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -2633,25 +2633,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1079" >
+<CONNECTOR type="5102" id="1251" >
 <cdparam x="486" y="437" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to state0" value="null" />
-<TGConnectingPoint num="0" id="1078" />
-<P1  x="507" y="437" id="1081" />
-<P2  x="469" y="509" id="1096" />
+<TGConnectingPoint num="0" id="1250" />
+<P1  x="507" y="437" id="1253" />
+<P2  x="469" y="509" id="1268" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1077" >
-<father id="1079" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1249" >
+<father id="1251" num="0" />
 <cdparam x="486" y="477" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1073" />
-<TGConnectingPoint num="1" id="1074" />
-<TGConnectingPoint num="2" id="1075" />
-<TGConnectingPoint num="3" id="1076" />
+<TGConnectingPoint num="0" id="1245" />
+<TGConnectingPoint num="1" id="1246" />
+<TGConnectingPoint num="2" id="1247" />
+<TGConnectingPoint num="3" id="1248" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2661,223 +2661,223 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5108" id="1082" >
+<COMPONENT type="5108" id="1254" >
 <cdparam x="424" y="412" />
 <sizeparam width="166" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="1080" />
-<TGConnectingPoint num="1" id="1081" />
+<TGConnectingPoint num="0" id="1252" />
+<TGConnectingPoint num="1" id="1253" />
 <extraparam>
 <Data variable="position" minValue="0" maxValue="2" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="1093" >
+<COMPONENT type="5103" id="1265" >
 <cdparam x="342" y="601" />
 <sizeparam width="136" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="result(found, position)" />
-<TGConnectingPoint num="0" id="1083" />
-<TGConnectingPoint num="1" id="1084" />
-<TGConnectingPoint num="2" id="1085" />
-<TGConnectingPoint num="3" id="1086" />
-<TGConnectingPoint num="4" id="1087" />
-<TGConnectingPoint num="5" id="1088" />
-<TGConnectingPoint num="6" id="1089" />
-<TGConnectingPoint num="7" id="1090" />
-<TGConnectingPoint num="8" id="1091" />
-<TGConnectingPoint num="9" id="1092" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="1134" >
+<TGConnectingPoint num="0" id="1255" />
+<TGConnectingPoint num="1" id="1256" />
+<TGConnectingPoint num="2" id="1257" />
+<TGConnectingPoint num="3" id="1258" />
+<TGConnectingPoint num="4" id="1259" />
+<TGConnectingPoint num="5" id="1260" />
+<TGConnectingPoint num="6" id="1261" />
+<TGConnectingPoint num="7" id="1262" />
+<TGConnectingPoint num="8" id="1263" />
+<TGConnectingPoint num="9" id="1264" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="1306" >
 <cdparam x="316" y="509" />
 <sizeparam width="153" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingDone" />
-<TGConnectingPoint num="0" id="1094" />
-<TGConnectingPoint num="1" id="1095" />
-<TGConnectingPoint num="2" id="1096" />
-<TGConnectingPoint num="3" id="1097" />
-<TGConnectingPoint num="4" id="1098" />
-<TGConnectingPoint num="5" id="1099" />
-<TGConnectingPoint num="6" id="1100" />
-<TGConnectingPoint num="7" id="1101" />
-<TGConnectingPoint num="8" id="1102" />
-<TGConnectingPoint num="9" id="1103" />
-<TGConnectingPoint num="10" id="1104" />
-<TGConnectingPoint num="11" id="1105" />
-<TGConnectingPoint num="12" id="1106" />
-<TGConnectingPoint num="13" id="1107" />
-<TGConnectingPoint num="14" id="1108" />
-<TGConnectingPoint num="15" id="1109" />
-<TGConnectingPoint num="16" id="1110" />
-<TGConnectingPoint num="17" id="1111" />
-<TGConnectingPoint num="18" id="1112" />
-<TGConnectingPoint num="19" id="1113" />
-<TGConnectingPoint num="20" id="1114" />
-<TGConnectingPoint num="21" id="1115" />
-<TGConnectingPoint num="22" id="1116" />
-<TGConnectingPoint num="23" id="1117" />
-<TGConnectingPoint num="24" id="1118" />
-<TGConnectingPoint num="25" id="1119" />
-<TGConnectingPoint num="26" id="1120" />
-<TGConnectingPoint num="27" id="1121" />
-<TGConnectingPoint num="28" id="1122" />
-<TGConnectingPoint num="29" id="1123" />
-<TGConnectingPoint num="30" id="1124" />
-<TGConnectingPoint num="31" id="1125" />
-<TGConnectingPoint num="32" id="1126" />
-<TGConnectingPoint num="33" id="1127" />
-<TGConnectingPoint num="34" id="1128" />
-<TGConnectingPoint num="35" id="1129" />
-<TGConnectingPoint num="36" id="1130" />
-<TGConnectingPoint num="37" id="1131" />
-<TGConnectingPoint num="38" id="1132" />
-<TGConnectingPoint num="39" id="1133" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="1150" >
+<TGConnectingPoint num="0" id="1266" />
+<TGConnectingPoint num="1" id="1267" />
+<TGConnectingPoint num="2" id="1268" />
+<TGConnectingPoint num="3" id="1269" />
+<TGConnectingPoint num="4" id="1270" />
+<TGConnectingPoint num="5" id="1271" />
+<TGConnectingPoint num="6" id="1272" />
+<TGConnectingPoint num="7" id="1273" />
+<TGConnectingPoint num="8" id="1274" />
+<TGConnectingPoint num="9" id="1275" />
+<TGConnectingPoint num="10" id="1276" />
+<TGConnectingPoint num="11" id="1277" />
+<TGConnectingPoint num="12" id="1278" />
+<TGConnectingPoint num="13" id="1279" />
+<TGConnectingPoint num="14" id="1280" />
+<TGConnectingPoint num="15" id="1281" />
+<TGConnectingPoint num="16" id="1282" />
+<TGConnectingPoint num="17" id="1283" />
+<TGConnectingPoint num="18" id="1284" />
+<TGConnectingPoint num="19" id="1285" />
+<TGConnectingPoint num="20" id="1286" />
+<TGConnectingPoint num="21" id="1287" />
+<TGConnectingPoint num="22" id="1288" />
+<TGConnectingPoint num="23" id="1289" />
+<TGConnectingPoint num="24" id="1290" />
+<TGConnectingPoint num="25" id="1291" />
+<TGConnectingPoint num="26" id="1292" />
+<TGConnectingPoint num="27" id="1293" />
+<TGConnectingPoint num="28" id="1294" />
+<TGConnectingPoint num="29" id="1295" />
+<TGConnectingPoint num="30" id="1296" />
+<TGConnectingPoint num="31" id="1297" />
+<TGConnectingPoint num="32" id="1298" />
+<TGConnectingPoint num="33" id="1299" />
+<TGConnectingPoint num="34" id="1300" />
+<TGConnectingPoint num="35" id="1301" />
+<TGConnectingPoint num="36" id="1302" />
+<TGConnectingPoint num="37" id="1303" />
+<TGConnectingPoint num="38" id="1304" />
+<TGConnectingPoint num="39" id="1305" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="1322" >
 <cdparam x="377" y="348" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1135" />
-<TGConnectingPoint num="1" id="1136" />
-<TGConnectingPoint num="2" id="1137" />
-<TGConnectingPoint num="3" id="1138" />
-<TGConnectingPoint num="4" id="1139" />
-<TGConnectingPoint num="5" id="1140" />
-<TGConnectingPoint num="6" id="1141" />
-<TGConnectingPoint num="7" id="1142" />
-<TGConnectingPoint num="8" id="1143" />
-<TGConnectingPoint num="9" id="1144" />
-<TGConnectingPoint num="10" id="1145" />
-<TGConnectingPoint num="11" id="1146" />
-<TGConnectingPoint num="12" id="1147" />
-<TGConnectingPoint num="13" id="1148" />
-<TGConnectingPoint num="14" id="1149" />
-</COMPONENT>
-
-<COMPONENT type="5108" id="1153" >
+<TGConnectingPoint num="0" id="1307" />
+<TGConnectingPoint num="1" id="1308" />
+<TGConnectingPoint num="2" id="1309" />
+<TGConnectingPoint num="3" id="1310" />
+<TGConnectingPoint num="4" id="1311" />
+<TGConnectingPoint num="5" id="1312" />
+<TGConnectingPoint num="6" id="1313" />
+<TGConnectingPoint num="7" id="1314" />
+<TGConnectingPoint num="8" id="1315" />
+<TGConnectingPoint num="9" id="1316" />
+<TGConnectingPoint num="10" id="1317" />
+<TGConnectingPoint num="11" id="1318" />
+<TGConnectingPoint num="12" id="1319" />
+<TGConnectingPoint num="13" id="1320" />
+<TGConnectingPoint num="14" id="1321" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="1325" >
 <cdparam x="310" y="286" />
 <sizeparam width="165" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="1151" />
-<TGConnectingPoint num="1" id="1152" />
+<TGConnectingPoint num="0" id="1323" />
+<TGConnectingPoint num="1" id="1324" />
 <extraparam>
 <Data variable="foundI" minValue="1" maxValue="10" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5104" id="1164" >
+<COMPONENT type="5104" id="1336" >
 <cdparam x="350" y="224" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="compute(p)" />
-<TGConnectingPoint num="0" id="1154" />
-<TGConnectingPoint num="1" id="1155" />
-<TGConnectingPoint num="2" id="1156" />
-<TGConnectingPoint num="3" id="1157" />
-<TGConnectingPoint num="4" id="1158" />
-<TGConnectingPoint num="5" id="1159" />
-<TGConnectingPoint num="6" id="1160" />
-<TGConnectingPoint num="7" id="1161" />
-<TGConnectingPoint num="8" id="1162" />
-<TGConnectingPoint num="9" id="1163" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="1205" >
+<TGConnectingPoint num="0" id="1326" />
+<TGConnectingPoint num="1" id="1327" />
+<TGConnectingPoint num="2" id="1328" />
+<TGConnectingPoint num="3" id="1329" />
+<TGConnectingPoint num="4" id="1330" />
+<TGConnectingPoint num="5" id="1331" />
+<TGConnectingPoint num="6" id="1332" />
+<TGConnectingPoint num="7" id="1333" />
+<TGConnectingPoint num="8" id="1334" />
+<TGConnectingPoint num="9" id="1335" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="1377" >
 <cdparam x="310" y="148" />
 <sizeparam width="164" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForPicture" />
-<TGConnectingPoint num="0" id="1165" />
-<TGConnectingPoint num="1" id="1166" />
-<TGConnectingPoint num="2" id="1167" />
-<TGConnectingPoint num="3" id="1168" />
-<TGConnectingPoint num="4" id="1169" />
-<TGConnectingPoint num="5" id="1170" />
-<TGConnectingPoint num="6" id="1171" />
-<TGConnectingPoint num="7" id="1172" />
-<TGConnectingPoint num="8" id="1173" />
-<TGConnectingPoint num="9" id="1174" />
-<TGConnectingPoint num="10" id="1175" />
-<TGConnectingPoint num="11" id="1176" />
-<TGConnectingPoint num="12" id="1177" />
-<TGConnectingPoint num="13" id="1178" />
-<TGConnectingPoint num="14" id="1179" />
-<TGConnectingPoint num="15" id="1180" />
-<TGConnectingPoint num="16" id="1181" />
-<TGConnectingPoint num="17" id="1182" />
-<TGConnectingPoint num="18" id="1183" />
-<TGConnectingPoint num="19" id="1184" />
-<TGConnectingPoint num="20" id="1185" />
-<TGConnectingPoint num="21" id="1186" />
-<TGConnectingPoint num="22" id="1187" />
-<TGConnectingPoint num="23" id="1188" />
-<TGConnectingPoint num="24" id="1189" />
-<TGConnectingPoint num="25" id="1190" />
-<TGConnectingPoint num="26" id="1191" />
-<TGConnectingPoint num="27" id="1192" />
-<TGConnectingPoint num="28" id="1193" />
-<TGConnectingPoint num="29" id="1194" />
-<TGConnectingPoint num="30" id="1195" />
-<TGConnectingPoint num="31" id="1196" />
-<TGConnectingPoint num="32" id="1197" />
-<TGConnectingPoint num="33" id="1198" />
-<TGConnectingPoint num="34" id="1199" />
-<TGConnectingPoint num="35" id="1200" />
-<TGConnectingPoint num="36" id="1201" />
-<TGConnectingPoint num="37" id="1202" />
-<TGConnectingPoint num="38" id="1203" />
-<TGConnectingPoint num="39" id="1204" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="1207" >
+<TGConnectingPoint num="0" id="1337" />
+<TGConnectingPoint num="1" id="1338" />
+<TGConnectingPoint num="2" id="1339" />
+<TGConnectingPoint num="3" id="1340" />
+<TGConnectingPoint num="4" id="1341" />
+<TGConnectingPoint num="5" id="1342" />
+<TGConnectingPoint num="6" id="1343" />
+<TGConnectingPoint num="7" id="1344" />
+<TGConnectingPoint num="8" id="1345" />
+<TGConnectingPoint num="9" id="1346" />
+<TGConnectingPoint num="10" id="1347" />
+<TGConnectingPoint num="11" id="1348" />
+<TGConnectingPoint num="12" id="1349" />
+<TGConnectingPoint num="13" id="1350" />
+<TGConnectingPoint num="14" id="1351" />
+<TGConnectingPoint num="15" id="1352" />
+<TGConnectingPoint num="16" id="1353" />
+<TGConnectingPoint num="17" id="1354" />
+<TGConnectingPoint num="18" id="1355" />
+<TGConnectingPoint num="19" id="1356" />
+<TGConnectingPoint num="20" id="1357" />
+<TGConnectingPoint num="21" id="1358" />
+<TGConnectingPoint num="22" id="1359" />
+<TGConnectingPoint num="23" id="1360" />
+<TGConnectingPoint num="24" id="1361" />
+<TGConnectingPoint num="25" id="1362" />
+<TGConnectingPoint num="26" id="1363" />
+<TGConnectingPoint num="27" id="1364" />
+<TGConnectingPoint num="28" id="1365" />
+<TGConnectingPoint num="29" id="1366" />
+<TGConnectingPoint num="30" id="1367" />
+<TGConnectingPoint num="31" id="1368" />
+<TGConnectingPoint num="32" id="1369" />
+<TGConnectingPoint num="33" id="1370" />
+<TGConnectingPoint num="34" id="1371" />
+<TGConnectingPoint num="35" id="1372" />
+<TGConnectingPoint num="36" id="1373" />
+<TGConnectingPoint num="37" id="1374" />
+<TGConnectingPoint num="38" id="1375" />
+<TGConnectingPoint num="39" id="1376" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="1379" >
 <cdparam x="385" y="98" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1206" />
+<TGConnectingPoint num="0" id="1378" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="MainController" minX="10" maxX="2400" minY="10" maxY="1400" >
-<CONNECTOR type="5102" id="1214" >
+<CONNECTOR type="5102" id="1386" >
 <cdparam x="1197" y="514" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1213" />
-<P1  x="1192" y="524" id="1698" />
-<P2  x="1008" y="599" id="1896" />
+<TGConnectingPoint num="0" id="1385" />
+<P1  x="1192" y="524" id="1870" />
+<P2  x="1008" y="599" id="2068" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1212" >
-<father id="1214" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1384" >
+<father id="1386" num="0" />
 <cdparam x="1197" y="554" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1208" />
-<TGConnectingPoint num="1" id="1209" />
-<TGConnectingPoint num="2" id="1210" />
-<TGConnectingPoint num="3" id="1211" />
+<TGConnectingPoint num="0" id="1380" />
+<TGConnectingPoint num="1" id="1381" />
+<TGConnectingPoint num="2" id="1382" />
+<TGConnectingPoint num="3" id="1383" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2887,25 +2887,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1221" >
+<CONNECTOR type="5102" id="1393" >
 <cdparam x="1192" y="471" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1220" />
-<P1  x="1192" y="471" id="1472" />
-<P2  x="1192" y="494" id="1697" />
+<TGConnectingPoint num="0" id="1392" />
+<P1  x="1192" y="471" id="1644" />
+<P2  x="1192" y="494" id="1869" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1219" >
-<father id="1221" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1391" >
+<father id="1393" num="0" />
 <cdparam x="1192" y="511" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1215" />
-<TGConnectingPoint num="1" id="1216" />
-<TGConnectingPoint num="2" id="1217" />
-<TGConnectingPoint num="3" id="1218" />
+<TGConnectingPoint num="0" id="1387" />
+<TGConnectingPoint num="1" id="1388" />
+<TGConnectingPoint num="2" id="1389" />
+<TGConnectingPoint num="3" id="1390" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2915,25 +2915,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1228" >
+<CONNECTOR type="5102" id="1400" >
 <cdparam x="652" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1227" />
-<P1  x="652" y="649" id="1923" />
-<P2  x="483" y="834" id="1675" />
+<TGConnectingPoint num="0" id="1399" />
+<P1  x="652" y="649" id="2095" />
+<P2  x="483" y="834" id="1847" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1226" >
-<father id="1228" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1398" >
+<father id="1400" num="0" />
 <cdparam x="251" y="757" />
 <sizeparam width="506" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1222" />
-<TGConnectingPoint num="1" id="1223" />
-<TGConnectingPoint num="2" id="1224" />
-<TGConnectingPoint num="3" id="1225" />
+<TGConnectingPoint num="0" id="1394" />
+<TGConnectingPoint num="1" id="1395" />
+<TGConnectingPoint num="2" id="1396" />
+<TGConnectingPoint num="3" id="1397" />
 <extraparam>
 <guard value="[ (hasCurrentPicture == true) and ((currentPicture.bottom == false) and (mode == 2))]" />
 <afterMin value="" />
@@ -2943,25 +2943,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1235" >
+<CONNECTOR type="5102" id="1407" >
 <cdparam x="1719" y="948" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1234" />
-<P1  x="1720" y="948" id="1483" />
-<P2  x="1720" y="962" id="1550" />
+<TGConnectingPoint num="0" id="1406" />
+<P1  x="1720" y="948" id="1655" />
+<P2  x="1720" y="962" id="1722" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1233" >
-<father id="1235" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1405" >
+<father id="1407" num="0" />
 <cdparam x="1719" y="988" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1229" />
-<TGConnectingPoint num="1" id="1230" />
-<TGConnectingPoint num="2" id="1231" />
-<TGConnectingPoint num="3" id="1232" />
+<TGConnectingPoint num="0" id="1401" />
+<TGConnectingPoint num="1" id="1402" />
+<TGConnectingPoint num="2" id="1403" />
+<TGConnectingPoint num="3" id="1404" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2971,25 +2971,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1242" >
+<CONNECTOR type="5102" id="1414" >
 <cdparam x="1719" y="910" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1241" />
-<P1  x="1720" y="909" id="1539" />
-<P2  x="1720" y="918" id="1482" />
+<TGConnectingPoint num="0" id="1413" />
+<P1  x="1720" y="909" id="1711" />
+<P2  x="1720" y="918" id="1654" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1240" >
-<father id="1242" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1412" >
+<father id="1414" num="0" />
 <cdparam x="1844" y="908" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1236" />
-<TGConnectingPoint num="1" id="1237" />
-<TGConnectingPoint num="2" id="1238" />
-<TGConnectingPoint num="3" id="1239" />
+<TGConnectingPoint num="0" id="1408" />
+<TGConnectingPoint num="1" id="1409" />
+<TGConnectingPoint num="2" id="1410" />
+<TGConnectingPoint num="3" id="1411" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -2999,25 +2999,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1249" >
+<CONNECTOR type="5102" id="1421" >
 <cdparam x="1725" y="798" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="1248" />
-<P1  x="1725" y="798" id="1495" />
-<P2  x="1775" y="859" id="1528" />
+<TGConnectingPoint num="0" id="1420" />
+<P1  x="1725" y="798" id="1667" />
+<P2  x="1775" y="859" id="1700" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1247" >
-<father id="1249" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1419" >
+<father id="1421" num="0" />
 <cdparam x="1753" y="811" />
 <sizeparam width="105" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1243" />
-<TGConnectingPoint num="1" id="1244" />
-<TGConnectingPoint num="2" id="1245" />
-<TGConnectingPoint num="3" id="1246" />
+<TGConnectingPoint num="0" id="1415" />
+<TGConnectingPoint num="1" id="1416" />
+<TGConnectingPoint num="2" id="1417" />
+<TGConnectingPoint num="3" id="1418" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3029,35 +3029,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1258" >
+<CONNECTOR type="5102" id="1430" >
 <cdparam x="1604" y="802" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="1256" />
-<TGConnectingPoint num="1" id="1257" />
-<P1  x="1561" y="718" id="1562" />
-<P2  x="1103" y="991" id="1879" />
+<TGConnectingPoint num="0" id="1428" />
+<TGConnectingPoint num="1" id="1429" />
+<P1  x="1561" y="718" id="1734" />
+<P2  x="1103" y="991" id="2051" />
 <Point x="1561" y="991" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1250" >
-<father id="1258" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1422" >
+<father id="1430" num="0" />
 <cdparam x="1561" y="991" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1255" >
-<father id="1258" num="1" />
+<SUBCOMPONENT type="-1" id="1427" >
+<father id="1430" num="1" />
 <cdparam x="1513" y="826" />
 <sizeparam width="39" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1251" />
-<TGConnectingPoint num="1" id="1252" />
-<TGConnectingPoint num="2" id="1253" />
-<TGConnectingPoint num="3" id="1254" />
+<TGConnectingPoint num="0" id="1423" />
+<TGConnectingPoint num="1" id="1424" />
+<TGConnectingPoint num="2" id="1425" />
+<TGConnectingPoint num="3" id="1426" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -3067,35 +3067,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1267" >
+<CONNECTOR type="5102" id="1439" >
 <cdparam x="1720" y="902" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1265" />
-<TGConnectingPoint num="1" id="1266" />
-<P1  x="1720" y="992" id="1551" />
-<P2  x="1103" y="1003" id="1880" />
+<TGConnectingPoint num="0" id="1437" />
+<TGConnectingPoint num="1" id="1438" />
+<P1  x="1720" y="992" id="1723" />
+<P2  x="1103" y="1003" id="2052" />
 <Point x="1720" y="1003" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1259" >
-<father id="1267" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1431" >
+<father id="1439" num="0" />
 <cdparam x="1720" y="1003" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1264" >
-<father id="1267" num="1" />
+<SUBCOMPONENT type="-1" id="1436" >
+<father id="1439" num="1" />
 <cdparam x="1720" y="942" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1260" />
-<TGConnectingPoint num="1" id="1261" />
-<TGConnectingPoint num="2" id="1262" />
-<TGConnectingPoint num="3" id="1263" />
+<TGConnectingPoint num="0" id="1432" />
+<TGConnectingPoint num="1" id="1433" />
+<TGConnectingPoint num="2" id="1434" />
+<TGConnectingPoint num="3" id="1435" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3105,25 +3105,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1274" >
+<CONNECTOR type="5102" id="1446" >
 <cdparam x="1654" y="802" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1273" />
-<P1  x="1611" y="718" id="1563" />
-<P2  x="1700" y="773" id="1493" />
+<TGConnectingPoint num="0" id="1445" />
+<P1  x="1611" y="718" id="1735" />
+<P2  x="1700" y="773" id="1665" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1272" >
-<father id="1274" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1444" >
+<father id="1446" num="0" />
 <cdparam x="1703" y="704" />
 <sizeparam width="207" height="75" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1268" />
-<TGConnectingPoint num="1" id="1269" />
-<TGConnectingPoint num="2" id="1270" />
-<TGConnectingPoint num="3" id="1271" />
+<TGConnectingPoint num="0" id="1440" />
+<TGConnectingPoint num="1" id="1441" />
+<TGConnectingPoint num="2" id="1442" />
+<TGConnectingPoint num="3" id="1443" />
 <extraparam>
 <guard value="[ (found==true) and (mode == 2)]" />
 <afterMin value="" />
@@ -3137,25 +3137,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1281" >
+<CONNECTOR type="5102" id="1453" >
 <cdparam x="1008" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="1280" />
-<P1  x="1008" y="649" id="1901" />
-<P2  x="1586" y="649" id="1577" />
+<TGConnectingPoint num="0" id="1452" />
+<P1  x="1008" y="649" id="2073" />
+<P2  x="1586" y="649" id="1749" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1279" >
-<father id="1281" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1451" >
+<father id="1453" num="0" />
 <cdparam x="1008" y="689" />
 <sizeparam width="81" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1275" />
-<TGConnectingPoint num="1" id="1276" />
-<TGConnectingPoint num="2" id="1277" />
-<TGConnectingPoint num="3" id="1278" />
+<TGConnectingPoint num="0" id="1447" />
+<TGConnectingPoint num="1" id="1448" />
+<TGConnectingPoint num="2" id="1449" />
+<TGConnectingPoint num="3" id="1450" />
 <extraparam>
 <guard value="[ mode == 2]" />
 <afterMin value="" />
@@ -3165,25 +3165,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1288" >
+<CONNECTOR type="5102" id="1460" >
 <cdparam x="1249" y="982" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1287" />
-<P1  x="1249" y="985" id="1605" />
-<P2  x="1103" y="985" id="1857" />
+<TGConnectingPoint num="0" id="1459" />
+<P1  x="1249" y="985" id="1777" />
+<P2  x="1103" y="985" id="2029" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1286" >
-<father id="1288" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1458" >
+<father id="1460" num="0" />
 <cdparam x="1249" y="1022" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1282" />
-<TGConnectingPoint num="1" id="1283" />
-<TGConnectingPoint num="2" id="1284" />
-<TGConnectingPoint num="3" id="1285" />
+<TGConnectingPoint num="0" id="1454" />
+<TGConnectingPoint num="1" id="1455" />
+<TGConnectingPoint num="2" id="1456" />
+<TGConnectingPoint num="3" id="1457" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3193,25 +3193,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1295" >
+<CONNECTOR type="5102" id="1467" >
 <cdparam x="1224" y="789" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="1294" />
-<P1  x="1224" y="789" id="1589" />
-<P2  x="1103" y="960" id="1855" />
+<TGConnectingPoint num="0" id="1466" />
+<P1  x="1224" y="789" id="1761" />
+<P2  x="1103" y="960" id="2027" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1293" >
-<father id="1295" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1465" >
+<father id="1467" num="0" />
 <cdparam x="1134" y="832" />
 <sizeparam width="172" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1289" />
-<TGConnectingPoint num="1" id="1290" />
-<TGConnectingPoint num="2" id="1291" />
-<TGConnectingPoint num="3" id="1292" />
+<TGConnectingPoint num="0" id="1461" />
+<TGConnectingPoint num="1" id="1462" />
+<TGConnectingPoint num="2" id="1463" />
+<TGConnectingPoint num="3" id="1464" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -3221,25 +3221,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1302" >
+<CONNECTOR type="5102" id="1474" >
 <cdparam x="1249" y="814" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1301" />
-<P1  x="1249" y="814" id="1591" />
-<P2  x="1249" y="955" id="1604" />
+<TGConnectingPoint num="0" id="1473" />
+<P1  x="1249" y="814" id="1763" />
+<P2  x="1249" y="955" id="1776" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1300" >
-<father id="1302" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1472" >
+<father id="1474" num="0" />
 <cdparam x="1258" y="833" />
 <sizeparam width="215" height="75" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1296" />
-<TGConnectingPoint num="1" id="1297" />
-<TGConnectingPoint num="2" id="1298" />
-<TGConnectingPoint num="3" id="1299" />
+<TGConnectingPoint num="0" id="1468" />
+<TGConnectingPoint num="1" id="1469" />
+<TGConnectingPoint num="2" id="1470" />
+<TGConnectingPoint num="3" id="1471" />
 <extraparam>
 <guard value="[ (found == true) and (mode == 2) ]" />
 <afterMin value="" />
@@ -3253,25 +3253,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1309" >
+<CONNECTOR type="5102" id="1481" >
 <cdparam x="725" y="791" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="1308" />
-<P1  x="725" y="791" id="1629" />
-<P2  x="853" y="960" id="1862" />
+<TGConnectingPoint num="0" id="1480" />
+<P1  x="725" y="791" id="1801" />
+<P2  x="853" y="960" id="2034" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1307" >
-<father id="1309" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1479" >
+<father id="1481" num="0" />
 <cdparam x="715" y="853" />
 <sizeparam width="190" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1303" />
-<TGConnectingPoint num="1" id="1304" />
-<TGConnectingPoint num="2" id="1305" />
-<TGConnectingPoint num="3" id="1306" />
+<TGConnectingPoint num="0" id="1475" />
+<TGConnectingPoint num="1" id="1476" />
+<TGConnectingPoint num="2" id="1477" />
+<TGConnectingPoint num="3" id="1478" />
 <extraparam>
 <guard value="[ (mode == 2) or (mode == 4) ]" />
 <afterMin value="" />
@@ -3281,25 +3281,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1316" >
+<CONNECTOR type="5102" id="1488" >
 <cdparam x="750" y="766" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="1315" />
-<P1  x="750" y="766" id="1628" />
-<P2  x="991" y="858" id="1936" />
+<TGConnectingPoint num="0" id="1487" />
+<P1  x="750" y="766" id="1800" />
+<P2  x="991" y="858" id="2108" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1314" >
-<father id="1316" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1486" >
+<father id="1488" num="0" />
 <cdparam x="790" y="767" />
 <sizeparam width="81" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1310" />
-<TGConnectingPoint num="1" id="1311" />
-<TGConnectingPoint num="2" id="1312" />
-<TGConnectingPoint num="3" id="1313" />
+<TGConnectingPoint num="0" id="1482" />
+<TGConnectingPoint num="1" id="1483" />
+<TGConnectingPoint num="2" id="1484" />
+<TGConnectingPoint num="3" id="1485" />
 <extraparam>
 <guard value="[ mode == 3]" />
 <afterMin value="" />
@@ -3310,25 +3310,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1323" >
+<CONNECTOR type="5102" id="1495" >
 <cdparam x="882" y="767" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="1322" />
-<P1  x="700" y="766" id="1627" />
-<P2  x="603" y="960" id="1854" />
+<TGConnectingPoint num="0" id="1494" />
+<P1  x="700" y="766" id="1799" />
+<P2  x="603" y="960" id="2026" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1321" >
-<father id="1323" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1493" >
+<father id="1495" num="0" />
 <cdparam x="531" y="815" />
 <sizeparam width="291" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1317" />
-<TGConnectingPoint num="1" id="1318" />
-<TGConnectingPoint num="2" id="1319" />
-<TGConnectingPoint num="3" id="1320" />
+<TGConnectingPoint num="0" id="1489" />
+<TGConnectingPoint num="1" id="1490" />
+<TGConnectingPoint num="2" id="1491" />
+<TGConnectingPoint num="3" id="1492" />
 <extraparam>
 <guard value="[ (mode == 1) or ((mode == 5) or (mode == 6))]" />
 <afterMin value="" />
@@ -3339,25 +3339,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1330" >
+<CONNECTOR type="5102" id="1502" >
 <cdparam x="726" y="378" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1329" />
-<P1  x="726" y="400" id="1654" />
-<P2  x="726" y="457" id="1778" />
+<TGConnectingPoint num="0" id="1501" />
+<P1  x="726" y="400" id="1826" />
+<P2  x="726" y="457" id="1950" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1328" >
-<father id="1330" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1500" >
+<father id="1502" num="0" />
 <cdparam x="726" y="418" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1324" />
-<TGConnectingPoint num="1" id="1325" />
-<TGConnectingPoint num="2" id="1326" />
-<TGConnectingPoint num="3" id="1327" />
+<TGConnectingPoint num="0" id="1496" />
+<TGConnectingPoint num="1" id="1497" />
+<TGConnectingPoint num="2" id="1498" />
+<TGConnectingPoint num="3" id="1499" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3367,25 +3367,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1337" >
+<CONNECTOR type="5102" id="1509" >
 <cdparam x="473" y="864" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1336" />
-<P1  x="483" y="864" id="1676" />
-<P2  x="473" y="960" id="1870" />
+<TGConnectingPoint num="0" id="1508" />
+<P1  x="483" y="864" id="1848" />
+<P2  x="473" y="960" id="2042" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1335" >
-<father id="1337" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1507" >
+<father id="1509" num="0" />
 <cdparam x="445" y="902" />
 <sizeparam width="147" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1331" />
-<TGConnectingPoint num="1" id="1332" />
-<TGConnectingPoint num="2" id="1333" />
-<TGConnectingPoint num="3" id="1334" />
+<TGConnectingPoint num="0" id="1503" />
+<TGConnectingPoint num="1" id="1504" />
+<TGConnectingPoint num="2" id="1505" />
+<TGConnectingPoint num="3" id="1506" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3396,25 +3396,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1344" >
+<CONNECTOR type="5102" id="1516" >
 <cdparam x="212" y="864" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1343" />
-<P1  x="223" y="865" id="1687" />
-<P2  x="223" y="960" id="1869" />
+<TGConnectingPoint num="0" id="1515" />
+<P1  x="223" y="865" id="1859" />
+<P2  x="223" y="960" id="2041" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1342" >
-<father id="1344" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1514" >
+<father id="1516" num="0" />
 <cdparam x="212" y="904" />
 <sizeparam width="147" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1338" />
-<TGConnectingPoint num="1" id="1339" />
-<TGConnectingPoint num="2" id="1340" />
-<TGConnectingPoint num="3" id="1341" />
+<TGConnectingPoint num="0" id="1510" />
+<TGConnectingPoint num="1" id="1511" />
+<TGConnectingPoint num="2" id="1512" />
+<TGConnectingPoint num="3" id="1513" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3425,25 +3425,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1351" >
+<CONNECTOR type="5102" id="1523" >
 <cdparam x="778" y="482" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="1350" />
-<P1  x="776" y="482" id="1781" />
-<P2  x="1106" y="370" id="1739" />
+<TGConnectingPoint num="0" id="1522" />
+<P1  x="776" y="482" id="1953" />
+<P2  x="1106" y="370" id="1911" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1349" >
-<father id="1351" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1521" >
+<father id="1523" num="0" />
 <cdparam x="937" y="456" />
 <sizeparam width="59" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1345" />
-<TGConnectingPoint num="1" id="1346" />
-<TGConnectingPoint num="2" id="1347" />
-<TGConnectingPoint num="3" id="1348" />
+<TGConnectingPoint num="0" id="1517" />
+<TGConnectingPoint num="1" id="1518" />
+<TGConnectingPoint num="2" id="1519" />
+<TGConnectingPoint num="3" id="1520" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -3454,25 +3454,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1358" >
+<CONNECTOR type="5102" id="1530" >
 <cdparam x="727" y="37" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="1357" />
-<P1  x="727" y="37" id="1851" />
-<P2  x="727" y="75" id="1977" />
+<TGConnectingPoint num="0" id="1529" />
+<P1  x="727" y="37" id="2023" />
+<P2  x="727" y="75" id="2149" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1356" >
-<father id="1358" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1528" >
+<father id="1530" num="0" />
 <cdparam x="733" y="59" />
 <sizeparam width="59" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1352" />
-<TGConnectingPoint num="1" id="1353" />
-<TGConnectingPoint num="2" id="1354" />
-<TGConnectingPoint num="3" id="1355" />
+<TGConnectingPoint num="0" id="1524" />
+<TGConnectingPoint num="1" id="1525" />
+<TGConnectingPoint num="2" id="1526" />
+<TGConnectingPoint num="3" id="1527" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3483,25 +3483,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1365" >
+<CONNECTOR type="5102" id="1537" >
 <cdparam x="745" y="119" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="1364" />
-<P1  x="727" y="125" id="1982" />
-<P2  x="727" y="150" id="1840" />
+<TGConnectingPoint num="0" id="1536" />
+<P1  x="727" y="125" id="2154" />
+<P2  x="727" y="150" id="2012" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1363" >
-<father id="1365" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1535" >
+<father id="1537" num="0" />
 <cdparam x="745" y="159" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1359" />
-<TGConnectingPoint num="1" id="1360" />
-<TGConnectingPoint num="2" id="1361" />
-<TGConnectingPoint num="3" id="1362" />
+<TGConnectingPoint num="0" id="1531" />
+<TGConnectingPoint num="1" id="1532" />
+<TGConnectingPoint num="2" id="1533" />
+<TGConnectingPoint num="3" id="1534" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3511,25 +3511,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1372" >
+<CONNECTOR type="5102" id="1544" >
 <cdparam x="727" y="257" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1371" />
-<P1  x="727" y="180" id="1841" />
-<P2  x="727" y="204" id="1829" />
+<TGConnectingPoint num="0" id="1543" />
+<P1  x="727" y="180" id="2013" />
+<P2  x="727" y="204" id="2001" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1370" >
-<father id="1372" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1542" >
+<father id="1544" num="0" />
 <cdparam x="746" y="191" />
 <sizeparam width="147" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1366" />
-<TGConnectingPoint num="1" id="1367" />
-<TGConnectingPoint num="2" id="1368" />
-<TGConnectingPoint num="3" id="1369" />
+<TGConnectingPoint num="0" id="1538" />
+<TGConnectingPoint num="1" id="1539" />
+<TGConnectingPoint num="2" id="1540" />
+<TGConnectingPoint num="3" id="1541" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3541,25 +3541,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1379" >
+<CONNECTOR type="5102" id="1551" >
 <cdparam x="728" y="308" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="1378" />
-<P1  x="727" y="234" id="1830" />
-<P2  x="726" y="254" id="1664" />
+<TGConnectingPoint num="0" id="1550" />
+<P1  x="727" y="234" id="2002" />
+<P2  x="726" y="254" id="1836" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1377" >
-<father id="1379" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1549" >
+<father id="1551" num="0" />
 <cdparam x="728" y="348" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1373" />
-<TGConnectingPoint num="1" id="1374" />
-<TGConnectingPoint num="2" id="1375" />
-<TGConnectingPoint num="3" id="1376" />
+<TGConnectingPoint num="0" id="1545" />
+<TGConnectingPoint num="1" id="1546" />
+<TGConnectingPoint num="2" id="1547" />
+<TGConnectingPoint num="3" id="1548" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3569,25 +3569,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1386" >
+<CONNECTOR type="5102" id="1558" >
 <cdparam x="447" y="644" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="1385" />
-<P1  x="511" y="649" id="1922" />
-<P2  x="246" y="710" id="1818" />
+<TGConnectingPoint num="0" id="1557" />
+<P1  x="511" y="649" id="2094" />
+<P2  x="246" y="710" id="1990" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1384" >
-<father id="1386" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1556" >
+<father id="1558" num="0" />
 <cdparam x="122" y="687" />
 <sizeparam width="276" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1380" />
-<TGConnectingPoint num="1" id="1381" />
-<TGConnectingPoint num="2" id="1382" />
-<TGConnectingPoint num="3" id="1383" />
+<TGConnectingPoint num="0" id="1552" />
+<TGConnectingPoint num="1" id="1553" />
+<TGConnectingPoint num="2" id="1554" />
+<TGConnectingPoint num="3" id="1555" />
 <extraparam>
 <guard value="[ (mode == 2) and (hasCurrentPicture==false)]" />
 <afterMin value="" />
@@ -3597,25 +3597,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1393" >
+<CONNECTOR type="5102" id="1565" >
 <cdparam x="833" y="512" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="1392" />
-<P1  x="726" y="507" id="1783" />
-<P2  x="726" y="599" id="1895" />
+<TGConnectingPoint num="0" id="1564" />
+<P1  x="726" y="507" id="1955" />
+<P2  x="726" y="599" id="2067" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1391" >
-<father id="1393" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1563" >
+<father id="1565" num="0" />
 <cdparam x="735" y="553" />
 <sizeparam width="121" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1387" />
-<TGConnectingPoint num="1" id="1388" />
-<TGConnectingPoint num="2" id="1389" />
-<TGConnectingPoint num="3" id="1390" />
+<TGConnectingPoint num="0" id="1559" />
+<TGConnectingPoint num="1" id="1560" />
+<TGConnectingPoint num="2" id="1561" />
+<TGConnectingPoint num="3" id="1562" />
 <extraparam>
 <guard value="[nbOfCrossings &gt; 0 ]" />
 <afterMin value="" />
@@ -3625,25 +3625,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1400" >
+<CONNECTOR type="5102" id="1572" >
 <cdparam x="1192" y="395" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1399" />
-<P1  x="1192" y="395" id="1742" />
-<P2  x="1192" y="406" id="1725" />
+<TGConnectingPoint num="0" id="1571" />
+<P1  x="1192" y="395" id="1914" />
+<P2  x="1192" y="406" id="1897" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1398" >
-<father id="1400" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1570" >
+<father id="1572" num="0" />
 <cdparam x="1192" y="434" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1394" />
-<TGConnectingPoint num="1" id="1395" />
-<TGConnectingPoint num="2" id="1396" />
-<TGConnectingPoint num="3" id="1397" />
+<TGConnectingPoint num="0" id="1566" />
+<TGConnectingPoint num="1" id="1567" />
+<TGConnectingPoint num="2" id="1568" />
+<TGConnectingPoint num="3" id="1569" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3653,25 +3653,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1407" >
+<CONNECTOR type="5102" id="1579" >
 <cdparam x="1192" y="454" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1406" />
-<P1  x="1192" y="436" id="1726" />
-<P2  x="1192" y="441" id="1471" />
+<TGConnectingPoint num="0" id="1578" />
+<P1  x="1192" y="436" id="1898" />
+<P2  x="1192" y="441" id="1643" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1405" >
-<father id="1407" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1577" >
+<father id="1579" num="0" />
 <cdparam x="1242" y="483" />
 <sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1401" />
-<TGConnectingPoint num="1" id="1402" />
-<TGConnectingPoint num="2" id="1403" />
-<TGConnectingPoint num="3" id="1404" />
+<TGConnectingPoint num="0" id="1573" />
+<TGConnectingPoint num="1" id="1574" />
+<TGConnectingPoint num="2" id="1575" />
+<TGConnectingPoint num="3" id="1576" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3682,25 +3682,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1414" >
+<CONNECTOR type="5102" id="1586" >
 <cdparam x="358" y="739" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to choice" value="null" />
-<TGConnectingPoint num="0" id="1413" />
-<P1  x="246" y="740" id="1819" />
-<P2  x="103" y="960" id="1853" />
+<TGConnectingPoint num="0" id="1585" />
+<P1  x="246" y="740" id="1991" />
+<P2  x="103" y="960" id="2025" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1412" >
-<father id="1414" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1584" >
+<father id="1586" num="0" />
 <cdparam x="64" y="819" />
 <sizeparam width="143" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1408" />
-<TGConnectingPoint num="1" id="1409" />
-<TGConnectingPoint num="2" id="1410" />
-<TGConnectingPoint num="3" id="1411" />
+<TGConnectingPoint num="0" id="1580" />
+<TGConnectingPoint num="1" id="1581" />
+<TGConnectingPoint num="2" id="1582" />
+<TGConnectingPoint num="3" id="1583" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3711,25 +3711,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1421" >
+<CONNECTOR type="5102" id="1593" >
 <cdparam x="333" y="792" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1420" />
-<P1  x="585" y="649" id="1908" />
-<P2  x="223" y="835" id="1686" />
+<TGConnectingPoint num="0" id="1592" />
+<P1  x="585" y="649" id="2080" />
+<P2  x="223" y="835" id="1858" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1419" >
-<father id="1421" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1591" >
+<father id="1593" num="0" />
 <cdparam x="82" y="789" />
 <sizeparam width="502" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1415" />
-<TGConnectingPoint num="1" id="1416" />
-<TGConnectingPoint num="2" id="1417" />
-<TGConnectingPoint num="3" id="1418" />
+<TGConnectingPoint num="0" id="1587" />
+<TGConnectingPoint num="1" id="1588" />
+<TGConnectingPoint num="2" id="1589" />
+<TGConnectingPoint num="3" id="1590" />
 <extraparam>
 <guard value="[ (hasCurrentPicture == true) and ((currentPicture.bottom == true) and (mode == 2))]" />
 <afterMin value="" />
@@ -3739,25 +3739,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1428" >
+<CONNECTOR type="5102" id="1600" >
 <cdparam x="726" y="284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1427" />
-<P1  x="726" y="284" id="1665" />
-<P2  x="726" y="370" id="1653" />
+<TGConnectingPoint num="0" id="1599" />
+<P1  x="726" y="284" id="1837" />
+<P2  x="726" y="370" id="1825" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1426" >
-<father id="1428" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1598" >
+<father id="1600" num="0" />
 <cdparam x="733" y="319" />
 <sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1422" />
-<TGConnectingPoint num="1" id="1423" />
-<TGConnectingPoint num="2" id="1424" />
-<TGConnectingPoint num="3" id="1425" />
+<TGConnectingPoint num="0" id="1594" />
+<TGConnectingPoint num="1" id="1595" />
+<TGConnectingPoint num="2" id="1596" />
+<TGConnectingPoint num="3" id="1597" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3768,25 +3768,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1435" >
+<CONNECTOR type="5102" id="1607" >
 <cdparam x="867" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Reset timer" value="null" />
-<TGConnectingPoint num="0" id="1434" />
-<P1  x="726" y="649" id="1900" />
-<P2  x="726" y="693" id="1642" />
+<TGConnectingPoint num="0" id="1606" />
+<P1  x="726" y="649" id="2072" />
+<P2  x="726" y="693" id="1814" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1433" >
-<father id="1435" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1605" >
+<father id="1607" num="0" />
 <cdparam x="867" y="689" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1429" />
-<TGConnectingPoint num="1" id="1430" />
-<TGConnectingPoint num="2" id="1431" />
-<TGConnectingPoint num="3" id="1432" />
+<TGConnectingPoint num="0" id="1601" />
+<TGConnectingPoint num="1" id="1602" />
+<TGConnectingPoint num="2" id="1603" />
+<TGConnectingPoint num="3" id="1604" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3796,25 +3796,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1442" >
+<CONNECTOR type="5102" id="1614" >
 <cdparam x="907" y="725" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Reset timer to choice" value="null" />
-<TGConnectingPoint num="0" id="1441" />
-<P1  x="726" y="723" id="1643" />
-<P2  x="725" y="741" id="1626" />
+<TGConnectingPoint num="0" id="1613" />
+<P1  x="726" y="723" id="1815" />
+<P2  x="725" y="741" id="1798" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1440" >
-<father id="1442" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1612" >
+<father id="1614" num="0" />
 <cdparam x="907" y="765" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1436" />
-<TGConnectingPoint num="1" id="1437" />
-<TGConnectingPoint num="2" id="1438" />
-<TGConnectingPoint num="3" id="1439" />
+<TGConnectingPoint num="0" id="1608" />
+<TGConnectingPoint num="1" id="1609" />
+<TGConnectingPoint num="2" id="1610" />
+<TGConnectingPoint num="3" id="1611" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3824,25 +3824,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1449" >
+<CONNECTOR type="5102" id="1621" >
 <cdparam x="1008" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="1448" />
-<P1  x="934" y="649" id="1925" />
-<P2  x="1250" y="706" id="1615" />
+<TGConnectingPoint num="0" id="1620" />
+<P1  x="934" y="649" id="2097" />
+<P2  x="1250" y="706" id="1787" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1447" >
-<father id="1449" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1619" >
+<father id="1621" num="0" />
 <cdparam x="1008" y="689" />
 <sizeparam width="81" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1443" />
-<TGConnectingPoint num="1" id="1444" />
-<TGConnectingPoint num="2" id="1445" />
-<TGConnectingPoint num="3" id="1446" />
+<TGConnectingPoint num="0" id="1615" />
+<TGConnectingPoint num="1" id="1616" />
+<TGConnectingPoint num="2" id="1617" />
+<TGConnectingPoint num="3" id="1618" />
 <extraparam>
 <guard value="[ mode == 2]" />
 <afterMin value="" />
@@ -3852,25 +3852,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1456" >
+<CONNECTOR type="5102" id="1628" >
 <cdparam x="1250" y="736" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1455" />
-<P1  x="1250" y="736" id="1616" />
-<P2  x="1249" y="764" id="1588" />
+<TGConnectingPoint num="0" id="1627" />
+<P1  x="1250" y="736" id="1788" />
+<P2  x="1249" y="764" id="1760" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1454" >
-<father id="1456" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1626" >
+<father id="1628" num="0" />
 <cdparam x="1250" y="776" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1450" />
-<TGConnectingPoint num="1" id="1451" />
-<TGConnectingPoint num="2" id="1452" />
-<TGConnectingPoint num="3" id="1453" />
+<TGConnectingPoint num="0" id="1622" />
+<TGConnectingPoint num="1" id="1623" />
+<TGConnectingPoint num="2" id="1624" />
+<TGConnectingPoint num="3" id="1625" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3880,25 +3880,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1463" >
+<CONNECTOR type="5102" id="1635" >
 <cdparam x="1585" y="734" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to choice" value="null" />
-<TGConnectingPoint num="0" id="1462" />
-<P1  x="1586" y="679" id="1578" />
-<P2  x="1586" y="693" id="1561" />
+<TGConnectingPoint num="0" id="1634" />
+<P1  x="1586" y="679" id="1750" />
+<P2  x="1586" y="693" id="1733" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1461" >
-<father id="1463" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1633" >
+<father id="1635" num="0" />
 <cdparam x="1585" y="774" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1457" />
-<TGConnectingPoint num="1" id="1458" />
-<TGConnectingPoint num="2" id="1459" />
-<TGConnectingPoint num="3" id="1460" />
+<TGConnectingPoint num="0" id="1629" />
+<TGConnectingPoint num="1" id="1630" />
+<TGConnectingPoint num="2" id="1631" />
+<TGConnectingPoint num="3" id="1632" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3908,25 +3908,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="1470" >
+<CONNECTOR type="5102" id="1642" >
 <cdparam x="1728" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="1469" />
-<P1  x="1675" y="798" id="1494" />
-<P2  x="1639" y="859" id="1517" />
+<TGConnectingPoint num="0" id="1641" />
+<P1  x="1675" y="798" id="1666" />
+<P2  x="1639" y="859" id="1689" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1468" >
-<father id="1470" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1640" >
+<father id="1642" num="0" />
 <cdparam x="1555" y="813" />
 <sizeparam width="105" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="1464" />
-<TGConnectingPoint num="1" id="1465" />
-<TGConnectingPoint num="2" id="1466" />
-<TGConnectingPoint num="3" id="1467" />
+<TGConnectingPoint num="0" id="1636" />
+<TGConnectingPoint num="1" id="1637" />
+<TGConnectingPoint num="2" id="1638" />
+<TGConnectingPoint num="3" id="1639" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -3938,365 +3938,365 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5109" id="1481" >
+<COMPONENT type="5109" id="1653" >
 <cdparam x="1063" y="446" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="1471" />
-<TGConnectingPoint num="1" id="1472" />
-<TGConnectingPoint num="2" id="1473" />
-<TGConnectingPoint num="3" id="1474" />
-<TGConnectingPoint num="4" id="1475" />
-<TGConnectingPoint num="5" id="1476" />
-<TGConnectingPoint num="6" id="1477" />
-<TGConnectingPoint num="7" id="1478" />
-<TGConnectingPoint num="8" id="1479" />
-<TGConnectingPoint num="9" id="1480" />
-</COMPONENT>
-
-<COMPONENT type="5109" id="1492" >
+<TGConnectingPoint num="0" id="1643" />
+<TGConnectingPoint num="1" id="1644" />
+<TGConnectingPoint num="2" id="1645" />
+<TGConnectingPoint num="3" id="1646" />
+<TGConnectingPoint num="4" id="1647" />
+<TGConnectingPoint num="5" id="1648" />
+<TGConnectingPoint num="6" id="1649" />
+<TGConnectingPoint num="7" id="1650" />
+<TGConnectingPoint num="8" id="1651" />
+<TGConnectingPoint num="9" id="1652" />
+</COMPONENT>
+
+<COMPONENT type="5109" id="1664" >
 <cdparam x="1591" y="923" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="1482" />
-<TGConnectingPoint num="1" id="1483" />
-<TGConnectingPoint num="2" id="1484" />
-<TGConnectingPoint num="3" id="1485" />
-<TGConnectingPoint num="4" id="1486" />
-<TGConnectingPoint num="5" id="1487" />
-<TGConnectingPoint num="6" id="1488" />
-<TGConnectingPoint num="7" id="1489" />
-<TGConnectingPoint num="8" id="1490" />
-<TGConnectingPoint num="9" id="1491" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="1508" >
+<TGConnectingPoint num="0" id="1654" />
+<TGConnectingPoint num="1" id="1655" />
+<TGConnectingPoint num="2" id="1656" />
+<TGConnectingPoint num="3" id="1657" />
+<TGConnectingPoint num="4" id="1658" />
+<TGConnectingPoint num="5" id="1659" />
+<TGConnectingPoint num="6" id="1660" />
+<TGConnectingPoint num="7" id="1661" />
+<TGConnectingPoint num="8" id="1662" />
+<TGConnectingPoint num="9" id="1663" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="1680" >
 <cdparam x="1685" y="783" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1493" />
-<TGConnectingPoint num="1" id="1494" />
-<TGConnectingPoint num="2" id="1495" />
-<TGConnectingPoint num="3" id="1496" />
-<TGConnectingPoint num="4" id="1497" />
-<TGConnectingPoint num="5" id="1498" />
-<TGConnectingPoint num="6" id="1499" />
-<TGConnectingPoint num="7" id="1500" />
-<TGConnectingPoint num="8" id="1501" />
-<TGConnectingPoint num="9" id="1502" />
-<TGConnectingPoint num="10" id="1503" />
-<TGConnectingPoint num="11" id="1504" />
-<TGConnectingPoint num="12" id="1505" />
-<TGConnectingPoint num="13" id="1506" />
-<TGConnectingPoint num="14" id="1507" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="1549" >
+<TGConnectingPoint num="0" id="1665" />
+<TGConnectingPoint num="1" id="1666" />
+<TGConnectingPoint num="2" id="1667" />
+<TGConnectingPoint num="3" id="1668" />
+<TGConnectingPoint num="4" id="1669" />
+<TGConnectingPoint num="5" id="1670" />
+<TGConnectingPoint num="6" id="1671" />
+<TGConnectingPoint num="7" id="1672" />
+<TGConnectingPoint num="8" id="1673" />
+<TGConnectingPoint num="9" id="1674" />
+<TGConnectingPoint num="10" id="1675" />
+<TGConnectingPoint num="11" id="1676" />
+<TGConnectingPoint num="12" id="1677" />
+<TGConnectingPoint num="13" id="1678" />
+<TGConnectingPoint num="14" id="1679" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="1721" >
 <cdparam x="1585" y="859" />
 <sizeparam width="219" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="SendingTurnCommand" />
-<TGConnectingPoint num="0" id="1509" />
-<TGConnectingPoint num="1" id="1510" />
-<TGConnectingPoint num="2" id="1511" />
-<TGConnectingPoint num="3" id="1512" />
-<TGConnectingPoint num="4" id="1513" />
-<TGConnectingPoint num="5" id="1514" />
-<TGConnectingPoint num="6" id="1515" />
-<TGConnectingPoint num="7" id="1516" />
-<TGConnectingPoint num="8" id="1517" />
-<TGConnectingPoint num="9" id="1518" />
-<TGConnectingPoint num="10" id="1519" />
-<TGConnectingPoint num="11" id="1520" />
-<TGConnectingPoint num="12" id="1521" />
-<TGConnectingPoint num="13" id="1522" />
-<TGConnectingPoint num="14" id="1523" />
-<TGConnectingPoint num="15" id="1524" />
-<TGConnectingPoint num="16" id="1525" />
-<TGConnectingPoint num="17" id="1526" />
-<TGConnectingPoint num="18" id="1527" />
-<TGConnectingPoint num="19" id="1528" />
-<TGConnectingPoint num="20" id="1529" />
-<TGConnectingPoint num="21" id="1530" />
-<TGConnectingPoint num="22" id="1531" />
-<TGConnectingPoint num="23" id="1532" />
-<TGConnectingPoint num="24" id="1533" />
-<TGConnectingPoint num="25" id="1534" />
-<TGConnectingPoint num="26" id="1535" />
-<TGConnectingPoint num="27" id="1536" />
-<TGConnectingPoint num="28" id="1537" />
-<TGConnectingPoint num="29" id="1538" />
-<TGConnectingPoint num="30" id="1539" />
-<TGConnectingPoint num="31" id="1540" />
-<TGConnectingPoint num="32" id="1541" />
-<TGConnectingPoint num="33" id="1542" />
-<TGConnectingPoint num="34" id="1543" />
-<TGConnectingPoint num="35" id="1544" />
-<TGConnectingPoint num="36" id="1545" />
-<TGConnectingPoint num="37" id="1546" />
-<TGConnectingPoint num="38" id="1547" />
-<TGConnectingPoint num="39" id="1548" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="1560" >
+<TGConnectingPoint num="0" id="1681" />
+<TGConnectingPoint num="1" id="1682" />
+<TGConnectingPoint num="2" id="1683" />
+<TGConnectingPoint num="3" id="1684" />
+<TGConnectingPoint num="4" id="1685" />
+<TGConnectingPoint num="5" id="1686" />
+<TGConnectingPoint num="6" id="1687" />
+<TGConnectingPoint num="7" id="1688" />
+<TGConnectingPoint num="8" id="1689" />
+<TGConnectingPoint num="9" id="1690" />
+<TGConnectingPoint num="10" id="1691" />
+<TGConnectingPoint num="11" id="1692" />
+<TGConnectingPoint num="12" id="1693" />
+<TGConnectingPoint num="13" id="1694" />
+<TGConnectingPoint num="14" id="1695" />
+<TGConnectingPoint num="15" id="1696" />
+<TGConnectingPoint num="16" id="1697" />
+<TGConnectingPoint num="17" id="1698" />
+<TGConnectingPoint num="18" id="1699" />
+<TGConnectingPoint num="19" id="1700" />
+<TGConnectingPoint num="20" id="1701" />
+<TGConnectingPoint num="21" id="1702" />
+<TGConnectingPoint num="22" id="1703" />
+<TGConnectingPoint num="23" id="1704" />
+<TGConnectingPoint num="24" id="1705" />
+<TGConnectingPoint num="25" id="1706" />
+<TGConnectingPoint num="26" id="1707" />
+<TGConnectingPoint num="27" id="1708" />
+<TGConnectingPoint num="28" id="1709" />
+<TGConnectingPoint num="29" id="1710" />
+<TGConnectingPoint num="30" id="1711" />
+<TGConnectingPoint num="31" id="1712" />
+<TGConnectingPoint num="32" id="1713" />
+<TGConnectingPoint num="33" id="1714" />
+<TGConnectingPoint num="34" id="1715" />
+<TGConnectingPoint num="35" id="1716" />
+<TGConnectingPoint num="36" id="1717" />
+<TGConnectingPoint num="37" id="1718" />
+<TGConnectingPoint num="38" id="1719" />
+<TGConnectingPoint num="39" id="1720" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="1732" >
 <cdparam x="1639" y="967" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="1550" />
-<TGConnectingPoint num="1" id="1551" />
-<TGConnectingPoint num="2" id="1552" />
-<TGConnectingPoint num="3" id="1553" />
-<TGConnectingPoint num="4" id="1554" />
-<TGConnectingPoint num="5" id="1555" />
-<TGConnectingPoint num="6" id="1556" />
-<TGConnectingPoint num="7" id="1557" />
-<TGConnectingPoint num="8" id="1558" />
-<TGConnectingPoint num="9" id="1559" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="1576" >
+<TGConnectingPoint num="0" id="1722" />
+<TGConnectingPoint num="1" id="1723" />
+<TGConnectingPoint num="2" id="1724" />
+<TGConnectingPoint num="3" id="1725" />
+<TGConnectingPoint num="4" id="1726" />
+<TGConnectingPoint num="5" id="1727" />
+<TGConnectingPoint num="6" id="1728" />
+<TGConnectingPoint num="7" id="1729" />
+<TGConnectingPoint num="8" id="1730" />
+<TGConnectingPoint num="9" id="1731" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="1748" >
 <cdparam x="1571" y="703" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1561" />
-<TGConnectingPoint num="1" id="1562" />
-<TGConnectingPoint num="2" id="1563" />
-<TGConnectingPoint num="3" id="1564" />
-<TGConnectingPoint num="4" id="1565" />
-<TGConnectingPoint num="5" id="1566" />
-<TGConnectingPoint num="6" id="1567" />
-<TGConnectingPoint num="7" id="1568" />
-<TGConnectingPoint num="8" id="1569" />
-<TGConnectingPoint num="9" id="1570" />
-<TGConnectingPoint num="10" id="1571" />
-<TGConnectingPoint num="11" id="1572" />
-<TGConnectingPoint num="12" id="1573" />
-<TGConnectingPoint num="13" id="1574" />
-<TGConnectingPoint num="14" id="1575" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="1587" >
+<TGConnectingPoint num="0" id="1733" />
+<TGConnectingPoint num="1" id="1734" />
+<TGConnectingPoint num="2" id="1735" />
+<TGConnectingPoint num="3" id="1736" />
+<TGConnectingPoint num="4" id="1737" />
+<TGConnectingPoint num="5" id="1738" />
+<TGConnectingPoint num="6" id="1739" />
+<TGConnectingPoint num="7" id="1740" />
+<TGConnectingPoint num="8" id="1741" />
+<TGConnectingPoint num="9" id="1742" />
+<TGConnectingPoint num="10" id="1743" />
+<TGConnectingPoint num="11" id="1744" />
+<TGConnectingPoint num="12" id="1745" />
+<TGConnectingPoint num="13" id="1746" />
+<TGConnectingPoint num="14" id="1747" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="1759" >
 <cdparam x="1483" y="654" />
 <sizeparam width="206" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="resultCrossingRecognition(found)" />
-<TGConnectingPoint num="0" id="1577" />
-<TGConnectingPoint num="1" id="1578" />
-<TGConnectingPoint num="2" id="1579" />
-<TGConnectingPoint num="3" id="1580" />
-<TGConnectingPoint num="4" id="1581" />
-<TGConnectingPoint num="5" id="1582" />
-<TGConnectingPoint num="6" id="1583" />
-<TGConnectingPoint num="7" id="1584" />
-<TGConnectingPoint num="8" id="1585" />
-<TGConnectingPoint num="9" id="1586" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="1603" >
+<TGConnectingPoint num="0" id="1749" />
+<TGConnectingPoint num="1" id="1750" />
+<TGConnectingPoint num="2" id="1751" />
+<TGConnectingPoint num="3" id="1752" />
+<TGConnectingPoint num="4" id="1753" />
+<TGConnectingPoint num="5" id="1754" />
+<TGConnectingPoint num="6" id="1755" />
+<TGConnectingPoint num="7" id="1756" />
+<TGConnectingPoint num="8" id="1757" />
+<TGConnectingPoint num="9" id="1758" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="1775" >
 <cdparam x="1234" y="774" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1588" />
-<TGConnectingPoint num="1" id="1589" />
-<TGConnectingPoint num="2" id="1590" />
-<TGConnectingPoint num="3" id="1591" />
-<TGConnectingPoint num="4" id="1592" />
-<TGConnectingPoint num="5" id="1593" />
-<TGConnectingPoint num="6" id="1594" />
-<TGConnectingPoint num="7" id="1595" />
-<TGConnectingPoint num="8" id="1596" />
-<TGConnectingPoint num="9" id="1597" />
-<TGConnectingPoint num="10" id="1598" />
-<TGConnectingPoint num="11" id="1599" />
-<TGConnectingPoint num="12" id="1600" />
-<TGConnectingPoint num="13" id="1601" />
-<TGConnectingPoint num="14" id="1602" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="1614" >
+<TGConnectingPoint num="0" id="1760" />
+<TGConnectingPoint num="1" id="1761" />
+<TGConnectingPoint num="2" id="1762" />
+<TGConnectingPoint num="3" id="1763" />
+<TGConnectingPoint num="4" id="1764" />
+<TGConnectingPoint num="5" id="1765" />
+<TGConnectingPoint num="6" id="1766" />
+<TGConnectingPoint num="7" id="1767" />
+<TGConnectingPoint num="8" id="1768" />
+<TGConnectingPoint num="9" id="1769" />
+<TGConnectingPoint num="10" id="1770" />
+<TGConnectingPoint num="11" id="1771" />
+<TGConnectingPoint num="12" id="1772" />
+<TGConnectingPoint num="13" id="1773" />
+<TGConnectingPoint num="14" id="1774" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="1786" >
 <cdparam x="1168" y="960" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="1604" />
-<TGConnectingPoint num="1" id="1605" />
-<TGConnectingPoint num="2" id="1606" />
-<TGConnectingPoint num="3" id="1607" />
-<TGConnectingPoint num="4" id="1608" />
-<TGConnectingPoint num="5" id="1609" />
-<TGConnectingPoint num="6" id="1610" />
-<TGConnectingPoint num="7" id="1611" />
-<TGConnectingPoint num="8" id="1612" />
-<TGConnectingPoint num="9" id="1613" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="1625" >
+<TGConnectingPoint num="0" id="1776" />
+<TGConnectingPoint num="1" id="1777" />
+<TGConnectingPoint num="2" id="1778" />
+<TGConnectingPoint num="3" id="1779" />
+<TGConnectingPoint num="4" id="1780" />
+<TGConnectingPoint num="5" id="1781" />
+<TGConnectingPoint num="6" id="1782" />
+<TGConnectingPoint num="7" id="1783" />
+<TGConnectingPoint num="8" id="1784" />
+<TGConnectingPoint num="9" id="1785" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="1797" >
 <cdparam x="1134" y="711" />
 <sizeparam width="233" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="resultLineRecognition(found, position)" />
-<TGConnectingPoint num="0" id="1615" />
-<TGConnectingPoint num="1" id="1616" />
-<TGConnectingPoint num="2" id="1617" />
-<TGConnectingPoint num="3" id="1618" />
-<TGConnectingPoint num="4" id="1619" />
-<TGConnectingPoint num="5" id="1620" />
-<TGConnectingPoint num="6" id="1621" />
-<TGConnectingPoint num="7" id="1622" />
-<TGConnectingPoint num="8" id="1623" />
-<TGConnectingPoint num="9" id="1624" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="1641" >
+<TGConnectingPoint num="0" id="1787" />
+<TGConnectingPoint num="1" id="1788" />
+<TGConnectingPoint num="2" id="1789" />
+<TGConnectingPoint num="3" id="1790" />
+<TGConnectingPoint num="4" id="1791" />
+<TGConnectingPoint num="5" id="1792" />
+<TGConnectingPoint num="6" id="1793" />
+<TGConnectingPoint num="7" id="1794" />
+<TGConnectingPoint num="8" id="1795" />
+<TGConnectingPoint num="9" id="1796" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="1813" >
 <cdparam x="710" y="751" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1626" />
-<TGConnectingPoint num="1" id="1627" />
-<TGConnectingPoint num="2" id="1628" />
-<TGConnectingPoint num="3" id="1629" />
-<TGConnectingPoint num="4" id="1630" />
-<TGConnectingPoint num="5" id="1631" />
-<TGConnectingPoint num="6" id="1632" />
-<TGConnectingPoint num="7" id="1633" />
-<TGConnectingPoint num="8" id="1634" />
-<TGConnectingPoint num="9" id="1635" />
-<TGConnectingPoint num="10" id="1636" />
-<TGConnectingPoint num="11" id="1637" />
-<TGConnectingPoint num="12" id="1638" />
-<TGConnectingPoint num="13" id="1639" />
-<TGConnectingPoint num="14" id="1640" />
-</COMPONENT>
-
-<COMPONENT type="5111" id="1652" >
+<TGConnectingPoint num="0" id="1798" />
+<TGConnectingPoint num="1" id="1799" />
+<TGConnectingPoint num="2" id="1800" />
+<TGConnectingPoint num="3" id="1801" />
+<TGConnectingPoint num="4" id="1802" />
+<TGConnectingPoint num="5" id="1803" />
+<TGConnectingPoint num="6" id="1804" />
+<TGConnectingPoint num="7" id="1805" />
+<TGConnectingPoint num="8" id="1806" />
+<TGConnectingPoint num="9" id="1807" />
+<TGConnectingPoint num="10" id="1808" />
+<TGConnectingPoint num="11" id="1809" />
+<TGConnectingPoint num="12" id="1810" />
+<TGConnectingPoint num="13" id="1811" />
+<TGConnectingPoint num="14" id="1812" />
+</COMPONENT>
+
+<COMPONENT type="5111" id="1824" >
 <cdparam x="647" y="698" />
 <sizeparam width="159" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Reset timer" value="expire(movementTimer)" />
-<TGConnectingPoint num="0" id="1642" />
-<TGConnectingPoint num="1" id="1643" />
-<TGConnectingPoint num="2" id="1644" />
-<TGConnectingPoint num="3" id="1645" />
-<TGConnectingPoint num="4" id="1646" />
-<TGConnectingPoint num="5" id="1647" />
-<TGConnectingPoint num="6" id="1648" />
-<TGConnectingPoint num="7" id="1649" />
-<TGConnectingPoint num="8" id="1650" />
-<TGConnectingPoint num="9" id="1651" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="1663" >
+<TGConnectingPoint num="0" id="1814" />
+<TGConnectingPoint num="1" id="1815" />
+<TGConnectingPoint num="2" id="1816" />
+<TGConnectingPoint num="3" id="1817" />
+<TGConnectingPoint num="4" id="1818" />
+<TGConnectingPoint num="5" id="1819" />
+<TGConnectingPoint num="6" id="1820" />
+<TGConnectingPoint num="7" id="1821" />
+<TGConnectingPoint num="8" id="1822" />
+<TGConnectingPoint num="9" id="1823" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="1835" >
 <cdparam x="645" y="375" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="1653" />
-<TGConnectingPoint num="1" id="1654" />
-<TGConnectingPoint num="2" id="1655" />
-<TGConnectingPoint num="3" id="1656" />
-<TGConnectingPoint num="4" id="1657" />
-<TGConnectingPoint num="5" id="1658" />
-<TGConnectingPoint num="6" id="1659" />
-<TGConnectingPoint num="7" id="1660" />
-<TGConnectingPoint num="8" id="1661" />
-<TGConnectingPoint num="9" id="1662" />
-</COMPONENT>
-
-<COMPONENT type="5109" id="1674" >
+<TGConnectingPoint num="0" id="1825" />
+<TGConnectingPoint num="1" id="1826" />
+<TGConnectingPoint num="2" id="1827" />
+<TGConnectingPoint num="3" id="1828" />
+<TGConnectingPoint num="4" id="1829" />
+<TGConnectingPoint num="5" id="1830" />
+<TGConnectingPoint num="6" id="1831" />
+<TGConnectingPoint num="7" id="1832" />
+<TGConnectingPoint num="8" id="1833" />
+<TGConnectingPoint num="9" id="1834" />
+</COMPONENT>
+
+<COMPONENT type="5109" id="1846" >
 <cdparam x="597" y="259" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="1664" />
-<TGConnectingPoint num="1" id="1665" />
-<TGConnectingPoint num="2" id="1666" />
-<TGConnectingPoint num="3" id="1667" />
-<TGConnectingPoint num="4" id="1668" />
-<TGConnectingPoint num="5" id="1669" />
-<TGConnectingPoint num="6" id="1670" />
-<TGConnectingPoint num="7" id="1671" />
-<TGConnectingPoint num="8" id="1672" />
-<TGConnectingPoint num="9" id="1673" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="1685" >
+<TGConnectingPoint num="0" id="1836" />
+<TGConnectingPoint num="1" id="1837" />
+<TGConnectingPoint num="2" id="1838" />
+<TGConnectingPoint num="3" id="1839" />
+<TGConnectingPoint num="4" id="1840" />
+<TGConnectingPoint num="5" id="1841" />
+<TGConnectingPoint num="6" id="1842" />
+<TGConnectingPoint num="7" id="1843" />
+<TGConnectingPoint num="8" id="1844" />
+<TGConnectingPoint num="9" id="1845" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="1857" >
 <cdparam x="352" y="839" />
 <sizeparam width="263" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="computeCrossingRecognition(currentPicture)" />
-<TGConnectingPoint num="0" id="1675" />
-<TGConnectingPoint num="1" id="1676" />
-<TGConnectingPoint num="2" id="1677" />
-<TGConnectingPoint num="3" id="1678" />
-<TGConnectingPoint num="4" id="1679" />
-<TGConnectingPoint num="5" id="1680" />
-<TGConnectingPoint num="6" id="1681" />
-<TGConnectingPoint num="7" id="1682" />
-<TGConnectingPoint num="8" id="1683" />
-<TGConnectingPoint num="9" id="1684" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="1696" >
+<TGConnectingPoint num="0" id="1847" />
+<TGConnectingPoint num="1" id="1848" />
+<TGConnectingPoint num="2" id="1849" />
+<TGConnectingPoint num="3" id="1850" />
+<TGConnectingPoint num="4" id="1851" />
+<TGConnectingPoint num="5" id="1852" />
+<TGConnectingPoint num="6" id="1853" />
+<TGConnectingPoint num="7" id="1854" />
+<TGConnectingPoint num="8" id="1855" />
+<TGConnectingPoint num="9" id="1856" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="1868" >
 <cdparam x="105" y="840" />
 <sizeparam width="237" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="computeLineRecognition(currentPicture)" />
-<TGConnectingPoint num="0" id="1686" />
-<TGConnectingPoint num="1" id="1687" />
-<TGConnectingPoint num="2" id="1688" />
-<TGConnectingPoint num="3" id="1689" />
-<TGConnectingPoint num="4" id="1690" />
-<TGConnectingPoint num="5" id="1691" />
-<TGConnectingPoint num="6" id="1692" />
-<TGConnectingPoint num="7" id="1693" />
-<TGConnectingPoint num="8" id="1694" />
-<TGConnectingPoint num="9" id="1695" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="1707" >
+<TGConnectingPoint num="0" id="1858" />
+<TGConnectingPoint num="1" id="1859" />
+<TGConnectingPoint num="2" id="1860" />
+<TGConnectingPoint num="3" id="1861" />
+<TGConnectingPoint num="4" id="1862" />
+<TGConnectingPoint num="5" id="1863" />
+<TGConnectingPoint num="6" id="1864" />
+<TGConnectingPoint num="7" id="1865" />
+<TGConnectingPoint num="8" id="1866" />
+<TGConnectingPoint num="9" id="1867" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="1879" >
 <cdparam x="1111" y="499" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="1697" />
-<TGConnectingPoint num="1" id="1698" />
-<TGConnectingPoint num="2" id="1699" />
-<TGConnectingPoint num="3" id="1700" />
-<TGConnectingPoint num="4" id="1701" />
-<TGConnectingPoint num="5" id="1702" />
-<TGConnectingPoint num="6" id="1703" />
-<TGConnectingPoint num="7" id="1704" />
-<TGConnectingPoint num="8" id="1705" />
-<TGConnectingPoint num="9" id="1706" />
-</COMPONENT>
-
-<COMPONENT type="301" id="1724" >
+<TGConnectingPoint num="0" id="1869" />
+<TGConnectingPoint num="1" id="1870" />
+<TGConnectingPoint num="2" id="1871" />
+<TGConnectingPoint num="3" id="1872" />
+<TGConnectingPoint num="4" id="1873" />
+<TGConnectingPoint num="5" id="1874" />
+<TGConnectingPoint num="6" id="1875" />
+<TGConnectingPoint num="7" id="1876" />
+<TGConnectingPoint num="8" id="1877" />
+<TGConnectingPoint num="9" id="1878" />
+</COMPONENT>
+
+<COMPONENT type="301" id="1896" >
 <cdparam x="423" y="58" />
 <sizeparam width="150" height="155" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4311,22 +4311,22 @@ Command mode:
 5: turning left
 6: turning right
 " />
-<TGConnectingPoint num="0" id="1708" />
-<TGConnectingPoint num="1" id="1709" />
-<TGConnectingPoint num="2" id="1710" />
-<TGConnectingPoint num="3" id="1711" />
-<TGConnectingPoint num="4" id="1712" />
-<TGConnectingPoint num="5" id="1713" />
-<TGConnectingPoint num="6" id="1714" />
-<TGConnectingPoint num="7" id="1715" />
-<TGConnectingPoint num="8" id="1716" />
-<TGConnectingPoint num="9" id="1717" />
-<TGConnectingPoint num="10" id="1718" />
-<TGConnectingPoint num="11" id="1719" />
-<TGConnectingPoint num="12" id="1720" />
-<TGConnectingPoint num="13" id="1721" />
-<TGConnectingPoint num="14" id="1722" />
-<TGConnectingPoint num="15" id="1723" />
+<TGConnectingPoint num="0" id="1880" />
+<TGConnectingPoint num="1" id="1881" />
+<TGConnectingPoint num="2" id="1882" />
+<TGConnectingPoint num="3" id="1883" />
+<TGConnectingPoint num="4" id="1884" />
+<TGConnectingPoint num="5" id="1885" />
+<TGConnectingPoint num="6" id="1886" />
+<TGConnectingPoint num="7" id="1887" />
+<TGConnectingPoint num="8" id="1888" />
+<TGConnectingPoint num="9" id="1889" />
+<TGConnectingPoint num="10" id="1890" />
+<TGConnectingPoint num="11" id="1891" />
+<TGConnectingPoint num="12" id="1892" />
+<TGConnectingPoint num="13" id="1893" />
+<TGConnectingPoint num="14" id="1894" />
+<TGConnectingPoint num="15" id="1895" />
 <extraparam>
 <Line value="Modes:" />
 <Line value="---------" />
@@ -4340,383 +4340,383 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="1735" >
+<COMPONENT type="5103" id="1907" >
 <cdparam x="1148" y="411" />
 <sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="stopCamera()" />
-<TGConnectingPoint num="0" id="1725" />
-<TGConnectingPoint num="1" id="1726" />
-<TGConnectingPoint num="2" id="1727" />
-<TGConnectingPoint num="3" id="1728" />
-<TGConnectingPoint num="4" id="1729" />
-<TGConnectingPoint num="5" id="1730" />
-<TGConnectingPoint num="6" id="1731" />
-<TGConnectingPoint num="7" id="1732" />
-<TGConnectingPoint num="8" id="1733" />
-<TGConnectingPoint num="9" id="1734" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="1776" >
+<TGConnectingPoint num="0" id="1897" />
+<TGConnectingPoint num="1" id="1898" />
+<TGConnectingPoint num="2" id="1899" />
+<TGConnectingPoint num="3" id="1900" />
+<TGConnectingPoint num="4" id="1901" />
+<TGConnectingPoint num="5" id="1902" />
+<TGConnectingPoint num="6" id="1903" />
+<TGConnectingPoint num="7" id="1904" />
+<TGConnectingPoint num="8" id="1905" />
+<TGConnectingPoint num="9" id="1906" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="1948" >
 <cdparam x="1106" y="345" />
 <sizeparam width="173" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="DestinationReached" />
-<TGConnectingPoint num="0" id="1736" />
-<TGConnectingPoint num="1" id="1737" />
-<TGConnectingPoint num="2" id="1738" />
-<TGConnectingPoint num="3" id="1739" />
-<TGConnectingPoint num="4" id="1740" />
-<TGConnectingPoint num="5" id="1741" />
-<TGConnectingPoint num="6" id="1742" />
-<TGConnectingPoint num="7" id="1743" />
-<TGConnectingPoint num="8" id="1744" />
-<TGConnectingPoint num="9" id="1745" />
-<TGConnectingPoint num="10" id="1746" />
-<TGConnectingPoint num="11" id="1747" />
-<TGConnectingPoint num="12" id="1748" />
-<TGConnectingPoint num="13" id="1749" />
-<TGConnectingPoint num="14" id="1750" />
-<TGConnectingPoint num="15" id="1751" />
-<TGConnectingPoint num="16" id="1752" />
-<TGConnectingPoint num="17" id="1753" />
-<TGConnectingPoint num="18" id="1754" />
-<TGConnectingPoint num="19" id="1755" />
-<TGConnectingPoint num="20" id="1756" />
-<TGConnectingPoint num="21" id="1757" />
-<TGConnectingPoint num="22" id="1758" />
-<TGConnectingPoint num="23" id="1759" />
-<TGConnectingPoint num="24" id="1760" />
-<TGConnectingPoint num="25" id="1761" />
-<TGConnectingPoint num="26" id="1762" />
-<TGConnectingPoint num="27" id="1763" />
-<TGConnectingPoint num="28" id="1764" />
-<TGConnectingPoint num="29" id="1765" />
-<TGConnectingPoint num="30" id="1766" />
-<TGConnectingPoint num="31" id="1767" />
-<TGConnectingPoint num="32" id="1768" />
-<TGConnectingPoint num="33" id="1769" />
-<TGConnectingPoint num="34" id="1770" />
-<TGConnectingPoint num="35" id="1771" />
-<TGConnectingPoint num="36" id="1772" />
-<TGConnectingPoint num="37" id="1773" />
-<TGConnectingPoint num="38" id="1774" />
-<TGConnectingPoint num="39" id="1775" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="1817" >
+<TGConnectingPoint num="0" id="1908" />
+<TGConnectingPoint num="1" id="1909" />
+<TGConnectingPoint num="2" id="1910" />
+<TGConnectingPoint num="3" id="1911" />
+<TGConnectingPoint num="4" id="1912" />
+<TGConnectingPoint num="5" id="1913" />
+<TGConnectingPoint num="6" id="1914" />
+<TGConnectingPoint num="7" id="1915" />
+<TGConnectingPoint num="8" id="1916" />
+<TGConnectingPoint num="9" id="1917" />
+<TGConnectingPoint num="10" id="1918" />
+<TGConnectingPoint num="11" id="1919" />
+<TGConnectingPoint num="12" id="1920" />
+<TGConnectingPoint num="13" id="1921" />
+<TGConnectingPoint num="14" id="1922" />
+<TGConnectingPoint num="15" id="1923" />
+<TGConnectingPoint num="16" id="1924" />
+<TGConnectingPoint num="17" id="1925" />
+<TGConnectingPoint num="18" id="1926" />
+<TGConnectingPoint num="19" id="1927" />
+<TGConnectingPoint num="20" id="1928" />
+<TGConnectingPoint num="21" id="1929" />
+<TGConnectingPoint num="22" id="1930" />
+<TGConnectingPoint num="23" id="1931" />
+<TGConnectingPoint num="24" id="1932" />
+<TGConnectingPoint num="25" id="1933" />
+<TGConnectingPoint num="26" id="1934" />
+<TGConnectingPoint num="27" id="1935" />
+<TGConnectingPoint num="28" id="1936" />
+<TGConnectingPoint num="29" id="1937" />
+<TGConnectingPoint num="30" id="1938" />
+<TGConnectingPoint num="31" id="1939" />
+<TGConnectingPoint num="32" id="1940" />
+<TGConnectingPoint num="33" id="1941" />
+<TGConnectingPoint num="34" id="1942" />
+<TGConnectingPoint num="35" id="1943" />
+<TGConnectingPoint num="36" id="1944" />
+<TGConnectingPoint num="37" id="1945" />
+<TGConnectingPoint num="38" id="1946" />
+<TGConnectingPoint num="39" id="1947" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="1989" >
 <cdparam x="676" y="457" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="CrossingCheck" />
-<TGConnectingPoint num="0" id="1777" />
-<TGConnectingPoint num="1" id="1778" />
-<TGConnectingPoint num="2" id="1779" />
-<TGConnectingPoint num="3" id="1780" />
-<TGConnectingPoint num="4" id="1781" />
-<TGConnectingPoint num="5" id="1782" />
-<TGConnectingPoint num="6" id="1783" />
-<TGConnectingPoint num="7" id="1784" />
-<TGConnectingPoint num="8" id="1785" />
-<TGConnectingPoint num="9" id="1786" />
-<TGConnectingPoint num="10" id="1787" />
-<TGConnectingPoint num="11" id="1788" />
-<TGConnectingPoint num="12" id="1789" />
-<TGConnectingPoint num="13" id="1790" />
-<TGConnectingPoint num="14" id="1791" />
-<TGConnectingPoint num="15" id="1792" />
-<TGConnectingPoint num="16" id="1793" />
-<TGConnectingPoint num="17" id="1794" />
-<TGConnectingPoint num="18" id="1795" />
-<TGConnectingPoint num="19" id="1796" />
-<TGConnectingPoint num="20" id="1797" />
-<TGConnectingPoint num="21" id="1798" />
-<TGConnectingPoint num="22" id="1799" />
-<TGConnectingPoint num="23" id="1800" />
-<TGConnectingPoint num="24" id="1801" />
-<TGConnectingPoint num="25" id="1802" />
-<TGConnectingPoint num="26" id="1803" />
-<TGConnectingPoint num="27" id="1804" />
-<TGConnectingPoint num="28" id="1805" />
-<TGConnectingPoint num="29" id="1806" />
-<TGConnectingPoint num="30" id="1807" />
-<TGConnectingPoint num="31" id="1808" />
-<TGConnectingPoint num="32" id="1809" />
-<TGConnectingPoint num="33" id="1810" />
-<TGConnectingPoint num="34" id="1811" />
-<TGConnectingPoint num="35" id="1812" />
-<TGConnectingPoint num="36" id="1813" />
-<TGConnectingPoint num="37" id="1814" />
-<TGConnectingPoint num="38" id="1815" />
-<TGConnectingPoint num="39" id="1816" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="1828" >
+<TGConnectingPoint num="0" id="1949" />
+<TGConnectingPoint num="1" id="1950" />
+<TGConnectingPoint num="2" id="1951" />
+<TGConnectingPoint num="3" id="1952" />
+<TGConnectingPoint num="4" id="1953" />
+<TGConnectingPoint num="5" id="1954" />
+<TGConnectingPoint num="6" id="1955" />
+<TGConnectingPoint num="7" id="1956" />
+<TGConnectingPoint num="8" id="1957" />
+<TGConnectingPoint num="9" id="1958" />
+<TGConnectingPoint num="10" id="1959" />
+<TGConnectingPoint num="11" id="1960" />
+<TGConnectingPoint num="12" id="1961" />
+<TGConnectingPoint num="13" id="1962" />
+<TGConnectingPoint num="14" id="1963" />
+<TGConnectingPoint num="15" id="1964" />
+<TGConnectingPoint num="16" id="1965" />
+<TGConnectingPoint num="17" id="1966" />
+<TGConnectingPoint num="18" id="1967" />
+<TGConnectingPoint num="19" id="1968" />
+<TGConnectingPoint num="20" id="1969" />
+<TGConnectingPoint num="21" id="1970" />
+<TGConnectingPoint num="22" id="1971" />
+<TGConnectingPoint num="23" id="1972" />
+<TGConnectingPoint num="24" id="1973" />
+<TGConnectingPoint num="25" id="1974" />
+<TGConnectingPoint num="26" id="1975" />
+<TGConnectingPoint num="27" id="1976" />
+<TGConnectingPoint num="28" id="1977" />
+<TGConnectingPoint num="29" id="1978" />
+<TGConnectingPoint num="30" id="1979" />
+<TGConnectingPoint num="31" id="1980" />
+<TGConnectingPoint num="32" id="1981" />
+<TGConnectingPoint num="33" id="1982" />
+<TGConnectingPoint num="34" id="1983" />
+<TGConnectingPoint num="35" id="1984" />
+<TGConnectingPoint num="36" id="1985" />
+<TGConnectingPoint num="37" id="1986" />
+<TGConnectingPoint num="38" id="1987" />
+<TGConnectingPoint num="39" id="1988" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="2000" >
 <cdparam x="147" y="715" />
 <sizeparam width="199" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="readNextPicture(currentPicture)" />
-<TGConnectingPoint num="0" id="1818" />
-<TGConnectingPoint num="1" id="1819" />
-<TGConnectingPoint num="2" id="1820" />
-<TGConnectingPoint num="3" id="1821" />
-<TGConnectingPoint num="4" id="1822" />
-<TGConnectingPoint num="5" id="1823" />
-<TGConnectingPoint num="6" id="1824" />
-<TGConnectingPoint num="7" id="1825" />
-<TGConnectingPoint num="8" id="1826" />
-<TGConnectingPoint num="9" id="1827" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="1839" >
+<TGConnectingPoint num="0" id="1990" />
+<TGConnectingPoint num="1" id="1991" />
+<TGConnectingPoint num="2" id="1992" />
+<TGConnectingPoint num="3" id="1993" />
+<TGConnectingPoint num="4" id="1994" />
+<TGConnectingPoint num="5" id="1995" />
+<TGConnectingPoint num="6" id="1996" />
+<TGConnectingPoint num="7" id="1997" />
+<TGConnectingPoint num="8" id="1998" />
+<TGConnectingPoint num="9" id="1999" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="2011" >
 <cdparam x="683" y="209" />
 <sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="startCamera()" />
-<TGConnectingPoint num="0" id="1829" />
-<TGConnectingPoint num="1" id="1830" />
-<TGConnectingPoint num="2" id="1831" />
-<TGConnectingPoint num="3" id="1832" />
-<TGConnectingPoint num="4" id="1833" />
-<TGConnectingPoint num="5" id="1834" />
-<TGConnectingPoint num="6" id="1835" />
-<TGConnectingPoint num="7" id="1836" />
-<TGConnectingPoint num="8" id="1837" />
-<TGConnectingPoint num="9" id="1838" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="1850" >
+<TGConnectingPoint num="0" id="2001" />
+<TGConnectingPoint num="1" id="2002" />
+<TGConnectingPoint num="2" id="2003" />
+<TGConnectingPoint num="3" id="2004" />
+<TGConnectingPoint num="4" id="2005" />
+<TGConnectingPoint num="5" id="2006" />
+<TGConnectingPoint num="6" id="2007" />
+<TGConnectingPoint num="7" id="2008" />
+<TGConnectingPoint num="8" id="2009" />
+<TGConnectingPoint num="9" id="2010" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2022" >
 <cdparam x="657" y="155" />
 <sizeparam width="141" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="reach(nbOfCrossings)" />
-<TGConnectingPoint num="0" id="1840" />
-<TGConnectingPoint num="1" id="1841" />
-<TGConnectingPoint num="2" id="1842" />
-<TGConnectingPoint num="3" id="1843" />
-<TGConnectingPoint num="4" id="1844" />
-<TGConnectingPoint num="5" id="1845" />
-<TGConnectingPoint num="6" id="1846" />
-<TGConnectingPoint num="7" id="1847" />
-<TGConnectingPoint num="8" id="1848" />
-<TGConnectingPoint num="9" id="1849" />
-</COMPONENT>
-
-<COMPONENT type="5100" id="1852" >
+<TGConnectingPoint num="0" id="2012" />
+<TGConnectingPoint num="1" id="2013" />
+<TGConnectingPoint num="2" id="2014" />
+<TGConnectingPoint num="3" id="2015" />
+<TGConnectingPoint num="4" id="2016" />
+<TGConnectingPoint num="5" id="2017" />
+<TGConnectingPoint num="6" id="2018" />
+<TGConnectingPoint num="7" id="2019" />
+<TGConnectingPoint num="8" id="2020" />
+<TGConnectingPoint num="9" id="2021" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="2024" >
 <cdparam x="720" y="17" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1851" />
+<TGConnectingPoint num="0" id="2023" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="1893" >
+<COMPONENT type="5106" id="2065" >
 <cdparam x="103" y="960" />
 <sizeparam width="1000" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="CrossingCheck" />
-<TGConnectingPoint num="0" id="1853" />
-<TGConnectingPoint num="1" id="1854" />
-<TGConnectingPoint num="2" id="1855" />
-<TGConnectingPoint num="3" id="1856" />
-<TGConnectingPoint num="4" id="1857" />
-<TGConnectingPoint num="5" id="1858" />
-<TGConnectingPoint num="6" id="1859" />
-<TGConnectingPoint num="7" id="1860" />
-<TGConnectingPoint num="8" id="1861" />
-<TGConnectingPoint num="9" id="1862" />
-<TGConnectingPoint num="10" id="1863" />
-<TGConnectingPoint num="11" id="1864" />
-<TGConnectingPoint num="12" id="1865" />
-<TGConnectingPoint num="13" id="1866" />
-<TGConnectingPoint num="14" id="1867" />
-<TGConnectingPoint num="15" id="1868" />
-<TGConnectingPoint num="16" id="1869" />
-<TGConnectingPoint num="17" id="1870" />
-<TGConnectingPoint num="18" id="1871" />
-<TGConnectingPoint num="19" id="1872" />
-<TGConnectingPoint num="20" id="1873" />
-<TGConnectingPoint num="21" id="1874" />
-<TGConnectingPoint num="22" id="1875" />
-<TGConnectingPoint num="23" id="1876" />
-<TGConnectingPoint num="24" id="1877" />
-<TGConnectingPoint num="25" id="1878" />
-<TGConnectingPoint num="26" id="1879" />
-<TGConnectingPoint num="27" id="1880" />
-<TGConnectingPoint num="28" id="1881" />
-<TGConnectingPoint num="29" id="1882" />
-<TGConnectingPoint num="30" id="1883" />
-<TGConnectingPoint num="31" id="1884" />
-<TGConnectingPoint num="32" id="1885" />
-<TGConnectingPoint num="33" id="1886" />
-<TGConnectingPoint num="34" id="1887" />
-<TGConnectingPoint num="35" id="1888" />
-<TGConnectingPoint num="36" id="1889" />
-<TGConnectingPoint num="37" id="1890" />
-<TGConnectingPoint num="38" id="1891" />
-<TGConnectingPoint num="39" id="1892" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="1934" >
+<TGConnectingPoint num="0" id="2025" />
+<TGConnectingPoint num="1" id="2026" />
+<TGConnectingPoint num="2" id="2027" />
+<TGConnectingPoint num="3" id="2028" />
+<TGConnectingPoint num="4" id="2029" />
+<TGConnectingPoint num="5" id="2030" />
+<TGConnectingPoint num="6" id="2031" />
+<TGConnectingPoint num="7" id="2032" />
+<TGConnectingPoint num="8" id="2033" />
+<TGConnectingPoint num="9" id="2034" />
+<TGConnectingPoint num="10" id="2035" />
+<TGConnectingPoint num="11" id="2036" />
+<TGConnectingPoint num="12" id="2037" />
+<TGConnectingPoint num="13" id="2038" />
+<TGConnectingPoint num="14" id="2039" />
+<TGConnectingPoint num="15" id="2040" />
+<TGConnectingPoint num="16" id="2041" />
+<TGConnectingPoint num="17" id="2042" />
+<TGConnectingPoint num="18" id="2043" />
+<TGConnectingPoint num="19" id="2044" />
+<TGConnectingPoint num="20" id="2045" />
+<TGConnectingPoint num="21" id="2046" />
+<TGConnectingPoint num="22" id="2047" />
+<TGConnectingPoint num="23" id="2048" />
+<TGConnectingPoint num="24" id="2049" />
+<TGConnectingPoint num="25" id="2050" />
+<TGConnectingPoint num="26" id="2051" />
+<TGConnectingPoint num="27" id="2052" />
+<TGConnectingPoint num="28" id="2053" />
+<TGConnectingPoint num="29" id="2054" />
+<TGConnectingPoint num="30" id="2055" />
+<TGConnectingPoint num="31" id="2056" />
+<TGConnectingPoint num="32" id="2057" />
+<TGConnectingPoint num="33" id="2058" />
+<TGConnectingPoint num="34" id="2059" />
+<TGConnectingPoint num="35" id="2060" />
+<TGConnectingPoint num="36" id="2061" />
+<TGConnectingPoint num="37" id="2062" />
+<TGConnectingPoint num="38" id="2063" />
+<TGConnectingPoint num="39" id="2064" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2106" >
 <cdparam x="444" y="599" />
 <sizeparam width="564" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="mainLoop" />
-<TGConnectingPoint num="0" id="1894" />
-<TGConnectingPoint num="1" id="1895" />
-<TGConnectingPoint num="2" id="1896" />
-<TGConnectingPoint num="3" id="1897" />
-<TGConnectingPoint num="4" id="1898" />
-<TGConnectingPoint num="5" id="1899" />
-<TGConnectingPoint num="6" id="1900" />
-<TGConnectingPoint num="7" id="1901" />
-<TGConnectingPoint num="8" id="1902" />
-<TGConnectingPoint num="9" id="1903" />
-<TGConnectingPoint num="10" id="1904" />
-<TGConnectingPoint num="11" id="1905" />
-<TGConnectingPoint num="12" id="1906" />
-<TGConnectingPoint num="13" id="1907" />
-<TGConnectingPoint num="14" id="1908" />
-<TGConnectingPoint num="15" id="1909" />
-<TGConnectingPoint num="16" id="1910" />
-<TGConnectingPoint num="17" id="1911" />
-<TGConnectingPoint num="18" id="1912" />
-<TGConnectingPoint num="19" id="1913" />
-<TGConnectingPoint num="20" id="1914" />
-<TGConnectingPoint num="21" id="1915" />
-<TGConnectingPoint num="22" id="1916" />
-<TGConnectingPoint num="23" id="1917" />
-<TGConnectingPoint num="24" id="1918" />
-<TGConnectingPoint num="25" id="1919" />
-<TGConnectingPoint num="26" id="1920" />
-<TGConnectingPoint num="27" id="1921" />
-<TGConnectingPoint num="28" id="1922" />
-<TGConnectingPoint num="29" id="1923" />
-<TGConnectingPoint num="30" id="1924" />
-<TGConnectingPoint num="31" id="1925" />
-<TGConnectingPoint num="32" id="1926" />
-<TGConnectingPoint num="33" id="1927" />
-<TGConnectingPoint num="34" id="1928" />
-<TGConnectingPoint num="35" id="1929" />
-<TGConnectingPoint num="36" id="1930" />
-<TGConnectingPoint num="37" id="1931" />
-<TGConnectingPoint num="38" id="1932" />
-<TGConnectingPoint num="39" id="1933" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="1975" >
+<TGConnectingPoint num="0" id="2066" />
+<TGConnectingPoint num="1" id="2067" />
+<TGConnectingPoint num="2" id="2068" />
+<TGConnectingPoint num="3" id="2069" />
+<TGConnectingPoint num="4" id="2070" />
+<TGConnectingPoint num="5" id="2071" />
+<TGConnectingPoint num="6" id="2072" />
+<TGConnectingPoint num="7" id="2073" />
+<TGConnectingPoint num="8" id="2074" />
+<TGConnectingPoint num="9" id="2075" />
+<TGConnectingPoint num="10" id="2076" />
+<TGConnectingPoint num="11" id="2077" />
+<TGConnectingPoint num="12" id="2078" />
+<TGConnectingPoint num="13" id="2079" />
+<TGConnectingPoint num="14" id="2080" />
+<TGConnectingPoint num="15" id="2081" />
+<TGConnectingPoint num="16" id="2082" />
+<TGConnectingPoint num="17" id="2083" />
+<TGConnectingPoint num="18" id="2084" />
+<TGConnectingPoint num="19" id="2085" />
+<TGConnectingPoint num="20" id="2086" />
+<TGConnectingPoint num="21" id="2087" />
+<TGConnectingPoint num="22" id="2088" />
+<TGConnectingPoint num="23" id="2089" />
+<TGConnectingPoint num="24" id="2090" />
+<TGConnectingPoint num="25" id="2091" />
+<TGConnectingPoint num="26" id="2092" />
+<TGConnectingPoint num="27" id="2093" />
+<TGConnectingPoint num="28" id="2094" />
+<TGConnectingPoint num="29" id="2095" />
+<TGConnectingPoint num="30" id="2096" />
+<TGConnectingPoint num="31" id="2097" />
+<TGConnectingPoint num="32" id="2098" />
+<TGConnectingPoint num="33" id="2099" />
+<TGConnectingPoint num="34" id="2100" />
+<TGConnectingPoint num="35" id="2101" />
+<TGConnectingPoint num="36" id="2102" />
+<TGConnectingPoint num="37" id="2103" />
+<TGConnectingPoint num="38" id="2104" />
+<TGConnectingPoint num="39" id="2105" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2147" >
 <cdparam x="914" y="858" />
 <sizeparam width="154" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="WaitingForMission" />
-<TGConnectingPoint num="0" id="1935" />
-<TGConnectingPoint num="1" id="1936" />
-<TGConnectingPoint num="2" id="1937" />
-<TGConnectingPoint num="3" id="1938" />
-<TGConnectingPoint num="4" id="1939" />
-<TGConnectingPoint num="5" id="1940" />
-<TGConnectingPoint num="6" id="1941" />
-<TGConnectingPoint num="7" id="1942" />
-<TGConnectingPoint num="8" id="1943" />
-<TGConnectingPoint num="9" id="1944" />
-<TGConnectingPoint num="10" id="1945" />
-<TGConnectingPoint num="11" id="1946" />
-<TGConnectingPoint num="12" id="1947" />
-<TGConnectingPoint num="13" id="1948" />
-<TGConnectingPoint num="14" id="1949" />
-<TGConnectingPoint num="15" id="1950" />
-<TGConnectingPoint num="16" id="1951" />
-<TGConnectingPoint num="17" id="1952" />
-<TGConnectingPoint num="18" id="1953" />
-<TGConnectingPoint num="19" id="1954" />
-<TGConnectingPoint num="20" id="1955" />
-<TGConnectingPoint num="21" id="1956" />
-<TGConnectingPoint num="22" id="1957" />
-<TGConnectingPoint num="23" id="1958" />
-<TGConnectingPoint num="24" id="1959" />
-<TGConnectingPoint num="25" id="1960" />
-<TGConnectingPoint num="26" id="1961" />
-<TGConnectingPoint num="27" id="1962" />
-<TGConnectingPoint num="28" id="1963" />
-<TGConnectingPoint num="29" id="1964" />
-<TGConnectingPoint num="30" id="1965" />
-<TGConnectingPoint num="31" id="1966" />
-<TGConnectingPoint num="32" id="1967" />
-<TGConnectingPoint num="33" id="1968" />
-<TGConnectingPoint num="34" id="1969" />
-<TGConnectingPoint num="35" id="1970" />
-<TGConnectingPoint num="36" id="1971" />
-<TGConnectingPoint num="37" id="1972" />
-<TGConnectingPoint num="38" id="1973" />
-<TGConnectingPoint num="39" id="1974" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="2016" >
+<TGConnectingPoint num="0" id="2107" />
+<TGConnectingPoint num="1" id="2108" />
+<TGConnectingPoint num="2" id="2109" />
+<TGConnectingPoint num="3" id="2110" />
+<TGConnectingPoint num="4" id="2111" />
+<TGConnectingPoint num="5" id="2112" />
+<TGConnectingPoint num="6" id="2113" />
+<TGConnectingPoint num="7" id="2114" />
+<TGConnectingPoint num="8" id="2115" />
+<TGConnectingPoint num="9" id="2116" />
+<TGConnectingPoint num="10" id="2117" />
+<TGConnectingPoint num="11" id="2118" />
+<TGConnectingPoint num="12" id="2119" />
+<TGConnectingPoint num="13" id="2120" />
+<TGConnectingPoint num="14" id="2121" />
+<TGConnectingPoint num="15" id="2122" />
+<TGConnectingPoint num="16" id="2123" />
+<TGConnectingPoint num="17" id="2124" />
+<TGConnectingPoint num="18" id="2125" />
+<TGConnectingPoint num="19" id="2126" />
+<TGConnectingPoint num="20" id="2127" />
+<TGConnectingPoint num="21" id="2128" />
+<TGConnectingPoint num="22" id="2129" />
+<TGConnectingPoint num="23" id="2130" />
+<TGConnectingPoint num="24" id="2131" />
+<TGConnectingPoint num="25" id="2132" />
+<TGConnectingPoint num="26" id="2133" />
+<TGConnectingPoint num="27" id="2134" />
+<TGConnectingPoint num="28" id="2135" />
+<TGConnectingPoint num="29" id="2136" />
+<TGConnectingPoint num="30" id="2137" />
+<TGConnectingPoint num="31" id="2138" />
+<TGConnectingPoint num="32" id="2139" />
+<TGConnectingPoint num="33" id="2140" />
+<TGConnectingPoint num="34" id="2141" />
+<TGConnectingPoint num="35" id="2142" />
+<TGConnectingPoint num="36" id="2143" />
+<TGConnectingPoint num="37" id="2144" />
+<TGConnectingPoint num="38" id="2145" />
+<TGConnectingPoint num="39" id="2146" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2188" >
 <cdparam x="650" y="75" />
 <sizeparam width="154" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="WaitingForMission" />
-<TGConnectingPoint num="0" id="1976" />
-<TGConnectingPoint num="1" id="1977" />
-<TGConnectingPoint num="2" id="1978" />
-<TGConnectingPoint num="3" id="1979" />
-<TGConnectingPoint num="4" id="1980" />
-<TGConnectingPoint num="5" id="1981" />
-<TGConnectingPoint num="6" id="1982" />
-<TGConnectingPoint num="7" id="1983" />
-<TGConnectingPoint num="8" id="1984" />
-<TGConnectingPoint num="9" id="1985" />
-<TGConnectingPoint num="10" id="1986" />
-<TGConnectingPoint num="11" id="1987" />
-<TGConnectingPoint num="12" id="1988" />
-<TGConnectingPoint num="13" id="1989" />
-<TGConnectingPoint num="14" id="1990" />
-<TGConnectingPoint num="15" id="1991" />
-<TGConnectingPoint num="16" id="1992" />
-<TGConnectingPoint num="17" id="1993" />
-<TGConnectingPoint num="18" id="1994" />
-<TGConnectingPoint num="19" id="1995" />
-<TGConnectingPoint num="20" id="1996" />
-<TGConnectingPoint num="21" id="1997" />
-<TGConnectingPoint num="22" id="1998" />
-<TGConnectingPoint num="23" id="1999" />
-<TGConnectingPoint num="24" id="2000" />
-<TGConnectingPoint num="25" id="2001" />
-<TGConnectingPoint num="26" id="2002" />
-<TGConnectingPoint num="27" id="2003" />
-<TGConnectingPoint num="28" id="2004" />
-<TGConnectingPoint num="29" id="2005" />
-<TGConnectingPoint num="30" id="2006" />
-<TGConnectingPoint num="31" id="2007" />
-<TGConnectingPoint num="32" id="2008" />
-<TGConnectingPoint num="33" id="2009" />
-<TGConnectingPoint num="34" id="2010" />
-<TGConnectingPoint num="35" id="2011" />
-<TGConnectingPoint num="36" id="2012" />
-<TGConnectingPoint num="37" id="2013" />
-<TGConnectingPoint num="38" id="2014" />
-<TGConnectingPoint num="39" id="2015" />
+<TGConnectingPoint num="0" id="2148" />
+<TGConnectingPoint num="1" id="2149" />
+<TGConnectingPoint num="2" id="2150" />
+<TGConnectingPoint num="3" id="2151" />
+<TGConnectingPoint num="4" id="2152" />
+<TGConnectingPoint num="5" id="2153" />
+<TGConnectingPoint num="6" id="2154" />
+<TGConnectingPoint num="7" id="2155" />
+<TGConnectingPoint num="8" id="2156" />
+<TGConnectingPoint num="9" id="2157" />
+<TGConnectingPoint num="10" id="2158" />
+<TGConnectingPoint num="11" id="2159" />
+<TGConnectingPoint num="12" id="2160" />
+<TGConnectingPoint num="13" id="2161" />
+<TGConnectingPoint num="14" id="2162" />
+<TGConnectingPoint num="15" id="2163" />
+<TGConnectingPoint num="16" id="2164" />
+<TGConnectingPoint num="17" id="2165" />
+<TGConnectingPoint num="18" id="2166" />
+<TGConnectingPoint num="19" id="2167" />
+<TGConnectingPoint num="20" id="2168" />
+<TGConnectingPoint num="21" id="2169" />
+<TGConnectingPoint num="22" id="2170" />
+<TGConnectingPoint num="23" id="2171" />
+<TGConnectingPoint num="24" id="2172" />
+<TGConnectingPoint num="25" id="2173" />
+<TGConnectingPoint num="26" id="2174" />
+<TGConnectingPoint num="27" id="2175" />
+<TGConnectingPoint num="28" id="2176" />
+<TGConnectingPoint num="29" id="2177" />
+<TGConnectingPoint num="30" id="2178" />
+<TGConnectingPoint num="31" id="2179" />
+<TGConnectingPoint num="32" id="2180" />
+<TGConnectingPoint num="33" id="2181" />
+<TGConnectingPoint num="34" id="2182" />
+<TGConnectingPoint num="35" id="2183" />
+<TGConnectingPoint num="36" id="2184" />
+<TGConnectingPoint num="37" id="2185" />
+<TGConnectingPoint num="38" id="2186" />
+<TGConnectingPoint num="39" id="2187" />
 <extraparam>
 </extraparam>
 </COMPONENT>
@@ -4725,55 +4725,55 @@ Command mode:
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="EngineController" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2029" >
+<CONNECTOR type="5102" id="2201" >
 <cdparam x="492" y="280" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2025" />
-<TGConnectingPoint num="1" id="2026" />
-<TGConnectingPoint num="2" id="2027" />
-<TGConnectingPoint num="3" id="2028" />
-<P1  x="492" y="280" id="2045" />
-<P2  x="563" y="198" id="2059" />
+<TGConnectingPoint num="0" id="2197" />
+<TGConnectingPoint num="1" id="2198" />
+<TGConnectingPoint num="2" id="2199" />
+<TGConnectingPoint num="3" id="2200" />
+<P1  x="492" y="280" id="2217" />
+<P2  x="563" y="198" id="2231" />
 <Point x="494" y="328" />
 <Point x="589" y="330" />
 <Point x="590" y="196" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2017" >
-<father id="2029" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2189" >
+<father id="2201" num="0" />
 <cdparam x="494" y="328" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2018" >
-<father id="2029" num="1" />
+<SUBCOMPONENT type="-1" id="2190" >
+<father id="2201" num="1" />
 <cdparam x="589" y="330" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2019" >
-<father id="2029" num="2" />
+<SUBCOMPONENT type="-1" id="2191" >
+<father id="2201" num="2" />
 <cdparam x="590" y="196" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2024" >
-<father id="2029" num="3" />
+<SUBCOMPONENT type="-1" id="2196" >
+<father id="2201" num="3" />
 <cdparam x="492" y="320" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2020" />
-<TGConnectingPoint num="1" id="2021" />
-<TGConnectingPoint num="2" id="2022" />
-<TGConnectingPoint num="3" id="2023" />
+<TGConnectingPoint num="0" id="2192" />
+<TGConnectingPoint num="1" id="2193" />
+<TGConnectingPoint num="2" id="2194" />
+<TGConnectingPoint num="3" id="2195" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -4783,25 +4783,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2036" >
+<CONNECTOR type="5102" id="2208" >
 <cdparam x="435" y="119" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2035" />
-<P1  x="435" y="119" id="2096" />
-<P2  x="458" y="173" id="2056" />
+<TGConnectingPoint num="0" id="2207" />
+<P1  x="435" y="119" id="2268" />
+<P2  x="458" y="173" id="2228" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2034" >
-<father id="2036" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2206" >
+<father id="2208" num="0" />
 <cdparam x="455" y="138" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2030" />
-<TGConnectingPoint num="1" id="2031" />
-<TGConnectingPoint num="2" id="2032" />
-<TGConnectingPoint num="3" id="2033" />
+<TGConnectingPoint num="0" id="2202" />
+<TGConnectingPoint num="1" id="2203" />
+<TGConnectingPoint num="2" id="2204" />
+<TGConnectingPoint num="3" id="2205" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -4811,25 +4811,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2043" >
+<CONNECTOR type="5102" id="2215" >
 <cdparam x="483" y="223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="2042" />
-<P1  x="483" y="223" id="2085" />
-<P2  x="492" y="250" id="2044" />
+<TGConnectingPoint num="0" id="2214" />
+<P1  x="483" y="223" id="2257" />
+<P2  x="492" y="250" id="2216" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2041" >
-<father id="2043" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2213" >
+<father id="2215" num="0" />
 <cdparam x="483" y="263" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2037" />
-<TGConnectingPoint num="1" id="2038" />
-<TGConnectingPoint num="2" id="2039" />
-<TGConnectingPoint num="3" id="2040" />
+<TGConnectingPoint num="0" id="2209" />
+<TGConnectingPoint num="1" id="2210" />
+<TGConnectingPoint num="2" id="2211" />
+<TGConnectingPoint num="3" id="2212" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -4839,106 +4839,106 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="2054" >
+<COMPONENT type="5104" id="2226" >
 <cdparam x="401" y="255" />
 <sizeparam width="182" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="getCommand(lastCommand)" />
-<TGConnectingPoint num="0" id="2044" />
-<TGConnectingPoint num="1" id="2045" />
-<TGConnectingPoint num="2" id="2046" />
-<TGConnectingPoint num="3" id="2047" />
-<TGConnectingPoint num="4" id="2048" />
-<TGConnectingPoint num="5" id="2049" />
-<TGConnectingPoint num="6" id="2050" />
-<TGConnectingPoint num="7" id="2051" />
-<TGConnectingPoint num="8" id="2052" />
-<TGConnectingPoint num="9" id="2053" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2095" >
+<TGConnectingPoint num="0" id="2216" />
+<TGConnectingPoint num="1" id="2217" />
+<TGConnectingPoint num="2" id="2218" />
+<TGConnectingPoint num="3" id="2219" />
+<TGConnectingPoint num="4" id="2220" />
+<TGConnectingPoint num="5" id="2221" />
+<TGConnectingPoint num="6" id="2222" />
+<TGConnectingPoint num="7" id="2223" />
+<TGConnectingPoint num="8" id="2224" />
+<TGConnectingPoint num="9" id="2225" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2267" >
 <cdparam x="353" y="173" />
 <sizeparam width="210" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForCommand" />
-<TGConnectingPoint num="0" id="2055" />
-<TGConnectingPoint num="1" id="2056" />
-<TGConnectingPoint num="2" id="2057" />
-<TGConnectingPoint num="3" id="2058" />
-<TGConnectingPoint num="4" id="2059" />
-<TGConnectingPoint num="5" id="2060" />
-<TGConnectingPoint num="6" id="2061" />
-<TGConnectingPoint num="7" id="2062" />
-<TGConnectingPoint num="8" id="2063" />
-<TGConnectingPoint num="9" id="2064" />
-<TGConnectingPoint num="10" id="2065" />
-<TGConnectingPoint num="11" id="2066" />
-<TGConnectingPoint num="12" id="2067" />
-<TGConnectingPoint num="13" id="2068" />
-<TGConnectingPoint num="14" id="2069" />
-<TGConnectingPoint num="15" id="2070" />
-<TGConnectingPoint num="16" id="2071" />
-<TGConnectingPoint num="17" id="2072" />
-<TGConnectingPoint num="18" id="2073" />
-<TGConnectingPoint num="19" id="2074" />
-<TGConnectingPoint num="20" id="2075" />
-<TGConnectingPoint num="21" id="2076" />
-<TGConnectingPoint num="22" id="2077" />
-<TGConnectingPoint num="23" id="2078" />
-<TGConnectingPoint num="24" id="2079" />
-<TGConnectingPoint num="25" id="2080" />
-<TGConnectingPoint num="26" id="2081" />
-<TGConnectingPoint num="27" id="2082" />
-<TGConnectingPoint num="28" id="2083" />
-<TGConnectingPoint num="29" id="2084" />
-<TGConnectingPoint num="30" id="2085" />
-<TGConnectingPoint num="31" id="2086" />
-<TGConnectingPoint num="32" id="2087" />
-<TGConnectingPoint num="33" id="2088" />
-<TGConnectingPoint num="34" id="2089" />
-<TGConnectingPoint num="35" id="2090" />
-<TGConnectingPoint num="36" id="2091" />
-<TGConnectingPoint num="37" id="2092" />
-<TGConnectingPoint num="38" id="2093" />
-<TGConnectingPoint num="39" id="2094" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="2097" >
+<TGConnectingPoint num="0" id="2227" />
+<TGConnectingPoint num="1" id="2228" />
+<TGConnectingPoint num="2" id="2229" />
+<TGConnectingPoint num="3" id="2230" />
+<TGConnectingPoint num="4" id="2231" />
+<TGConnectingPoint num="5" id="2232" />
+<TGConnectingPoint num="6" id="2233" />
+<TGConnectingPoint num="7" id="2234" />
+<TGConnectingPoint num="8" id="2235" />
+<TGConnectingPoint num="9" id="2236" />
+<TGConnectingPoint num="10" id="2237" />
+<TGConnectingPoint num="11" id="2238" />
+<TGConnectingPoint num="12" id="2239" />
+<TGConnectingPoint num="13" id="2240" />
+<TGConnectingPoint num="14" id="2241" />
+<TGConnectingPoint num="15" id="2242" />
+<TGConnectingPoint num="16" id="2243" />
+<TGConnectingPoint num="17" id="2244" />
+<TGConnectingPoint num="18" id="2245" />
+<TGConnectingPoint num="19" id="2246" />
+<TGConnectingPoint num="20" id="2247" />
+<TGConnectingPoint num="21" id="2248" />
+<TGConnectingPoint num="22" id="2249" />
+<TGConnectingPoint num="23" id="2250" />
+<TGConnectingPoint num="24" id="2251" />
+<TGConnectingPoint num="25" id="2252" />
+<TGConnectingPoint num="26" id="2253" />
+<TGConnectingPoint num="27" id="2254" />
+<TGConnectingPoint num="28" id="2255" />
+<TGConnectingPoint num="29" id="2256" />
+<TGConnectingPoint num="30" id="2257" />
+<TGConnectingPoint num="31" id="2258" />
+<TGConnectingPoint num="32" id="2259" />
+<TGConnectingPoint num="33" id="2260" />
+<TGConnectingPoint num="34" id="2261" />
+<TGConnectingPoint num="35" id="2262" />
+<TGConnectingPoint num="36" id="2263" />
+<TGConnectingPoint num="37" id="2264" />
+<TGConnectingPoint num="38" id="2265" />
+<TGConnectingPoint num="39" id="2266" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="2269" >
 <cdparam x="428" y="99" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2096" />
+<TGConnectingPoint num="0" id="2268" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Camera" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2104" >
+<CONNECTOR type="5102" id="2276" >
 <cdparam x="482" y="481" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="2103" />
-<P1  x="482" y="481" id="2228" />
-<P2  x="495" y="596" id="2204" />
+<TGConnectingPoint num="0" id="2275" />
+<P1  x="482" y="481" id="2400" />
+<P2  x="495" y="596" id="2376" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2102" >
-<father id="2104" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2274" >
+<father id="2276" num="0" />
 <cdparam x="502" y="512" />
 <sizeparam width="82" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2098" />
-<TGConnectingPoint num="1" id="2099" />
-<TGConnectingPoint num="2" id="2100" />
-<TGConnectingPoint num="3" id="2101" />
+<TGConnectingPoint num="0" id="2270" />
+<TGConnectingPoint num="1" id="2271" />
+<TGConnectingPoint num="2" id="2272" />
+<TGConnectingPoint num="3" id="2273" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -4949,55 +4949,55 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2117" >
+<CONNECTOR type="5102" id="2289" >
 <cdparam x="144" y="428" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2113" />
-<TGConnectingPoint num="1" id="2114" />
-<TGConnectingPoint num="2" id="2115" />
-<TGConnectingPoint num="3" id="2116" />
-<P1  x="144" y="428" id="2243" />
-<P2  x="337" y="133" id="2284" />
+<TGConnectingPoint num="0" id="2285" />
+<TGConnectingPoint num="1" id="2286" />
+<TGConnectingPoint num="2" id="2287" />
+<TGConnectingPoint num="3" id="2288" />
+<P1  x="144" y="428" id="2415" />
+<P2  x="337" y="133" id="2456" />
 <Point x="144" y="462" />
 <Point x="86" y="462" />
 <Point x="86" y="133" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2105" >
-<father id="2117" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2277" >
+<father id="2289" num="0" />
 <cdparam x="144" y="462" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2106" >
-<father id="2117" num="1" />
+<SUBCOMPONENT type="-1" id="2278" >
+<father id="2289" num="1" />
 <cdparam x="86" y="462" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2107" >
-<father id="2117" num="2" />
+<SUBCOMPONENT type="-1" id="2279" >
+<father id="2289" num="2" />
 <cdparam x="86" y="133" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2112" >
-<father id="2117" num="3" />
+<SUBCOMPONENT type="-1" id="2284" >
+<father id="2289" num="3" />
 <cdparam x="144" y="468" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2108" />
-<TGConnectingPoint num="1" id="2109" />
-<TGConnectingPoint num="2" id="2110" />
-<TGConnectingPoint num="3" id="2111" />
+<TGConnectingPoint num="0" id="2280" />
+<TGConnectingPoint num="1" id="2281" />
+<TGConnectingPoint num="2" id="2282" />
+<TGConnectingPoint num="3" id="2283" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5007,25 +5007,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2124" >
+<CONNECTOR type="5102" id="2296" >
 <cdparam x="378" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="2123" />
-<P1  x="378" y="398" id="2322" />
-<P2  x="144" y="398" id="2242" />
+<TGConnectingPoint num="0" id="2295" />
+<P1  x="378" y="398" id="2494" />
+<P2  x="144" y="398" id="2414" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2122" >
-<father id="2124" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2294" >
+<father id="2296" num="0" />
 <cdparam x="378" y="438" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2118" />
-<TGConnectingPoint num="1" id="2119" />
-<TGConnectingPoint num="2" id="2120" />
-<TGConnectingPoint num="3" id="2121" />
+<TGConnectingPoint num="0" id="2290" />
+<TGConnectingPoint num="1" id="2291" />
+<TGConnectingPoint num="2" id="2292" />
+<TGConnectingPoint num="3" id="2293" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5035,45 +5035,45 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2135" >
+<CONNECTOR type="5102" id="2307" >
 <cdparam x="457" y="578" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2132" />
-<TGConnectingPoint num="1" id="2133" />
-<TGConnectingPoint num="2" id="2134" />
-<P1  x="458" y="795" id="2309" />
-<P2  x="536" y="398" id="2323" />
+<TGConnectingPoint num="0" id="2304" />
+<TGConnectingPoint num="1" id="2305" />
+<TGConnectingPoint num="2" id="2306" />
+<P1  x="458" y="795" id="2481" />
+<P2  x="536" y="398" id="2495" />
 <Point x="661" y="795" />
 <Point x="661" y="398" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2125" >
-<father id="2135" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2297" >
+<father id="2307" num="0" />
 <cdparam x="661" y="795" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2126" >
-<father id="2135" num="1" />
+<SUBCOMPONENT type="-1" id="2298" >
+<father id="2307" num="1" />
 <cdparam x="661" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2131" >
-<father id="2135" num="2" />
+<SUBCOMPONENT type="-1" id="2303" >
+<father id="2307" num="2" />
 <cdparam x="623" y="527" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2127" />
-<TGConnectingPoint num="1" id="2128" />
-<TGConnectingPoint num="2" id="2129" />
-<TGConnectingPoint num="3" id="2130" />
+<TGConnectingPoint num="0" id="2299" />
+<TGConnectingPoint num="1" id="2300" />
+<TGConnectingPoint num="2" id="2301" />
+<TGConnectingPoint num="3" id="2302" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5083,25 +5083,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2142" >
+<CONNECTOR type="5102" id="2314" >
 <cdparam x="460" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to Send signal" value="null" />
-<TGConnectingPoint num="0" id="2141" />
-<P1  x="458" y="703" id="2306" />
-<P2  x="458" y="765" id="2308" />
+<TGConnectingPoint num="0" id="2313" />
+<P1  x="458" y="703" id="2478" />
+<P2  x="458" y="765" id="2480" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2140" >
-<father id="2142" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2312" >
+<father id="2314" num="0" />
 <cdparam x="474" y="718" />
 <sizeparam width="112" height="60" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2136" />
-<TGConnectingPoint num="1" id="2137" />
-<TGConnectingPoint num="2" id="2138" />
-<TGConnectingPoint num="3" id="2139" />
+<TGConnectingPoint num="0" id="2308" />
+<TGConnectingPoint num="1" id="2309" />
+<TGConnectingPoint num="2" id="2310" />
+<TGConnectingPoint num="3" id="2311" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5115,25 +5115,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2149" >
+<CONNECTOR type="5102" id="2321" >
 <cdparam x="410" y="247" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2148" />
-<P1  x="387" y="91" id="2360" />
-<P2  x="387" y="127" id="2265" />
+<TGConnectingPoint num="0" id="2320" />
+<P1  x="387" y="91" id="2532" />
+<P2  x="387" y="127" id="2437" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2147" >
-<father id="2149" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2319" >
+<father id="2321" num="0" />
 <cdparam x="410" y="287" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2143" />
-<TGConnectingPoint num="1" id="2144" />
-<TGConnectingPoint num="2" id="2145" />
-<TGConnectingPoint num="3" id="2146" />
+<TGConnectingPoint num="0" id="2315" />
+<TGConnectingPoint num="1" id="2316" />
+<TGConnectingPoint num="2" id="2317" />
+<TGConnectingPoint num="3" id="2318" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5143,25 +5143,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2156" >
+<CONNECTOR type="5102" id="2328" >
 <cdparam x="536" y="423" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2155" />
-<P1  x="457" y="423" id="2325" />
-<P2  x="457" y="456" id="2226" />
+<TGConnectingPoint num="0" id="2327" />
+<P1  x="457" y="423" id="2497" />
+<P2  x="457" y="456" id="2398" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2154" >
-<father id="2156" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2326" >
+<father id="2328" num="0" />
 <cdparam x="228" y="450" />
 <sizeparam width="227" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2150" />
-<TGConnectingPoint num="1" id="2151" />
-<TGConnectingPoint num="2" id="2152" />
-<TGConnectingPoint num="3" id="2153" />
+<TGConnectingPoint num="0" id="2322" />
+<TGConnectingPoint num="1" id="2323" />
+<TGConnectingPoint num="2" id="2324" />
+<TGConnectingPoint num="3" id="2325" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="interframeDelay" />
@@ -5171,25 +5171,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2163" >
+<CONNECTOR type="5102" id="2335" >
 <cdparam x="491" y="198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="2162" />
-<P1  x="374" y="177" id="2293" />
-<P2  x="374" y="208" id="2253" />
+<TGConnectingPoint num="0" id="2334" />
+<P1  x="374" y="177" id="2465" />
+<P2  x="374" y="208" id="2425" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2161" >
-<father id="2163" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2333" >
+<father id="2335" num="0" />
 <cdparam x="491" y="238" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2157" />
-<TGConnectingPoint num="1" id="2158" />
-<TGConnectingPoint num="2" id="2159" />
-<TGConnectingPoint num="3" id="2160" />
+<TGConnectingPoint num="0" id="2329" />
+<TGConnectingPoint num="1" id="2330" />
+<TGConnectingPoint num="2" id="2331" />
+<TGConnectingPoint num="3" id="2332" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5199,25 +5199,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2170" >
+<CONNECTOR type="5102" id="2342" >
 <cdparam x="568" y="205" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2169" />
-<P1  x="374" y="238" id="2254" />
-<P2  x="436" y="373" id="2336" />
+<TGConnectingPoint num="0" id="2341" />
+<P1  x="374" y="238" id="2426" />
+<P2  x="436" y="373" id="2508" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2168" >
-<father id="2170" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2340" >
+<father id="2342" num="0" />
 <cdparam x="568" y="245" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2164" />
-<TGConnectingPoint num="1" id="2165" />
-<TGConnectingPoint num="2" id="2166" />
-<TGConnectingPoint num="3" id="2167" />
+<TGConnectingPoint num="0" id="2336" />
+<TGConnectingPoint num="1" id="2337" />
+<TGConnectingPoint num="2" id="2338" />
+<TGConnectingPoint num="3" id="2339" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5227,25 +5227,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2177" >
+<CONNECTOR type="5102" id="2349" >
 <cdparam x="457" y="506" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="2176" />
-<P1  x="432" y="481" id="2227" />
-<P2  x="420" y="596" id="2201" />
+<TGConnectingPoint num="0" id="2348" />
+<P1  x="432" y="481" id="2399" />
+<P2  x="420" y="596" id="2373" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2175" >
-<father id="2177" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2347" >
+<father id="2349" num="0" />
 <cdparam x="324" y="530" />
 <sizeparam width="86" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2171" />
-<TGConnectingPoint num="1" id="2172" />
-<TGConnectingPoint num="2" id="2173" />
-<TGConnectingPoint num="3" id="2174" />
+<TGConnectingPoint num="0" id="2343" />
+<TGConnectingPoint num="1" id="2344" />
+<TGConnectingPoint num="2" id="2345" />
+<TGConnectingPoint num="3" id="2346" />
 <extraparam>
 <guard value="[ bottom ]" />
 <afterMin value="" />
@@ -5256,25 +5256,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2184" >
+<CONNECTOR type="5102" id="2356" >
 <cdparam x="417" y="574" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2183" />
-<P1  x="458" y="646" id="2191" />
-<P2  x="458" y="673" id="2305" />
+<TGConnectingPoint num="0" id="2355" />
+<P1  x="458" y="646" id="2363" />
+<P2  x="458" y="673" id="2477" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2182" >
-<father id="2184" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2354" >
+<father id="2356" num="0" />
 <cdparam x="417" y="614" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2178" />
-<TGConnectingPoint num="1" id="2179" />
-<TGConnectingPoint num="2" id="2180" />
-<TGConnectingPoint num="3" id="2181" />
+<TGConnectingPoint num="0" id="2350" />
+<TGConnectingPoint num="1" id="2351" />
+<TGConnectingPoint num="2" id="2352" />
+<TGConnectingPoint num="3" id="2353" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -5284,301 +5284,301 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5106" id="2225" >
+<COMPONENT type="5106" id="2397" >
 <cdparam x="408" y="596" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingData" />
-<TGConnectingPoint num="0" id="2185" />
-<TGConnectingPoint num="1" id="2186" />
-<TGConnectingPoint num="2" id="2187" />
-<TGConnectingPoint num="3" id="2188" />
-<TGConnectingPoint num="4" id="2189" />
-<TGConnectingPoint num="5" id="2190" />
-<TGConnectingPoint num="6" id="2191" />
-<TGConnectingPoint num="7" id="2192" />
-<TGConnectingPoint num="8" id="2193" />
-<TGConnectingPoint num="9" id="2194" />
-<TGConnectingPoint num="10" id="2195" />
-<TGConnectingPoint num="11" id="2196" />
-<TGConnectingPoint num="12" id="2197" />
-<TGConnectingPoint num="13" id="2198" />
-<TGConnectingPoint num="14" id="2199" />
-<TGConnectingPoint num="15" id="2200" />
-<TGConnectingPoint num="16" id="2201" />
-<TGConnectingPoint num="17" id="2202" />
-<TGConnectingPoint num="18" id="2203" />
-<TGConnectingPoint num="19" id="2204" />
-<TGConnectingPoint num="20" id="2205" />
-<TGConnectingPoint num="21" id="2206" />
-<TGConnectingPoint num="22" id="2207" />
-<TGConnectingPoint num="23" id="2208" />
-<TGConnectingPoint num="24" id="2209" />
-<TGConnectingPoint num="25" id="2210" />
-<TGConnectingPoint num="26" id="2211" />
-<TGConnectingPoint num="27" id="2212" />
-<TGConnectingPoint num="28" id="2213" />
-<TGConnectingPoint num="29" id="2214" />
-<TGConnectingPoint num="30" id="2215" />
-<TGConnectingPoint num="31" id="2216" />
-<TGConnectingPoint num="32" id="2217" />
-<TGConnectingPoint num="33" id="2218" />
-<TGConnectingPoint num="34" id="2219" />
-<TGConnectingPoint num="35" id="2220" />
-<TGConnectingPoint num="36" id="2221" />
-<TGConnectingPoint num="37" id="2222" />
-<TGConnectingPoint num="38" id="2223" />
-<TGConnectingPoint num="39" id="2224" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="2241" >
+<TGConnectingPoint num="0" id="2357" />
+<TGConnectingPoint num="1" id="2358" />
+<TGConnectingPoint num="2" id="2359" />
+<TGConnectingPoint num="3" id="2360" />
+<TGConnectingPoint num="4" id="2361" />
+<TGConnectingPoint num="5" id="2362" />
+<TGConnectingPoint num="6" id="2363" />
+<TGConnectingPoint num="7" id="2364" />
+<TGConnectingPoint num="8" id="2365" />
+<TGConnectingPoint num="9" id="2366" />
+<TGConnectingPoint num="10" id="2367" />
+<TGConnectingPoint num="11" id="2368" />
+<TGConnectingPoint num="12" id="2369" />
+<TGConnectingPoint num="13" id="2370" />
+<TGConnectingPoint num="14" id="2371" />
+<TGConnectingPoint num="15" id="2372" />
+<TGConnectingPoint num="16" id="2373" />
+<TGConnectingPoint num="17" id="2374" />
+<TGConnectingPoint num="18" id="2375" />
+<TGConnectingPoint num="19" id="2376" />
+<TGConnectingPoint num="20" id="2377" />
+<TGConnectingPoint num="21" id="2378" />
+<TGConnectingPoint num="22" id="2379" />
+<TGConnectingPoint num="23" id="2380" />
+<TGConnectingPoint num="24" id="2381" />
+<TGConnectingPoint num="25" id="2382" />
+<TGConnectingPoint num="26" id="2383" />
+<TGConnectingPoint num="27" id="2384" />
+<TGConnectingPoint num="28" id="2385" />
+<TGConnectingPoint num="29" id="2386" />
+<TGConnectingPoint num="30" id="2387" />
+<TGConnectingPoint num="31" id="2388" />
+<TGConnectingPoint num="32" id="2389" />
+<TGConnectingPoint num="33" id="2390" />
+<TGConnectingPoint num="34" id="2391" />
+<TGConnectingPoint num="35" id="2392" />
+<TGConnectingPoint num="36" id="2393" />
+<TGConnectingPoint num="37" id="2394" />
+<TGConnectingPoint num="38" id="2395" />
+<TGConnectingPoint num="39" id="2396" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="2413" >
 <cdparam x="442" y="466" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="2226" />
-<TGConnectingPoint num="1" id="2227" />
-<TGConnectingPoint num="2" id="2228" />
-<TGConnectingPoint num="3" id="2229" />
-<TGConnectingPoint num="4" id="2230" />
-<TGConnectingPoint num="5" id="2231" />
-<TGConnectingPoint num="6" id="2232" />
-<TGConnectingPoint num="7" id="2233" />
-<TGConnectingPoint num="8" id="2234" />
-<TGConnectingPoint num="9" id="2235" />
-<TGConnectingPoint num="10" id="2236" />
-<TGConnectingPoint num="11" id="2237" />
-<TGConnectingPoint num="12" id="2238" />
-<TGConnectingPoint num="13" id="2239" />
-<TGConnectingPoint num="14" id="2240" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="2252" >
+<TGConnectingPoint num="0" id="2398" />
+<TGConnectingPoint num="1" id="2399" />
+<TGConnectingPoint num="2" id="2400" />
+<TGConnectingPoint num="3" id="2401" />
+<TGConnectingPoint num="4" id="2402" />
+<TGConnectingPoint num="5" id="2403" />
+<TGConnectingPoint num="6" id="2404" />
+<TGConnectingPoint num="7" id="2405" />
+<TGConnectingPoint num="8" id="2406" />
+<TGConnectingPoint num="9" id="2407" />
+<TGConnectingPoint num="10" id="2408" />
+<TGConnectingPoint num="11" id="2409" />
+<TGConnectingPoint num="12" id="2410" />
+<TGConnectingPoint num="13" id="2411" />
+<TGConnectingPoint num="14" id="2412" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2424" >
 <cdparam x="110" y="403" />
 <sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="stopMe()" />
-<TGConnectingPoint num="0" id="2242" />
-<TGConnectingPoint num="1" id="2243" />
-<TGConnectingPoint num="2" id="2244" />
-<TGConnectingPoint num="3" id="2245" />
-<TGConnectingPoint num="4" id="2246" />
-<TGConnectingPoint num="5" id="2247" />
-<TGConnectingPoint num="6" id="2248" />
-<TGConnectingPoint num="7" id="2249" />
-<TGConnectingPoint num="8" id="2250" />
-<TGConnectingPoint num="9" id="2251" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="2263" >
+<TGConnectingPoint num="0" id="2414" />
+<TGConnectingPoint num="1" id="2415" />
+<TGConnectingPoint num="2" id="2416" />
+<TGConnectingPoint num="3" id="2417" />
+<TGConnectingPoint num="4" id="2418" />
+<TGConnectingPoint num="5" id="2419" />
+<TGConnectingPoint num="6" id="2420" />
+<TGConnectingPoint num="7" id="2421" />
+<TGConnectingPoint num="8" id="2422" />
+<TGConnectingPoint num="9" id="2423" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2435" >
 <cdparam x="340" y="213" />
 <sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="startMe()" />
-<TGConnectingPoint num="0" id="2253" />
-<TGConnectingPoint num="1" id="2254" />
-<TGConnectingPoint num="2" id="2255" />
-<TGConnectingPoint num="3" id="2256" />
-<TGConnectingPoint num="4" id="2257" />
-<TGConnectingPoint num="5" id="2258" />
-<TGConnectingPoint num="6" id="2259" />
-<TGConnectingPoint num="7" id="2260" />
-<TGConnectingPoint num="8" id="2261" />
-<TGConnectingPoint num="9" id="2262" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2304" >
+<TGConnectingPoint num="0" id="2425" />
+<TGConnectingPoint num="1" id="2426" />
+<TGConnectingPoint num="2" id="2427" />
+<TGConnectingPoint num="3" id="2428" />
+<TGConnectingPoint num="4" id="2429" />
+<TGConnectingPoint num="5" id="2430" />
+<TGConnectingPoint num="6" id="2431" />
+<TGConnectingPoint num="7" id="2432" />
+<TGConnectingPoint num="8" id="2433" />
+<TGConnectingPoint num="9" id="2434" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2476" >
 <cdparam x="337" y="127" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitForStart" />
-<TGConnectingPoint num="0" id="2264" />
-<TGConnectingPoint num="1" id="2265" />
-<TGConnectingPoint num="2" id="2266" />
-<TGConnectingPoint num="3" id="2267" />
-<TGConnectingPoint num="4" id="2268" />
-<TGConnectingPoint num="5" id="2269" />
-<TGConnectingPoint num="6" id="2270" />
-<TGConnectingPoint num="7" id="2271" />
-<TGConnectingPoint num="8" id="2272" />
-<TGConnectingPoint num="9" id="2273" />
-<TGConnectingPoint num="10" id="2274" />
-<TGConnectingPoint num="11" id="2275" />
-<TGConnectingPoint num="12" id="2276" />
-<TGConnectingPoint num="13" id="2277" />
-<TGConnectingPoint num="14" id="2278" />
-<TGConnectingPoint num="15" id="2279" />
-<TGConnectingPoint num="16" id="2280" />
-<TGConnectingPoint num="17" id="2281" />
-<TGConnectingPoint num="18" id="2282" />
-<TGConnectingPoint num="19" id="2283" />
-<TGConnectingPoint num="20" id="2284" />
-<TGConnectingPoint num="21" id="2285" />
-<TGConnectingPoint num="22" id="2286" />
-<TGConnectingPoint num="23" id="2287" />
-<TGConnectingPoint num="24" id="2288" />
-<TGConnectingPoint num="25" id="2289" />
-<TGConnectingPoint num="26" id="2290" />
-<TGConnectingPoint num="27" id="2291" />
-<TGConnectingPoint num="28" id="2292" />
-<TGConnectingPoint num="29" id="2293" />
-<TGConnectingPoint num="30" id="2294" />
-<TGConnectingPoint num="31" id="2295" />
-<TGConnectingPoint num="32" id="2296" />
-<TGConnectingPoint num="33" id="2297" />
-<TGConnectingPoint num="34" id="2298" />
-<TGConnectingPoint num="35" id="2299" />
-<TGConnectingPoint num="36" id="2300" />
-<TGConnectingPoint num="37" id="2301" />
-<TGConnectingPoint num="38" id="2302" />
-<TGConnectingPoint num="39" id="2303" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5108" id="2307" >
+<TGConnectingPoint num="0" id="2436" />
+<TGConnectingPoint num="1" id="2437" />
+<TGConnectingPoint num="2" id="2438" />
+<TGConnectingPoint num="3" id="2439" />
+<TGConnectingPoint num="4" id="2440" />
+<TGConnectingPoint num="5" id="2441" />
+<TGConnectingPoint num="6" id="2442" />
+<TGConnectingPoint num="7" id="2443" />
+<TGConnectingPoint num="8" id="2444" />
+<TGConnectingPoint num="9" id="2445" />
+<TGConnectingPoint num="10" id="2446" />
+<TGConnectingPoint num="11" id="2447" />
+<TGConnectingPoint num="12" id="2448" />
+<TGConnectingPoint num="13" id="2449" />
+<TGConnectingPoint num="14" id="2450" />
+<TGConnectingPoint num="15" id="2451" />
+<TGConnectingPoint num="16" id="2452" />
+<TGConnectingPoint num="17" id="2453" />
+<TGConnectingPoint num="18" id="2454" />
+<TGConnectingPoint num="19" id="2455" />
+<TGConnectingPoint num="20" id="2456" />
+<TGConnectingPoint num="21" id="2457" />
+<TGConnectingPoint num="22" id="2458" />
+<TGConnectingPoint num="23" id="2459" />
+<TGConnectingPoint num="24" id="2460" />
+<TGConnectingPoint num="25" id="2461" />
+<TGConnectingPoint num="26" id="2462" />
+<TGConnectingPoint num="27" id="2463" />
+<TGConnectingPoint num="28" id="2464" />
+<TGConnectingPoint num="29" id="2465" />
+<TGConnectingPoint num="30" id="2466" />
+<TGConnectingPoint num="31" id="2467" />
+<TGConnectingPoint num="32" id="2468" />
+<TGConnectingPoint num="33" id="2469" />
+<TGConnectingPoint num="34" id="2470" />
+<TGConnectingPoint num="35" id="2471" />
+<TGConnectingPoint num="36" id="2472" />
+<TGConnectingPoint num="37" id="2473" />
+<TGConnectingPoint num="38" id="2474" />
+<TGConnectingPoint num="39" id="2475" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5108" id="2479" >
 <cdparam x="390" y="678" />
 <sizeparam width="136" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2305" />
-<TGConnectingPoint num="1" id="2306" />
+<TGConnectingPoint num="0" id="2477" />
+<TGConnectingPoint num="1" id="2478" />
 <extraparam>
 <Data variable="x" minValue="0" maxValue="10" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="2318" >
+<COMPONENT type="5103" id="2490" >
 <cdparam x="412" y="770" />
 <sizeparam width="93" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="sendPicture(p)" />
-<TGConnectingPoint num="0" id="2308" />
-<TGConnectingPoint num="1" id="2309" />
-<TGConnectingPoint num="2" id="2310" />
-<TGConnectingPoint num="3" id="2311" />
-<TGConnectingPoint num="4" id="2312" />
-<TGConnectingPoint num="5" id="2313" />
-<TGConnectingPoint num="6" id="2314" />
-<TGConnectingPoint num="7" id="2315" />
-<TGConnectingPoint num="8" id="2316" />
-<TGConnectingPoint num="9" id="2317" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2359" >
+<TGConnectingPoint num="0" id="2480" />
+<TGConnectingPoint num="1" id="2481" />
+<TGConnectingPoint num="2" id="2482" />
+<TGConnectingPoint num="3" id="2483" />
+<TGConnectingPoint num="4" id="2484" />
+<TGConnectingPoint num="5" id="2485" />
+<TGConnectingPoint num="6" id="2486" />
+<TGConnectingPoint num="7" id="2487" />
+<TGConnectingPoint num="8" id="2488" />
+<TGConnectingPoint num="9" id="2489" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2531" >
 <cdparam x="378" y="373" />
 <sizeparam width="158" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForNextPicture" />
-<TGConnectingPoint num="0" id="2319" />
-<TGConnectingPoint num="1" id="2320" />
-<TGConnectingPoint num="2" id="2321" />
-<TGConnectingPoint num="3" id="2322" />
-<TGConnectingPoint num="4" id="2323" />
-<TGConnectingPoint num="5" id="2324" />
-<TGConnectingPoint num="6" id="2325" />
-<TGConnectingPoint num="7" id="2326" />
-<TGConnectingPoint num="8" id="2327" />
-<TGConnectingPoint num="9" id="2328" />
-<TGConnectingPoint num="10" id="2329" />
-<TGConnectingPoint num="11" id="2330" />
-<TGConnectingPoint num="12" id="2331" />
-<TGConnectingPoint num="13" id="2332" />
-<TGConnectingPoint num="14" id="2333" />
-<TGConnectingPoint num="15" id="2334" />
-<TGConnectingPoint num="16" id="2335" />
-<TGConnectingPoint num="17" id="2336" />
-<TGConnectingPoint num="18" id="2337" />
-<TGConnectingPoint num="19" id="2338" />
-<TGConnectingPoint num="20" id="2339" />
-<TGConnectingPoint num="21" id="2340" />
-<TGConnectingPoint num="22" id="2341" />
-<TGConnectingPoint num="23" id="2342" />
-<TGConnectingPoint num="24" id="2343" />
-<TGConnectingPoint num="25" id="2344" />
-<TGConnectingPoint num="26" id="2345" />
-<TGConnectingPoint num="27" id="2346" />
-<TGConnectingPoint num="28" id="2347" />
-<TGConnectingPoint num="29" id="2348" />
-<TGConnectingPoint num="30" id="2349" />
-<TGConnectingPoint num="31" id="2350" />
-<TGConnectingPoint num="32" id="2351" />
-<TGConnectingPoint num="33" id="2352" />
-<TGConnectingPoint num="34" id="2353" />
-<TGConnectingPoint num="35" id="2354" />
-<TGConnectingPoint num="36" id="2355" />
-<TGConnectingPoint num="37" id="2356" />
-<TGConnectingPoint num="38" id="2357" />
-<TGConnectingPoint num="39" id="2358" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="2361" >
+<TGConnectingPoint num="0" id="2491" />
+<TGConnectingPoint num="1" id="2492" />
+<TGConnectingPoint num="2" id="2493" />
+<TGConnectingPoint num="3" id="2494" />
+<TGConnectingPoint num="4" id="2495" />
+<TGConnectingPoint num="5" id="2496" />
+<TGConnectingPoint num="6" id="2497" />
+<TGConnectingPoint num="7" id="2498" />
+<TGConnectingPoint num="8" id="2499" />
+<TGConnectingPoint num="9" id="2500" />
+<TGConnectingPoint num="10" id="2501" />
+<TGConnectingPoint num="11" id="2502" />
+<TGConnectingPoint num="12" id="2503" />
+<TGConnectingPoint num="13" id="2504" />
+<TGConnectingPoint num="14" id="2505" />
+<TGConnectingPoint num="15" id="2506" />
+<TGConnectingPoint num="16" id="2507" />
+<TGConnectingPoint num="17" id="2508" />
+<TGConnectingPoint num="18" id="2509" />
+<TGConnectingPoint num="19" id="2510" />
+<TGConnectingPoint num="20" id="2511" />
+<TGConnectingPoint num="21" id="2512" />
+<TGConnectingPoint num="22" id="2513" />
+<TGConnectingPoint num="23" id="2514" />
+<TGConnectingPoint num="24" id="2515" />
+<TGConnectingPoint num="25" id="2516" />
+<TGConnectingPoint num="26" id="2517" />
+<TGConnectingPoint num="27" id="2518" />
+<TGConnectingPoint num="28" id="2519" />
+<TGConnectingPoint num="29" id="2520" />
+<TGConnectingPoint num="30" id="2521" />
+<TGConnectingPoint num="31" id="2522" />
+<TGConnectingPoint num="32" id="2523" />
+<TGConnectingPoint num="33" id="2524" />
+<TGConnectingPoint num="34" id="2525" />
+<TGConnectingPoint num="35" id="2526" />
+<TGConnectingPoint num="36" id="2527" />
+<TGConnectingPoint num="37" id="2528" />
+<TGConnectingPoint num="38" id="2529" />
+<TGConnectingPoint num="39" id="2530" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="2533" >
 <cdparam x="380" y="71" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2360" />
+<TGConnectingPoint num="0" id="2532" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="2402" >
+<COMPONENT type="5106" id="2574" >
 <cdparam x="219" y="345" />
 <sizeparam width="485" height="494" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="Started" />
-<TGConnectingPoint num="0" id="2362" />
-<TGConnectingPoint num="1" id="2363" />
-<TGConnectingPoint num="2" id="2364" />
-<TGConnectingPoint num="3" id="2365" />
-<TGConnectingPoint num="4" id="2366" />
-<TGConnectingPoint num="5" id="2367" />
-<TGConnectingPoint num="6" id="2368" />
-<TGConnectingPoint num="7" id="2369" />
-<TGConnectingPoint num="8" id="2370" />
-<TGConnectingPoint num="9" id="2371" />
-<TGConnectingPoint num="10" id="2372" />
-<TGConnectingPoint num="11" id="2373" />
-<TGConnectingPoint num="12" id="2374" />
-<TGConnectingPoint num="13" id="2375" />
-<TGConnectingPoint num="14" id="2376" />
-<TGConnectingPoint num="15" id="2377" />
-<TGConnectingPoint num="16" id="2378" />
-<TGConnectingPoint num="17" id="2379" />
-<TGConnectingPoint num="18" id="2380" />
-<TGConnectingPoint num="19" id="2381" />
-<TGConnectingPoint num="20" id="2382" />
-<TGConnectingPoint num="21" id="2383" />
-<TGConnectingPoint num="22" id="2384" />
-<TGConnectingPoint num="23" id="2385" />
-<TGConnectingPoint num="24" id="2386" />
-<TGConnectingPoint num="25" id="2387" />
-<TGConnectingPoint num="26" id="2388" />
-<TGConnectingPoint num="27" id="2389" />
-<TGConnectingPoint num="28" id="2390" />
-<TGConnectingPoint num="29" id="2391" />
-<TGConnectingPoint num="30" id="2392" />
-<TGConnectingPoint num="31" id="2393" />
-<TGConnectingPoint num="32" id="2394" />
-<TGConnectingPoint num="33" id="2395" />
-<TGConnectingPoint num="34" id="2396" />
-<TGConnectingPoint num="35" id="2397" />
-<TGConnectingPoint num="36" id="2398" />
-<TGConnectingPoint num="37" id="2399" />
-<TGConnectingPoint num="38" id="2400" />
-<TGConnectingPoint num="39" id="2401" />
+<TGConnectingPoint num="0" id="2534" />
+<TGConnectingPoint num="1" id="2535" />
+<TGConnectingPoint num="2" id="2536" />
+<TGConnectingPoint num="3" id="2537" />
+<TGConnectingPoint num="4" id="2538" />
+<TGConnectingPoint num="5" id="2539" />
+<TGConnectingPoint num="6" id="2540" />
+<TGConnectingPoint num="7" id="2541" />
+<TGConnectingPoint num="8" id="2542" />
+<TGConnectingPoint num="9" id="2543" />
+<TGConnectingPoint num="10" id="2544" />
+<TGConnectingPoint num="11" id="2545" />
+<TGConnectingPoint num="12" id="2546" />
+<TGConnectingPoint num="13" id="2547" />
+<TGConnectingPoint num="14" id="2548" />
+<TGConnectingPoint num="15" id="2549" />
+<TGConnectingPoint num="16" id="2550" />
+<TGConnectingPoint num="17" id="2551" />
+<TGConnectingPoint num="18" id="2552" />
+<TGConnectingPoint num="19" id="2553" />
+<TGConnectingPoint num="20" id="2554" />
+<TGConnectingPoint num="21" id="2555" />
+<TGConnectingPoint num="22" id="2556" />
+<TGConnectingPoint num="23" id="2557" />
+<TGConnectingPoint num="24" id="2558" />
+<TGConnectingPoint num="25" id="2559" />
+<TGConnectingPoint num="26" id="2560" />
+<TGConnectingPoint num="27" id="2561" />
+<TGConnectingPoint num="28" id="2562" />
+<TGConnectingPoint num="29" id="2563" />
+<TGConnectingPoint num="30" id="2564" />
+<TGConnectingPoint num="31" id="2565" />
+<TGConnectingPoint num="32" id="2566" />
+<TGConnectingPoint num="33" id="2567" />
+<TGConnectingPoint num="34" id="2568" />
+<TGConnectingPoint num="35" id="2569" />
+<TGConnectingPoint num="36" id="2570" />
+<TGConnectingPoint num="37" id="2571" />
+<TGConnectingPoint num="38" id="2572" />
+<TGConnectingPoint num="39" id="2573" />
 <extraparam>
 </extraparam>
 </COMPONENT>
@@ -5599,13 +5599,13 @@ Command mode:
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="5002" id="2404" >
+<CONNECTOR type="5002" id="2576" >
 <cdparam x="246" y="214" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2403" />
-<P1  x="244" y="210" id="2438" />
-<P2  x="244" y="236" id="2517" />
+<TGConnectingPoint num="0" id="2575" />
+<P1  x="244" y="210" id="2610" />
+<P2  x="244" y="236" id="2689" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in compute(Picture p)" />
@@ -5615,13 +5615,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="2406" >
+<CONNECTOR type="5002" id="2578" >
 <cdparam x="397" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2405" />
-<P1  x="397" y="296" id="2527" />
-<P2  x="535" y="119" id="2576" />
+<TGConnectingPoint num="0" id="2577" />
+<P1  x="397" y="296" id="2699" />
+<P2  x="535" y="119" id="2748" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <isd value="in stopMe()" />
@@ -5631,13 +5631,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="2408" >
+<CONNECTOR type="5002" id="2580" >
 <cdparam x="397" y="478" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2407" />
-<P1  x="397" y="478" id="2523" />
-<P2  x="536" y="634" id="2460" />
+<TGConnectingPoint num="0" id="2579" />
+<P1  x="397" y="478" id="2695" />
+<P2  x="536" y="634" id="2632" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in reach(int place)" />
@@ -5649,13 +5649,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="2410" >
+<CONNECTOR type="5002" id="2582" >
 <cdparam x="248" y="516" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2409" />
-<P1  x="245" y="548" id="2492" />
-<P2  x="244" y="478" id="2522" />
+<TGConnectingPoint num="0" id="2581" />
+<P1  x="245" y="548" id="2664" />
+<P2  x="244" y="478" id="2694" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in compute(Picture p)" />
@@ -5665,13 +5665,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="2412" >
+<CONNECTOR type="5002" id="2584" >
 <cdparam x="424" y="294" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2411" />
-<P1  x="397" y="417" id="2529" />
-<P2  x="530" y="416" id="2544" />
+<TGConnectingPoint num="0" id="2583" />
+<P1  x="397" y="417" id="2701" />
+<P2  x="530" y="416" id="2716" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in getPosition(Command p)" />
@@ -5681,13 +5681,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="2414" >
+<CONNECTOR type="5002" id="2586" >
 <cdparam x="333" y="193" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2413" />
-<P1  x="397" y="357" id="2520" />
-<P2  x="535" y="165" id="2569" />
+<TGConnectingPoint num="0" id="2585" />
+<P1  x="397" y="357" id="2692" />
+<P2  x="535" y="165" id="2741" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in readNextPicture(Picture p)" />
@@ -5695,9 +5695,9 @@ Command mode:
 <FIFOType asynchronous="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<COMPONENT type="301" id="2431" >
+<COMPONENT type="301" id="2603" >
 <cdparam x="832" y="472" />
-<sizeparam width="276" height="147" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="351" height="147" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="UML Note" value="Command values:
@@ -5713,22 +5713,22 @@ Command mode:
 1: takeOff
 2: land
 " />
-<TGConnectingPoint num="0" id="2415" />
-<TGConnectingPoint num="1" id="2416" />
-<TGConnectingPoint num="2" id="2417" />
-<TGConnectingPoint num="3" id="2418" />
-<TGConnectingPoint num="4" id="2419" />
-<TGConnectingPoint num="5" id="2420" />
-<TGConnectingPoint num="6" id="2421" />
-<TGConnectingPoint num="7" id="2422" />
-<TGConnectingPoint num="8" id="2423" />
-<TGConnectingPoint num="9" id="2424" />
-<TGConnectingPoint num="10" id="2425" />
-<TGConnectingPoint num="11" id="2426" />
-<TGConnectingPoint num="12" id="2427" />
-<TGConnectingPoint num="13" id="2428" />
-<TGConnectingPoint num="14" id="2429" />
-<TGConnectingPoint num="15" id="2430" />
+<TGConnectingPoint num="0" id="2587" />
+<TGConnectingPoint num="1" id="2588" />
+<TGConnectingPoint num="2" id="2589" />
+<TGConnectingPoint num="3" id="2590" />
+<TGConnectingPoint num="4" id="2591" />
+<TGConnectingPoint num="5" id="2592" />
+<TGConnectingPoint num="6" id="2593" />
+<TGConnectingPoint num="7" id="2594" />
+<TGConnectingPoint num="8" id="2595" />
+<TGConnectingPoint num="9" id="2596" />
+<TGConnectingPoint num="10" id="2597" />
+<TGConnectingPoint num="11" id="2598" />
+<TGConnectingPoint num="12" id="2599" />
+<TGConnectingPoint num="13" id="2600" />
+<TGConnectingPoint num="14" id="2601" />
+<TGConnectingPoint num="15" id="2602" />
 <extraparam>
 <Line value="Command values:" />
 <Line value="---------------------" />
@@ -5745,36 +5745,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2456" >
+<COMPONENT type="5000" id="2628" >
 <cdparam x="92" y="10" />
 <sizeparam width="305" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="CrossingRecognition" />
-<TGConnectingPoint num="0" id="2432" />
-<TGConnectingPoint num="1" id="2433" />
-<TGConnectingPoint num="2" id="2434" />
-<TGConnectingPoint num="3" id="2435" />
-<TGConnectingPoint num="4" id="2436" />
-<TGConnectingPoint num="5" id="2437" />
-<TGConnectingPoint num="6" id="2438" />
-<TGConnectingPoint num="7" id="2439" />
-<TGConnectingPoint num="8" id="2440" />
-<TGConnectingPoint num="9" id="2441" />
-<TGConnectingPoint num="10" id="2442" />
-<TGConnectingPoint num="11" id="2443" />
-<TGConnectingPoint num="12" id="2444" />
-<TGConnectingPoint num="13" id="2445" />
-<TGConnectingPoint num="14" id="2446" />
-<TGConnectingPoint num="15" id="2447" />
-<TGConnectingPoint num="16" id="2448" />
-<TGConnectingPoint num="17" id="2449" />
-<TGConnectingPoint num="18" id="2450" />
-<TGConnectingPoint num="19" id="2451" />
-<TGConnectingPoint num="20" id="2452" />
-<TGConnectingPoint num="21" id="2453" />
-<TGConnectingPoint num="22" id="2454" />
-<TGConnectingPoint num="23" id="2455" />
+<TGConnectingPoint num="0" id="2604" />
+<TGConnectingPoint num="1" id="2605" />
+<TGConnectingPoint num="2" id="2606" />
+<TGConnectingPoint num="3" id="2607" />
+<TGConnectingPoint num="4" id="2608" />
+<TGConnectingPoint num="5" id="2609" />
+<TGConnectingPoint num="6" id="2610" />
+<TGConnectingPoint num="7" id="2611" />
+<TGConnectingPoint num="8" id="2612" />
+<TGConnectingPoint num="9" id="2613" />
+<TGConnectingPoint num="10" id="2614" />
+<TGConnectingPoint num="11" id="2615" />
+<TGConnectingPoint num="12" id="2616" />
+<TGConnectingPoint num="13" id="2617" />
+<TGConnectingPoint num="14" id="2618" />
+<TGConnectingPoint num="15" id="2619" />
+<TGConnectingPoint num="16" id="2620" />
+<TGConnectingPoint num="17" id="2621" />
+<TGConnectingPoint num="18" id="2622" />
+<TGConnectingPoint num="19" id="2623" />
+<TGConnectingPoint num="20" id="2624" />
+<TGConnectingPoint num="21" id="2625" />
+<TGConnectingPoint num="22" id="2626" />
+<TGConnectingPoint num="23" id="2627" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="foundI" value="" type="8" typeOther="" />
@@ -5787,36 +5787,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2481" >
+<COMPONENT type="5000" id="2653" >
 <cdparam x="536" y="533" />
 <sizeparam width="270" height="202" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="RemoteUser" />
-<TGConnectingPoint num="0" id="2457" />
-<TGConnectingPoint num="1" id="2458" />
-<TGConnectingPoint num="2" id="2459" />
-<TGConnectingPoint num="3" id="2460" />
-<TGConnectingPoint num="4" id="2461" />
-<TGConnectingPoint num="5" id="2462" />
-<TGConnectingPoint num="6" id="2463" />
-<TGConnectingPoint num="7" id="2464" />
-<TGConnectingPoint num="8" id="2465" />
-<TGConnectingPoint num="9" id="2466" />
-<TGConnectingPoint num="10" id="2467" />
-<TGConnectingPoint num="11" id="2468" />
-<TGConnectingPoint num="12" id="2469" />
-<TGConnectingPoint num="13" id="2470" />
-<TGConnectingPoint num="14" id="2471" />
-<TGConnectingPoint num="15" id="2472" />
-<TGConnectingPoint num="16" id="2473" />
-<TGConnectingPoint num="17" id="2474" />
-<TGConnectingPoint num="18" id="2475" />
-<TGConnectingPoint num="19" id="2476" />
-<TGConnectingPoint num="20" id="2477" />
-<TGConnectingPoint num="21" id="2478" />
-<TGConnectingPoint num="22" id="2479" />
-<TGConnectingPoint num="23" id="2480" />
+<TGConnectingPoint num="0" id="2629" />
+<TGConnectingPoint num="1" id="2630" />
+<TGConnectingPoint num="2" id="2631" />
+<TGConnectingPoint num="3" id="2632" />
+<TGConnectingPoint num="4" id="2633" />
+<TGConnectingPoint num="5" id="2634" />
+<TGConnectingPoint num="6" id="2635" />
+<TGConnectingPoint num="7" id="2636" />
+<TGConnectingPoint num="8" id="2637" />
+<TGConnectingPoint num="9" id="2638" />
+<TGConnectingPoint num="10" id="2639" />
+<TGConnectingPoint num="11" id="2640" />
+<TGConnectingPoint num="12" id="2641" />
+<TGConnectingPoint num="13" id="2642" />
+<TGConnectingPoint num="14" id="2643" />
+<TGConnectingPoint num="15" id="2644" />
+<TGConnectingPoint num="16" id="2645" />
+<TGConnectingPoint num="17" id="2646" />
+<TGConnectingPoint num="18" id="2647" />
+<TGConnectingPoint num="19" id="2648" />
+<TGConnectingPoint num="20" id="2649" />
+<TGConnectingPoint num="21" id="2650" />
+<TGConnectingPoint num="22" id="2651" />
+<TGConnectingPoint num="23" id="2652" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="place" value="" type="8" typeOther="" />
@@ -5827,20 +5827,20 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="2490" >
+<COMPONENT type="5003" id="2662" >
 <cdparam x="830" y="230" />
 <sizeparam width="239" height="122" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Picture" />
-<TGConnectingPoint num="0" id="2482" />
-<TGConnectingPoint num="1" id="2483" />
-<TGConnectingPoint num="2" id="2484" />
-<TGConnectingPoint num="3" id="2485" />
-<TGConnectingPoint num="4" id="2486" />
-<TGConnectingPoint num="5" id="2487" />
-<TGConnectingPoint num="6" id="2488" />
-<TGConnectingPoint num="7" id="2489" />
+<TGConnectingPoint num="0" id="2654" />
+<TGConnectingPoint num="1" id="2655" />
+<TGConnectingPoint num="2" id="2656" />
+<TGConnectingPoint num="3" id="2657" />
+<TGConnectingPoint num="4" id="2658" />
+<TGConnectingPoint num="5" id="2659" />
+<TGConnectingPoint num="6" id="2660" />
+<TGConnectingPoint num="7" id="2661" />
 <extraparam>
 <Attribute access="0" id="sizeH" value="0" type="8" typeOther="" />
 <Attribute access="0" id="sizeV" value="0" type="8" typeOther="" />
@@ -5849,36 +5849,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2515" >
+<COMPONENT type="5000" id="2687" >
 <cdparam x="96" y="548" />
 <sizeparam width="299" height="213" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="ThreeDRecognitionAlgorithm" />
-<TGConnectingPoint num="0" id="2491" />
-<TGConnectingPoint num="1" id="2492" />
-<TGConnectingPoint num="2" id="2493" />
-<TGConnectingPoint num="3" id="2494" />
-<TGConnectingPoint num="4" id="2495" />
-<TGConnectingPoint num="5" id="2496" />
-<TGConnectingPoint num="6" id="2497" />
-<TGConnectingPoint num="7" id="2498" />
-<TGConnectingPoint num="8" id="2499" />
-<TGConnectingPoint num="9" id="2500" />
-<TGConnectingPoint num="10" id="2501" />
-<TGConnectingPoint num="11" id="2502" />
-<TGConnectingPoint num="12" id="2503" />
-<TGConnectingPoint num="13" id="2504" />
-<TGConnectingPoint num="14" id="2505" />
-<TGConnectingPoint num="15" id="2506" />
-<TGConnectingPoint num="16" id="2507" />
-<TGConnectingPoint num="17" id="2508" />
-<TGConnectingPoint num="18" id="2509" />
-<TGConnectingPoint num="19" id="2510" />
-<TGConnectingPoint num="20" id="2511" />
-<TGConnectingPoint num="21" id="2512" />
-<TGConnectingPoint num="22" id="2513" />
-<TGConnectingPoint num="23" id="2514" />
+<TGConnectingPoint num="0" id="2663" />
+<TGConnectingPoint num="1" id="2664" />
+<TGConnectingPoint num="2" id="2665" />
+<TGConnectingPoint num="3" id="2666" />
+<TGConnectingPoint num="4" id="2667" />
+<TGConnectingPoint num="5" id="2668" />
+<TGConnectingPoint num="6" id="2669" />
+<TGConnectingPoint num="7" id="2670" />
+<TGConnectingPoint num="8" id="2671" />
+<TGConnectingPoint num="9" id="2672" />
+<TGConnectingPoint num="10" id="2673" />
+<TGConnectingPoint num="11" id="2674" />
+<TGConnectingPoint num="12" id="2675" />
+<TGConnectingPoint num="13" id="2676" />
+<TGConnectingPoint num="14" id="2677" />
+<TGConnectingPoint num="15" id="2678" />
+<TGConnectingPoint num="16" id="2679" />
+<TGConnectingPoint num="17" id="2680" />
+<TGConnectingPoint num="18" id="2681" />
+<TGConnectingPoint num="19" id="2682" />
+<TGConnectingPoint num="20" id="2683" />
+<TGConnectingPoint num="21" id="2684" />
+<TGConnectingPoint num="22" id="2685" />
+<TGConnectingPoint num="23" id="2686" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="found" value="false" type="4" typeOther="" />
@@ -5892,36 +5892,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2540" >
+<COMPONENT type="5000" id="2712" >
 <cdparam x="91" y="236" />
 <sizeparam width="306" height="242" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="MainController" />
-<TGConnectingPoint num="0" id="2516" />
-<TGConnectingPoint num="1" id="2517" />
-<TGConnectingPoint num="2" id="2518" />
-<TGConnectingPoint num="3" id="2519" />
-<TGConnectingPoint num="4" id="2520" />
-<TGConnectingPoint num="5" id="2521" />
-<TGConnectingPoint num="6" id="2522" />
-<TGConnectingPoint num="7" id="2523" />
-<TGConnectingPoint num="8" id="2524" />
-<TGConnectingPoint num="9" id="2525" />
-<TGConnectingPoint num="10" id="2526" />
-<TGConnectingPoint num="11" id="2527" />
-<TGConnectingPoint num="12" id="2528" />
-<TGConnectingPoint num="13" id="2529" />
-<TGConnectingPoint num="14" id="2530" />
-<TGConnectingPoint num="15" id="2531" />
-<TGConnectingPoint num="16" id="2532" />
-<TGConnectingPoint num="17" id="2533" />
-<TGConnectingPoint num="18" id="2534" />
-<TGConnectingPoint num="19" id="2535" />
-<TGConnectingPoint num="20" id="2536" />
-<TGConnectingPoint num="21" id="2537" />
-<TGConnectingPoint num="22" id="2538" />
-<TGConnectingPoint num="23" id="2539" />
+<TGConnectingPoint num="0" id="2688" />
+<TGConnectingPoint num="1" id="2689" />
+<TGConnectingPoint num="2" id="2690" />
+<TGConnectingPoint num="3" id="2691" />
+<TGConnectingPoint num="4" id="2692" />
+<TGConnectingPoint num="5" id="2693" />
+<TGConnectingPoint num="6" id="2694" />
+<TGConnectingPoint num="7" id="2695" />
+<TGConnectingPoint num="8" id="2696" />
+<TGConnectingPoint num="9" id="2697" />
+<TGConnectingPoint num="10" id="2698" />
+<TGConnectingPoint num="11" id="2699" />
+<TGConnectingPoint num="12" id="2700" />
+<TGConnectingPoint num="13" id="2701" />
+<TGConnectingPoint num="14" id="2702" />
+<TGConnectingPoint num="15" id="2703" />
+<TGConnectingPoint num="16" id="2704" />
+<TGConnectingPoint num="17" id="2705" />
+<TGConnectingPoint num="18" id="2706" />
+<TGConnectingPoint num="19" id="2707" />
+<TGConnectingPoint num="20" id="2708" />
+<TGConnectingPoint num="21" id="2709" />
+<TGConnectingPoint num="22" id="2710" />
+<TGConnectingPoint num="23" id="2711" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="nbOfCrossings" value="" type="8" typeOther="" />
@@ -5949,36 +5949,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2565" >
+<COMPONENT type="5000" id="2737" >
 <cdparam x="530" y="325" />
 <sizeparam width="250" height="182" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="EngineController" />
-<TGConnectingPoint num="0" id="2541" />
-<TGConnectingPoint num="1" id="2542" />
-<TGConnectingPoint num="2" id="2543" />
-<TGConnectingPoint num="3" id="2544" />
-<TGConnectingPoint num="4" id="2545" />
-<TGConnectingPoint num="5" id="2546" />
-<TGConnectingPoint num="6" id="2547" />
-<TGConnectingPoint num="7" id="2548" />
-<TGConnectingPoint num="8" id="2549" />
-<TGConnectingPoint num="9" id="2550" />
-<TGConnectingPoint num="10" id="2551" />
-<TGConnectingPoint num="11" id="2552" />
-<TGConnectingPoint num="12" id="2553" />
-<TGConnectingPoint num="13" id="2554" />
-<TGConnectingPoint num="14" id="2555" />
-<TGConnectingPoint num="15" id="2556" />
-<TGConnectingPoint num="16" id="2557" />
-<TGConnectingPoint num="17" id="2558" />
-<TGConnectingPoint num="18" id="2559" />
-<TGConnectingPoint num="19" id="2560" />
-<TGConnectingPoint num="20" id="2561" />
-<TGConnectingPoint num="21" id="2562" />
-<TGConnectingPoint num="22" id="2563" />
-<TGConnectingPoint num="23" id="2564" />
+<TGConnectingPoint num="0" id="2713" />
+<TGConnectingPoint num="1" id="2714" />
+<TGConnectingPoint num="2" id="2715" />
+<TGConnectingPoint num="3" id="2716" />
+<TGConnectingPoint num="4" id="2717" />
+<TGConnectingPoint num="5" id="2718" />
+<TGConnectingPoint num="6" id="2719" />
+<TGConnectingPoint num="7" id="2720" />
+<TGConnectingPoint num="8" id="2721" />
+<TGConnectingPoint num="9" id="2722" />
+<TGConnectingPoint num="10" id="2723" />
+<TGConnectingPoint num="11" id="2724" />
+<TGConnectingPoint num="12" id="2725" />
+<TGConnectingPoint num="13" id="2726" />
+<TGConnectingPoint num="14" id="2727" />
+<TGConnectingPoint num="15" id="2728" />
+<TGConnectingPoint num="16" id="2729" />
+<TGConnectingPoint num="17" id="2730" />
+<TGConnectingPoint num="18" id="2731" />
+<TGConnectingPoint num="19" id="2732" />
+<TGConnectingPoint num="20" id="2733" />
+<TGConnectingPoint num="21" id="2734" />
+<TGConnectingPoint num="22" id="2735" />
+<TGConnectingPoint num="23" id="2736" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="lastCommand" value="" type="5" typeOther="Command" />
@@ -5988,36 +5988,36 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2590" >
+<COMPONENT type="5000" id="2762" >
 <cdparam x="535" y="74" />
 <sizeparam width="250" height="182" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="Camera" />
-<TGConnectingPoint num="0" id="2566" />
-<TGConnectingPoint num="1" id="2567" />
-<TGConnectingPoint num="2" id="2568" />
-<TGConnectingPoint num="3" id="2569" />
-<TGConnectingPoint num="4" id="2570" />
-<TGConnectingPoint num="5" id="2571" />
-<TGConnectingPoint num="6" id="2572" />
-<TGConnectingPoint num="7" id="2573" />
-<TGConnectingPoint num="8" id="2574" />
-<TGConnectingPoint num="9" id="2575" />
-<TGConnectingPoint num="10" id="2576" />
-<TGConnectingPoint num="11" id="2577" />
-<TGConnectingPoint num="12" id="2578" />
-<TGConnectingPoint num="13" id="2579" />
-<TGConnectingPoint num="14" id="2580" />
-<TGConnectingPoint num="15" id="2581" />
-<TGConnectingPoint num="16" id="2582" />
-<TGConnectingPoint num="17" id="2583" />
-<TGConnectingPoint num="18" id="2584" />
-<TGConnectingPoint num="19" id="2585" />
-<TGConnectingPoint num="20" id="2586" />
-<TGConnectingPoint num="21" id="2587" />
-<TGConnectingPoint num="22" id="2588" />
-<TGConnectingPoint num="23" id="2589" />
+<TGConnectingPoint num="0" id="2738" />
+<TGConnectingPoint num="1" id="2739" />
+<TGConnectingPoint num="2" id="2740" />
+<TGConnectingPoint num="3" id="2741" />
+<TGConnectingPoint num="4" id="2742" />
+<TGConnectingPoint num="5" id="2743" />
+<TGConnectingPoint num="6" id="2744" />
+<TGConnectingPoint num="7" id="2745" />
+<TGConnectingPoint num="8" id="2746" />
+<TGConnectingPoint num="9" id="2747" />
+<TGConnectingPoint num="10" id="2748" />
+<TGConnectingPoint num="11" id="2749" />
+<TGConnectingPoint num="12" id="2750" />
+<TGConnectingPoint num="13" id="2751" />
+<TGConnectingPoint num="14" id="2752" />
+<TGConnectingPoint num="15" id="2753" />
+<TGConnectingPoint num="16" id="2754" />
+<TGConnectingPoint num="17" id="2755" />
+<TGConnectingPoint num="18" id="2756" />
+<TGConnectingPoint num="19" id="2757" />
+<TGConnectingPoint num="20" id="2758" />
+<TGConnectingPoint num="21" id="2759" />
+<TGConnectingPoint num="22" id="2760" />
+<TGConnectingPoint num="23" id="2761" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="p" value="" type="5" typeOther="Picture" />
@@ -6030,20 +6030,20 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="2599" >
+<COMPONENT type="5003" id="2771" >
 <cdparam x="831" y="362" />
 <sizeparam width="238" height="101" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Command" />
-<TGConnectingPoint num="0" id="2591" />
-<TGConnectingPoint num="1" id="2592" />
-<TGConnectingPoint num="2" id="2593" />
-<TGConnectingPoint num="3" id="2594" />
-<TGConnectingPoint num="4" id="2595" />
-<TGConnectingPoint num="5" id="2596" />
-<TGConnectingPoint num="6" id="2597" />
-<TGConnectingPoint num="7" id="2598" />
+<TGConnectingPoint num="0" id="2763" />
+<TGConnectingPoint num="1" id="2764" />
+<TGConnectingPoint num="2" id="2765" />
+<TGConnectingPoint num="3" id="2766" />
+<TGConnectingPoint num="4" id="2767" />
+<TGConnectingPoint num="5" id="2768" />
+<TGConnectingPoint num="6" id="2769" />
+<TGConnectingPoint num="7" id="2770" />
 <extraparam>
 <Attribute access="0" id="pitch" value="" type="8" typeOther="" />
 <Attribute access="0" id="roll" value="" type="8" typeOther="" />
@@ -6056,35 +6056,35 @@ Command mode:
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="CrossingRecognition" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2608" >
+<CONNECTOR type="5102" id="2780" >
 <cdparam x="470" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2606" />
-<TGConnectingPoint num="1" id="2607" />
-<P1  x="470" y="377" id="2723" />
-<P2  x="502" y="523" id="2696" />
+<TGConnectingPoint num="0" id="2778" />
+<TGConnectingPoint num="1" id="2779" />
+<P1  x="470" y="377" id="2895" />
+<P2  x="502" y="523" id="2868" />
 <Point x="534" y="428" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2600" >
-<father id="2608" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2772" >
+<father id="2780" num="0" />
 <cdparam x="534" y="428" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2605" >
-<father id="2608" num="1" />
+<SUBCOMPONENT type="-1" id="2777" >
+<father id="2780" num="1" />
 <cdparam x="514" y="378" />
 <sizeparam width="78" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2601" />
-<TGConnectingPoint num="1" id="2602" />
-<TGConnectingPoint num="2" id="2603" />
-<TGConnectingPoint num="3" id="2604" />
+<TGConnectingPoint num="0" id="2773" />
+<TGConnectingPoint num="1" id="2774" />
+<TGConnectingPoint num="2" id="2775" />
+<TGConnectingPoint num="3" id="2776" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -6095,25 +6095,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2615" >
+<CONNECTOR type="5102" id="2787" >
 <cdparam x="463" y="573" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="2614" />
-<P1  x="463" y="573" id="2707" />
-<P2  x="463" y="610" id="2666" />
+<TGConnectingPoint num="0" id="2786" />
+<P1  x="463" y="573" id="2879" />
+<P2  x="463" y="610" id="2838" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2613" >
-<father id="2615" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2785" >
+<father id="2787" num="0" />
 <cdparam x="463" y="613" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2609" />
-<TGConnectingPoint num="1" id="2610" />
-<TGConnectingPoint num="2" id="2611" />
-<TGConnectingPoint num="3" id="2612" />
+<TGConnectingPoint num="0" id="2781" />
+<TGConnectingPoint num="1" id="2782" />
+<TGConnectingPoint num="2" id="2783" />
+<TGConnectingPoint num="3" id="2784" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6123,25 +6123,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2622" >
+<CONNECTOR type="5102" id="2794" >
 <cdparam x="445" y="325" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to choice" value="null" />
-<TGConnectingPoint num="0" id="2621" />
-<P1  x="445" y="325" id="2735" />
-<P2  x="445" y="352" id="2718" />
+<TGConnectingPoint num="0" id="2793" />
+<P1  x="445" y="325" id="2907" />
+<P2  x="445" y="352" id="2890" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2620" >
-<father id="2622" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2792" >
+<father id="2794" num="0" />
 <cdparam x="445" y="365" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2616" />
-<TGConnectingPoint num="1" id="2617" />
-<TGConnectingPoint num="2" id="2618" />
-<TGConnectingPoint num="3" id="2619" />
+<TGConnectingPoint num="0" id="2788" />
+<TGConnectingPoint num="1" id="2789" />
+<TGConnectingPoint num="2" id="2790" />
+<TGConnectingPoint num="3" id="2791" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6151,25 +6151,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2629" >
+<CONNECTOR type="5102" id="2801" >
 <cdparam x="445" y="280" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2628" />
-<P1  x="445" y="263" id="2738" />
-<P2  x="445" y="295" id="2734" />
+<TGConnectingPoint num="0" id="2800" />
+<P1  x="445" y="263" id="2910" />
+<P2  x="445" y="295" id="2906" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2627" >
-<father id="2629" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2799" >
+<father id="2801" num="0" />
 <cdparam x="303" y="279" />
 <sizeparam width="293" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2623" />
-<TGConnectingPoint num="1" id="2624" />
-<TGConnectingPoint num="2" id="2625" />
-<TGConnectingPoint num="3" id="2626" />
+<TGConnectingPoint num="0" id="2795" />
+<TGConnectingPoint num="1" id="2796" />
+<TGConnectingPoint num="2" id="2797" />
+<TGConnectingPoint num="3" id="2798" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="minComputationTime" />
@@ -6179,25 +6179,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2636" >
+<CONNECTOR type="5102" id="2808" >
 <cdparam x="464" y="212" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="2635" />
-<P1  x="445" y="212" id="2754" />
-<P2  x="445" y="233" id="2737" />
+<TGConnectingPoint num="0" id="2807" />
+<P1  x="445" y="212" id="2926" />
+<P2  x="445" y="233" id="2909" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2634" >
-<father id="2636" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2806" >
+<father id="2808" num="0" />
 <cdparam x="464" y="252" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2630" />
-<TGConnectingPoint num="1" id="2631" />
-<TGConnectingPoint num="2" id="2632" />
-<TGConnectingPoint num="3" id="2633" />
+<TGConnectingPoint num="0" id="2802" />
+<TGConnectingPoint num="1" id="2803" />
+<TGConnectingPoint num="2" id="2804" />
+<TGConnectingPoint num="3" id="2805" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6207,25 +6207,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2643" >
+<CONNECTOR type="5102" id="2815" >
 <cdparam x="445" y="132" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2642" />
-<P1  x="445" y="132" id="2789" />
-<P2  x="445" y="162" id="2749" />
+<TGConnectingPoint num="0" id="2814" />
+<P1  x="445" y="132" id="2961" />
+<P2  x="445" y="162" id="2921" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2641" >
-<father id="2643" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2813" >
+<father id="2815" num="0" />
 <cdparam x="445" y="172" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2637" />
-<TGConnectingPoint num="1" id="2638" />
-<TGConnectingPoint num="2" id="2639" />
-<TGConnectingPoint num="3" id="2640" />
+<TGConnectingPoint num="0" id="2809" />
+<TGConnectingPoint num="1" id="2810" />
+<TGConnectingPoint num="2" id="2811" />
+<TGConnectingPoint num="3" id="2812" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6235,35 +6235,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2652" >
+<CONNECTOR type="5102" id="2824" >
 <cdparam x="420" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="2650" />
-<TGConnectingPoint num="1" id="2651" />
-<P1  x="420" y="377" id="2719" />
-<P2  x="407" y="523" id="2685" />
+<TGConnectingPoint num="0" id="2822" />
+<TGConnectingPoint num="1" id="2823" />
+<P1  x="420" y="377" id="2891" />
+<P2  x="407" y="523" id="2857" />
 <Point x="367" y="432" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2644" >
-<father id="2652" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2816" >
+<father id="2824" num="0" />
 <cdparam x="367" y="432" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2649" >
-<father id="2652" num="1" />
+<SUBCOMPONENT type="-1" id="2821" >
+<father id="2824" num="1" />
 <cdparam x="267" y="411" />
 <sizeparam width="84" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2645" />
-<TGConnectingPoint num="1" id="2646" />
-<TGConnectingPoint num="2" id="2647" />
-<TGConnectingPoint num="3" id="2648" />
+<TGConnectingPoint num="0" id="2817" />
+<TGConnectingPoint num="1" id="2818" />
+<TGConnectingPoint num="2" id="2819" />
+<TGConnectingPoint num="3" id="2820" />
 <extraparam>
 <guard value="[ foundI == 1]" />
 <afterMin value="" />
@@ -6274,55 +6274,55 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2665" >
+<CONNECTOR type="5102" id="2837" >
 <cdparam x="463" y="640" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2661" />
-<TGConnectingPoint num="1" id="2662" />
-<TGConnectingPoint num="2" id="2663" />
-<TGConnectingPoint num="3" id="2664" />
-<P1  x="463" y="640" id="2667" />
-<P2  x="527" y="180" id="2771" />
+<TGConnectingPoint num="0" id="2833" />
+<TGConnectingPoint num="1" id="2834" />
+<TGConnectingPoint num="2" id="2835" />
+<TGConnectingPoint num="3" id="2836" />
+<P1  x="463" y="640" id="2839" />
+<P2  x="527" y="180" id="2943" />
 <Point x="463" y="688" />
 <Point x="699" y="688" />
 <Point x="699" y="180" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2653" >
-<father id="2665" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2825" >
+<father id="2837" num="0" />
 <cdparam x="463" y="688" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2654" >
-<father id="2665" num="1" />
+<SUBCOMPONENT type="-1" id="2826" >
+<father id="2837" num="1" />
 <cdparam x="699" y="688" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2655" >
-<father id="2665" num="2" />
+<SUBCOMPONENT type="-1" id="2827" >
+<father id="2837" num="2" />
 <cdparam x="699" y="180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2660" >
-<father id="2665" num="3" />
+<SUBCOMPONENT type="-1" id="2832" >
+<father id="2837" num="3" />
 <cdparam x="463" y="680" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2656" />
-<TGConnectingPoint num="1" id="2657" />
-<TGConnectingPoint num="2" id="2658" />
-<TGConnectingPoint num="3" id="2659" />
+<TGConnectingPoint num="0" id="2828" />
+<TGConnectingPoint num="1" id="2829" />
+<TGConnectingPoint num="2" id="2830" />
+<TGConnectingPoint num="3" id="2831" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6332,210 +6332,210 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5103" id="2676" >
+<COMPONENT type="5103" id="2848" >
 <cdparam x="422" y="615" />
 <sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="result(found)" />
-<TGConnectingPoint num="0" id="2666" />
-<TGConnectingPoint num="1" id="2667" />
-<TGConnectingPoint num="2" id="2668" />
-<TGConnectingPoint num="3" id="2669" />
-<TGConnectingPoint num="4" id="2670" />
-<TGConnectingPoint num="5" id="2671" />
-<TGConnectingPoint num="6" id="2672" />
-<TGConnectingPoint num="7" id="2673" />
-<TGConnectingPoint num="8" id="2674" />
-<TGConnectingPoint num="9" id="2675" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2717" >
+<TGConnectingPoint num="0" id="2838" />
+<TGConnectingPoint num="1" id="2839" />
+<TGConnectingPoint num="2" id="2840" />
+<TGConnectingPoint num="3" id="2841" />
+<TGConnectingPoint num="4" id="2842" />
+<TGConnectingPoint num="5" id="2843" />
+<TGConnectingPoint num="6" id="2844" />
+<TGConnectingPoint num="7" id="2845" />
+<TGConnectingPoint num="8" id="2846" />
+<TGConnectingPoint num="9" id="2847" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2889" >
 <cdparam x="369" y="523" />
 <sizeparam width="153" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingDone" />
-<TGConnectingPoint num="0" id="2677" />
-<TGConnectingPoint num="1" id="2678" />
-<TGConnectingPoint num="2" id="2679" />
-<TGConnectingPoint num="3" id="2680" />
-<TGConnectingPoint num="4" id="2681" />
-<TGConnectingPoint num="5" id="2682" />
-<TGConnectingPoint num="6" id="2683" />
-<TGConnectingPoint num="7" id="2684" />
-<TGConnectingPoint num="8" id="2685" />
-<TGConnectingPoint num="9" id="2686" />
-<TGConnectingPoint num="10" id="2687" />
-<TGConnectingPoint num="11" id="2688" />
-<TGConnectingPoint num="12" id="2689" />
-<TGConnectingPoint num="13" id="2690" />
-<TGConnectingPoint num="14" id="2691" />
-<TGConnectingPoint num="15" id="2692" />
-<TGConnectingPoint num="16" id="2693" />
-<TGConnectingPoint num="17" id="2694" />
-<TGConnectingPoint num="18" id="2695" />
-<TGConnectingPoint num="19" id="2696" />
-<TGConnectingPoint num="20" id="2697" />
-<TGConnectingPoint num="21" id="2698" />
-<TGConnectingPoint num="22" id="2699" />
-<TGConnectingPoint num="23" id="2700" />
-<TGConnectingPoint num="24" id="2701" />
-<TGConnectingPoint num="25" id="2702" />
-<TGConnectingPoint num="26" id="2703" />
-<TGConnectingPoint num="27" id="2704" />
-<TGConnectingPoint num="28" id="2705" />
-<TGConnectingPoint num="29" id="2706" />
-<TGConnectingPoint num="30" id="2707" />
-<TGConnectingPoint num="31" id="2708" />
-<TGConnectingPoint num="32" id="2709" />
-<TGConnectingPoint num="33" id="2710" />
-<TGConnectingPoint num="34" id="2711" />
-<TGConnectingPoint num="35" id="2712" />
-<TGConnectingPoint num="36" id="2713" />
-<TGConnectingPoint num="37" id="2714" />
-<TGConnectingPoint num="38" id="2715" />
-<TGConnectingPoint num="39" id="2716" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="2733" >
+<TGConnectingPoint num="0" id="2849" />
+<TGConnectingPoint num="1" id="2850" />
+<TGConnectingPoint num="2" id="2851" />
+<TGConnectingPoint num="3" id="2852" />
+<TGConnectingPoint num="4" id="2853" />
+<TGConnectingPoint num="5" id="2854" />
+<TGConnectingPoint num="6" id="2855" />
+<TGConnectingPoint num="7" id="2856" />
+<TGConnectingPoint num="8" id="2857" />
+<TGConnectingPoint num="9" id="2858" />
+<TGConnectingPoint num="10" id="2859" />
+<TGConnectingPoint num="11" id="2860" />
+<TGConnectingPoint num="12" id="2861" />
+<TGConnectingPoint num="13" id="2862" />
+<TGConnectingPoint num="14" id="2863" />
+<TGConnectingPoint num="15" id="2864" />
+<TGConnectingPoint num="16" id="2865" />
+<TGConnectingPoint num="17" id="2866" />
+<TGConnectingPoint num="18" id="2867" />
+<TGConnectingPoint num="19" id="2868" />
+<TGConnectingPoint num="20" id="2869" />
+<TGConnectingPoint num="21" id="2870" />
+<TGConnectingPoint num="22" id="2871" />
+<TGConnectingPoint num="23" id="2872" />
+<TGConnectingPoint num="24" id="2873" />
+<TGConnectingPoint num="25" id="2874" />
+<TGConnectingPoint num="26" id="2875" />
+<TGConnectingPoint num="27" id="2876" />
+<TGConnectingPoint num="28" id="2877" />
+<TGConnectingPoint num="29" id="2878" />
+<TGConnectingPoint num="30" id="2879" />
+<TGConnectingPoint num="31" id="2880" />
+<TGConnectingPoint num="32" id="2881" />
+<TGConnectingPoint num="33" id="2882" />
+<TGConnectingPoint num="34" id="2883" />
+<TGConnectingPoint num="35" id="2884" />
+<TGConnectingPoint num="36" id="2885" />
+<TGConnectingPoint num="37" id="2886" />
+<TGConnectingPoint num="38" id="2887" />
+<TGConnectingPoint num="39" id="2888" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="2905" >
 <cdparam x="430" y="362" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="2718" />
-<TGConnectingPoint num="1" id="2719" />
-<TGConnectingPoint num="2" id="2720" />
-<TGConnectingPoint num="3" id="2721" />
-<TGConnectingPoint num="4" id="2722" />
-<TGConnectingPoint num="5" id="2723" />
-<TGConnectingPoint num="6" id="2724" />
-<TGConnectingPoint num="7" id="2725" />
-<TGConnectingPoint num="8" id="2726" />
-<TGConnectingPoint num="9" id="2727" />
-<TGConnectingPoint num="10" id="2728" />
-<TGConnectingPoint num="11" id="2729" />
-<TGConnectingPoint num="12" id="2730" />
-<TGConnectingPoint num="13" id="2731" />
-<TGConnectingPoint num="14" id="2732" />
-</COMPONENT>
-
-<COMPONENT type="5108" id="2736" >
+<TGConnectingPoint num="0" id="2890" />
+<TGConnectingPoint num="1" id="2891" />
+<TGConnectingPoint num="2" id="2892" />
+<TGConnectingPoint num="3" id="2893" />
+<TGConnectingPoint num="4" id="2894" />
+<TGConnectingPoint num="5" id="2895" />
+<TGConnectingPoint num="6" id="2896" />
+<TGConnectingPoint num="7" id="2897" />
+<TGConnectingPoint num="8" id="2898" />
+<TGConnectingPoint num="9" id="2899" />
+<TGConnectingPoint num="10" id="2900" />
+<TGConnectingPoint num="11" id="2901" />
+<TGConnectingPoint num="12" id="2902" />
+<TGConnectingPoint num="13" id="2903" />
+<TGConnectingPoint num="14" id="2904" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="2908" >
 <cdparam x="367" y="300" />
 <sizeparam width="157" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2734" />
-<TGConnectingPoint num="1" id="2735" />
+<TGConnectingPoint num="0" id="2906" />
+<TGConnectingPoint num="1" id="2907" />
 <extraparam>
 <Data variable="foundI" minValue="1" maxValue="3" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5104" id="2747" >
+<COMPONENT type="5104" id="2919" >
 <cdparam x="403" y="238" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="compute(p)" />
-<TGConnectingPoint num="0" id="2737" />
-<TGConnectingPoint num="1" id="2738" />
-<TGConnectingPoint num="2" id="2739" />
-<TGConnectingPoint num="3" id="2740" />
-<TGConnectingPoint num="4" id="2741" />
-<TGConnectingPoint num="5" id="2742" />
-<TGConnectingPoint num="6" id="2743" />
-<TGConnectingPoint num="7" id="2744" />
-<TGConnectingPoint num="8" id="2745" />
-<TGConnectingPoint num="9" id="2746" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2788" >
+<TGConnectingPoint num="0" id="2909" />
+<TGConnectingPoint num="1" id="2910" />
+<TGConnectingPoint num="2" id="2911" />
+<TGConnectingPoint num="3" id="2912" />
+<TGConnectingPoint num="4" id="2913" />
+<TGConnectingPoint num="5" id="2914" />
+<TGConnectingPoint num="6" id="2915" />
+<TGConnectingPoint num="7" id="2916" />
+<TGConnectingPoint num="8" id="2917" />
+<TGConnectingPoint num="9" id="2918" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2960" >
 <cdparam x="363" y="162" />
 <sizeparam width="164" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForPicture" />
-<TGConnectingPoint num="0" id="2748" />
-<TGConnectingPoint num="1" id="2749" />
-<TGConnectingPoint num="2" id="2750" />
-<TGConnectingPoint num="3" id="2751" />
-<TGConnectingPoint num="4" id="2752" />
-<TGConnectingPoint num="5" id="2753" />
-<TGConnectingPoint num="6" id="2754" />
-<TGConnectingPoint num="7" id="2755" />
-<TGConnectingPoint num="8" id="2756" />
-<TGConnectingPoint num="9" id="2757" />
-<TGConnectingPoint num="10" id="2758" />
-<TGConnectingPoint num="11" id="2759" />
-<TGConnectingPoint num="12" id="2760" />
-<TGConnectingPoint num="13" id="2761" />
-<TGConnectingPoint num="14" id="2762" />
-<TGConnectingPoint num="15" id="2763" />
-<TGConnectingPoint num="16" id="2764" />
-<TGConnectingPoint num="17" id="2765" />
-<TGConnectingPoint num="18" id="2766" />
-<TGConnectingPoint num="19" id="2767" />
-<TGConnectingPoint num="20" id="2768" />
-<TGConnectingPoint num="21" id="2769" />
-<TGConnectingPoint num="22" id="2770" />
-<TGConnectingPoint num="23" id="2771" />
-<TGConnectingPoint num="24" id="2772" />
-<TGConnectingPoint num="25" id="2773" />
-<TGConnectingPoint num="26" id="2774" />
-<TGConnectingPoint num="27" id="2775" />
-<TGConnectingPoint num="28" id="2776" />
-<TGConnectingPoint num="29" id="2777" />
-<TGConnectingPoint num="30" id="2778" />
-<TGConnectingPoint num="31" id="2779" />
-<TGConnectingPoint num="32" id="2780" />
-<TGConnectingPoint num="33" id="2781" />
-<TGConnectingPoint num="34" id="2782" />
-<TGConnectingPoint num="35" id="2783" />
-<TGConnectingPoint num="36" id="2784" />
-<TGConnectingPoint num="37" id="2785" />
-<TGConnectingPoint num="38" id="2786" />
-<TGConnectingPoint num="39" id="2787" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="2790" >
+<TGConnectingPoint num="0" id="2920" />
+<TGConnectingPoint num="1" id="2921" />
+<TGConnectingPoint num="2" id="2922" />
+<TGConnectingPoint num="3" id="2923" />
+<TGConnectingPoint num="4" id="2924" />
+<TGConnectingPoint num="5" id="2925" />
+<TGConnectingPoint num="6" id="2926" />
+<TGConnectingPoint num="7" id="2927" />
+<TGConnectingPoint num="8" id="2928" />
+<TGConnectingPoint num="9" id="2929" />
+<TGConnectingPoint num="10" id="2930" />
+<TGConnectingPoint num="11" id="2931" />
+<TGConnectingPoint num="12" id="2932" />
+<TGConnectingPoint num="13" id="2933" />
+<TGConnectingPoint num="14" id="2934" />
+<TGConnectingPoint num="15" id="2935" />
+<TGConnectingPoint num="16" id="2936" />
+<TGConnectingPoint num="17" id="2937" />
+<TGConnectingPoint num="18" id="2938" />
+<TGConnectingPoint num="19" id="2939" />
+<TGConnectingPoint num="20" id="2940" />
+<TGConnectingPoint num="21" id="2941" />
+<TGConnectingPoint num="22" id="2942" />
+<TGConnectingPoint num="23" id="2943" />
+<TGConnectingPoint num="24" id="2944" />
+<TGConnectingPoint num="25" id="2945" />
+<TGConnectingPoint num="26" id="2946" />
+<TGConnectingPoint num="27" id="2947" />
+<TGConnectingPoint num="28" id="2948" />
+<TGConnectingPoint num="29" id="2949" />
+<TGConnectingPoint num="30" id="2950" />
+<TGConnectingPoint num="31" id="2951" />
+<TGConnectingPoint num="32" id="2952" />
+<TGConnectingPoint num="33" id="2953" />
+<TGConnectingPoint num="34" id="2954" />
+<TGConnectingPoint num="35" id="2955" />
+<TGConnectingPoint num="36" id="2956" />
+<TGConnectingPoint num="37" id="2957" />
+<TGConnectingPoint num="38" id="2958" />
+<TGConnectingPoint num="39" id="2959" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="2962" >
 <cdparam x="438" y="112" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2789" />
+<TGConnectingPoint num="0" id="2961" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="RemoteUser" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2797" >
+<CONNECTOR type="5102" id="2969" >
 <cdparam x="408" y="246" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to Send signal" value="null" />
-<TGConnectingPoint num="0" id="2796" />
-<P1  x="408" y="246" id="2915" />
-<P2  x="410" y="273" id="2917" />
+<TGConnectingPoint num="0" id="2968" />
+<P1  x="408" y="246" id="3087" />
+<P2  x="410" y="273" id="3089" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2795" >
-<father id="2797" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2967" >
+<father id="2969" num="0" />
 <cdparam x="408" y="286" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2791" />
-<TGConnectingPoint num="1" id="2792" />
-<TGConnectingPoint num="2" id="2793" />
-<TGConnectingPoint num="3" id="2794" />
+<TGConnectingPoint num="0" id="2963" />
+<TGConnectingPoint num="1" id="2964" />
+<TGConnectingPoint num="2" id="2965" />
+<TGConnectingPoint num="3" id="2966" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6545,25 +6545,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2804" >
+<CONNECTOR type="5102" id="2976" >
 <cdparam x="390" y="113" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2803" />
-<P1  x="390" y="113" id="2969" />
-<P2  x="390" y="129" id="2945" />
+<TGConnectingPoint num="0" id="2975" />
+<P1  x="390" y="113" id="3141" />
+<P2  x="390" y="129" id="3117" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2802" >
-<father id="2804" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2974" >
+<father id="2976" num="0" />
 <cdparam x="390" y="153" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2798" />
-<TGConnectingPoint num="1" id="2799" />
-<TGConnectingPoint num="2" id="2800" />
-<TGConnectingPoint num="3" id="2801" />
+<TGConnectingPoint num="0" id="2970" />
+<TGConnectingPoint num="1" id="2971" />
+<TGConnectingPoint num="2" id="2972" />
+<TGConnectingPoint num="3" id="2973" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6573,25 +6573,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2811" >
+<CONNECTOR type="5102" id="2983" >
 <cdparam x="477" y="179" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2810" />
-<P1  x="408" y="179" id="2934" />
-<P2  x="408" y="216" id="2914" />
+<TGConnectingPoint num="0" id="2982" />
+<P1  x="408" y="179" id="3106" />
+<P2  x="408" y="216" id="3086" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2809" >
-<father id="2811" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2981" >
+<father id="2983" num="0" />
 <cdparam x="477" y="219" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2805" />
-<TGConnectingPoint num="1" id="2806" />
-<TGConnectingPoint num="2" id="2807" />
-<TGConnectingPoint num="3" id="2808" />
+<TGConnectingPoint num="0" id="2977" />
+<TGConnectingPoint num="1" id="2978" />
+<TGConnectingPoint num="2" id="2979" />
+<TGConnectingPoint num="3" id="2980" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6601,25 +6601,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2818" >
+<CONNECTOR type="5102" id="2990" >
 <cdparam x="410" y="303" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2817" />
-<P1  x="410" y="303" id="2918" />
-<P2  x="401" y="335" id="2881" />
+<TGConnectingPoint num="0" id="2989" />
+<P1  x="410" y="303" id="3090" />
+<P2  x="401" y="335" id="3053" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2816" >
-<father id="2818" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2988" >
+<father id="2990" num="0" />
 <cdparam x="410" y="343" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2812" />
-<TGConnectingPoint num="1" id="2813" />
-<TGConnectingPoint num="2" id="2814" />
-<TGConnectingPoint num="3" id="2815" />
+<TGConnectingPoint num="0" id="2984" />
+<TGConnectingPoint num="1" id="2985" />
+<TGConnectingPoint num="2" id="2986" />
+<TGConnectingPoint num="3" id="2987" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6629,25 +6629,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2825" >
+<CONNECTOR type="5102" id="2997" >
 <cdparam x="379" y="385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="2824" />
-<P1  x="379" y="385" id="2901" />
-<P2  x="370" y="437" id="2862" />
+<TGConnectingPoint num="0" id="2996" />
+<P1  x="379" y="385" id="3073" />
+<P2  x="370" y="437" id="3034" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2823" >
-<father id="2825" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2995" >
+<father id="2997" num="0" />
 <cdparam x="379" y="425" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2819" />
-<TGConnectingPoint num="1" id="2820" />
-<TGConnectingPoint num="2" id="2821" />
-<TGConnectingPoint num="3" id="2822" />
+<TGConnectingPoint num="0" id="2991" />
+<TGConnectingPoint num="1" id="2992" />
+<TGConnectingPoint num="2" id="2993" />
+<TGConnectingPoint num="3" id="2994" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6657,25 +6657,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2832" >
+<CONNECTOR type="5102" id="3004" >
 <cdparam x="370" y="467" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to stop state" value="null" />
-<TGConnectingPoint num="0" id="2831" />
-<P1  x="370" y="467" id="2863" />
-<P2  x="371" y="489" id="2860" />
+<TGConnectingPoint num="0" id="3003" />
+<P1  x="370" y="467" id="3035" />
+<P2  x="371" y="489" id="3032" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2830" >
-<father id="2832" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3002" >
+<father id="3004" num="0" />
 <cdparam x="370" y="507" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2826" />
-<TGConnectingPoint num="1" id="2827" />
-<TGConnectingPoint num="2" id="2828" />
-<TGConnectingPoint num="3" id="2829" />
+<TGConnectingPoint num="0" id="2998" />
+<TGConnectingPoint num="1" id="2999" />
+<TGConnectingPoint num="2" id="3000" />
+<TGConnectingPoint num="3" id="3001" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6685,25 +6685,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2839" >
+<CONNECTOR type="5102" id="3011" >
 <cdparam x="527" y="385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="2838" />
-<P1  x="505" y="385" id="2904" />
-<P2  x="528" y="439" id="2849" />
+<TGConnectingPoint num="0" id="3010" />
+<P1  x="505" y="385" id="3076" />
+<P2  x="528" y="439" id="3021" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2837" >
-<father id="2839" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3009" >
+<father id="3011" num="0" />
 <cdparam x="527" y="425" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2833" />
-<TGConnectingPoint num="1" id="2834" />
-<TGConnectingPoint num="2" id="2835" />
-<TGConnectingPoint num="3" id="2836" />
+<TGConnectingPoint num="0" id="3005" />
+<TGConnectingPoint num="1" id="3006" />
+<TGConnectingPoint num="2" id="3007" />
+<TGConnectingPoint num="3" id="3008" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6713,25 +6713,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2846" >
+<CONNECTOR type="5102" id="3018" >
 <cdparam x="528" y="469" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to stop state" value="null" />
-<TGConnectingPoint num="0" id="2845" />
-<P1  x="528" y="469" id="2850" />
-<P2  x="533" y="485" id="2847" />
+<TGConnectingPoint num="0" id="3017" />
+<P1  x="528" y="469" id="3022" />
+<P2  x="533" y="485" id="3019" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2844" >
-<father id="2846" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3016" >
+<father id="3018" num="0" />
 <cdparam x="528" y="509" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2840" />
-<TGConnectingPoint num="1" id="2841" />
-<TGConnectingPoint num="2" id="2842" />
-<TGConnectingPoint num="3" id="2843" />
+<TGConnectingPoint num="0" id="3012" />
+<TGConnectingPoint num="1" id="3013" />
+<TGConnectingPoint num="2" id="3014" />
+<TGConnectingPoint num="3" id="3015" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6741,253 +6741,253 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5101" id="2848" >
+<COMPONENT type="5101" id="3020" >
 <cdparam x="523" y="490" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="2847" />
+<TGConnectingPoint num="0" id="3019" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="2859" >
+<COMPONENT type="5104" id="3031" >
 <cdparam x="453" y="444" />
 <sizeparam width="150" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="missionAborted(status)" />
-<TGConnectingPoint num="0" id="2849" />
-<TGConnectingPoint num="1" id="2850" />
-<TGConnectingPoint num="2" id="2851" />
-<TGConnectingPoint num="3" id="2852" />
-<TGConnectingPoint num="4" id="2853" />
-<TGConnectingPoint num="5" id="2854" />
-<TGConnectingPoint num="6" id="2855" />
-<TGConnectingPoint num="7" id="2856" />
-<TGConnectingPoint num="8" id="2857" />
-<TGConnectingPoint num="9" id="2858" />
+<TGConnectingPoint num="0" id="3021" />
+<TGConnectingPoint num="1" id="3022" />
+<TGConnectingPoint num="2" id="3023" />
+<TGConnectingPoint num="3" id="3024" />
+<TGConnectingPoint num="4" id="3025" />
+<TGConnectingPoint num="5" id="3026" />
+<TGConnectingPoint num="6" id="3027" />
+<TGConnectingPoint num="7" id="3028" />
+<TGConnectingPoint num="8" id="3029" />
+<TGConnectingPoint num="9" id="3030" />
 </COMPONENT>
 
-<COMPONENT type="5101" id="2861" >
+<COMPONENT type="5101" id="3033" >
 <cdparam x="361" y="494" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="2860" />
+<TGConnectingPoint num="0" id="3032" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="2872" >
+<COMPONENT type="5104" id="3044" >
 <cdparam x="317" y="442" />
 <sizeparam width="107" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="placeReached()" />
-<TGConnectingPoint num="0" id="2862" />
-<TGConnectingPoint num="1" id="2863" />
-<TGConnectingPoint num="2" id="2864" />
-<TGConnectingPoint num="3" id="2865" />
-<TGConnectingPoint num="4" id="2866" />
-<TGConnectingPoint num="5" id="2867" />
-<TGConnectingPoint num="6" id="2868" />
-<TGConnectingPoint num="7" id="2869" />
-<TGConnectingPoint num="8" id="2870" />
-<TGConnectingPoint num="9" id="2871" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2913" >
+<TGConnectingPoint num="0" id="3034" />
+<TGConnectingPoint num="1" id="3035" />
+<TGConnectingPoint num="2" id="3036" />
+<TGConnectingPoint num="3" id="3037" />
+<TGConnectingPoint num="4" id="3038" />
+<TGConnectingPoint num="5" id="3039" />
+<TGConnectingPoint num="6" id="3040" />
+<TGConnectingPoint num="7" id="3041" />
+<TGConnectingPoint num="8" id="3042" />
+<TGConnectingPoint num="9" id="3043" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3085" >
 <cdparam x="359" y="335" />
 <sizeparam width="168" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForMissionResult" />
-<TGConnectingPoint num="0" id="2873" />
-<TGConnectingPoint num="1" id="2874" />
-<TGConnectingPoint num="2" id="2875" />
-<TGConnectingPoint num="3" id="2876" />
-<TGConnectingPoint num="4" id="2877" />
-<TGConnectingPoint num="5" id="2878" />
-<TGConnectingPoint num="6" id="2879" />
-<TGConnectingPoint num="7" id="2880" />
-<TGConnectingPoint num="8" id="2881" />
-<TGConnectingPoint num="9" id="2882" />
-<TGConnectingPoint num="10" id="2883" />
-<TGConnectingPoint num="11" id="2884" />
-<TGConnectingPoint num="12" id="2885" />
-<TGConnectingPoint num="13" id="2886" />
-<TGConnectingPoint num="14" id="2887" />
-<TGConnectingPoint num="15" id="2888" />
-<TGConnectingPoint num="16" id="2889" />
-<TGConnectingPoint num="17" id="2890" />
-<TGConnectingPoint num="18" id="2891" />
-<TGConnectingPoint num="19" id="2892" />
-<TGConnectingPoint num="20" id="2893" />
-<TGConnectingPoint num="21" id="2894" />
-<TGConnectingPoint num="22" id="2895" />
-<TGConnectingPoint num="23" id="2896" />
-<TGConnectingPoint num="24" id="2897" />
-<TGConnectingPoint num="25" id="2898" />
-<TGConnectingPoint num="26" id="2899" />
-<TGConnectingPoint num="27" id="2900" />
-<TGConnectingPoint num="28" id="2901" />
-<TGConnectingPoint num="29" id="2902" />
-<TGConnectingPoint num="30" id="2903" />
-<TGConnectingPoint num="31" id="2904" />
-<TGConnectingPoint num="32" id="2905" />
-<TGConnectingPoint num="33" id="2906" />
-<TGConnectingPoint num="34" id="2907" />
-<TGConnectingPoint num="35" id="2908" />
-<TGConnectingPoint num="36" id="2909" />
-<TGConnectingPoint num="37" id="2910" />
-<TGConnectingPoint num="38" id="2911" />
-<TGConnectingPoint num="39" id="2912" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5108" id="2916" >
+<TGConnectingPoint num="0" id="3045" />
+<TGConnectingPoint num="1" id="3046" />
+<TGConnectingPoint num="2" id="3047" />
+<TGConnectingPoint num="3" id="3048" />
+<TGConnectingPoint num="4" id="3049" />
+<TGConnectingPoint num="5" id="3050" />
+<TGConnectingPoint num="6" id="3051" />
+<TGConnectingPoint num="7" id="3052" />
+<TGConnectingPoint num="8" id="3053" />
+<TGConnectingPoint num="9" id="3054" />
+<TGConnectingPoint num="10" id="3055" />
+<TGConnectingPoint num="11" id="3056" />
+<TGConnectingPoint num="12" id="3057" />
+<TGConnectingPoint num="13" id="3058" />
+<TGConnectingPoint num="14" id="3059" />
+<TGConnectingPoint num="15" id="3060" />
+<TGConnectingPoint num="16" id="3061" />
+<TGConnectingPoint num="17" id="3062" />
+<TGConnectingPoint num="18" id="3063" />
+<TGConnectingPoint num="19" id="3064" />
+<TGConnectingPoint num="20" id="3065" />
+<TGConnectingPoint num="21" id="3066" />
+<TGConnectingPoint num="22" id="3067" />
+<TGConnectingPoint num="23" id="3068" />
+<TGConnectingPoint num="24" id="3069" />
+<TGConnectingPoint num="25" id="3070" />
+<TGConnectingPoint num="26" id="3071" />
+<TGConnectingPoint num="27" id="3072" />
+<TGConnectingPoint num="28" id="3073" />
+<TGConnectingPoint num="29" id="3074" />
+<TGConnectingPoint num="30" id="3075" />
+<TGConnectingPoint num="31" id="3076" />
+<TGConnectingPoint num="32" id="3077" />
+<TGConnectingPoint num="33" id="3078" />
+<TGConnectingPoint num="34" id="3079" />
+<TGConnectingPoint num="35" id="3080" />
+<TGConnectingPoint num="36" id="3081" />
+<TGConnectingPoint num="37" id="3082" />
+<TGConnectingPoint num="38" id="3083" />
+<TGConnectingPoint num="39" id="3084" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5108" id="3088" >
 <cdparam x="332" y="221" />
 <sizeparam width="152" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="2914" />
-<TGConnectingPoint num="1" id="2915" />
+<TGConnectingPoint num="0" id="3086" />
+<TGConnectingPoint num="1" id="3087" />
 <extraparam>
 <Data variable="place" minValue="1" maxValue="3" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="2927" >
+<COMPONENT type="5103" id="3099" >
 <cdparam x="370" y="278" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="reach(place)" />
-<TGConnectingPoint num="0" id="2917" />
-<TGConnectingPoint num="1" id="2918" />
-<TGConnectingPoint num="2" id="2919" />
-<TGConnectingPoint num="3" id="2920" />
-<TGConnectingPoint num="4" id="2921" />
-<TGConnectingPoint num="5" id="2922" />
-<TGConnectingPoint num="6" id="2923" />
-<TGConnectingPoint num="7" id="2924" />
-<TGConnectingPoint num="8" id="2925" />
-<TGConnectingPoint num="9" id="2926" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2968" >
+<TGConnectingPoint num="0" id="3089" />
+<TGConnectingPoint num="1" id="3090" />
+<TGConnectingPoint num="2" id="3091" />
+<TGConnectingPoint num="3" id="3092" />
+<TGConnectingPoint num="4" id="3093" />
+<TGConnectingPoint num="5" id="3094" />
+<TGConnectingPoint num="6" id="3095" />
+<TGConnectingPoint num="7" id="3096" />
+<TGConnectingPoint num="8" id="3097" />
+<TGConnectingPoint num="9" id="3098" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3140" >
 <cdparam x="340" y="129" />
 <sizeparam width="137" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="DefininingMission" />
-<TGConnectingPoint num="0" id="2928" />
-<TGConnectingPoint num="1" id="2929" />
-<TGConnectingPoint num="2" id="2930" />
-<TGConnectingPoint num="3" id="2931" />
-<TGConnectingPoint num="4" id="2932" />
-<TGConnectingPoint num="5" id="2933" />
-<TGConnectingPoint num="6" id="2934" />
-<TGConnectingPoint num="7" id="2935" />
-<TGConnectingPoint num="8" id="2936" />
-<TGConnectingPoint num="9" id="2937" />
-<TGConnectingPoint num="10" id="2938" />
-<TGConnectingPoint num="11" id="2939" />
-<TGConnectingPoint num="12" id="2940" />
-<TGConnectingPoint num="13" id="2941" />
-<TGConnectingPoint num="14" id="2942" />
-<TGConnectingPoint num="15" id="2943" />
-<TGConnectingPoint num="16" id="2944" />
-<TGConnectingPoint num="17" id="2945" />
-<TGConnectingPoint num="18" id="2946" />
-<TGConnectingPoint num="19" id="2947" />
-<TGConnectingPoint num="20" id="2948" />
-<TGConnectingPoint num="21" id="2949" />
-<TGConnectingPoint num="22" id="2950" />
-<TGConnectingPoint num="23" id="2951" />
-<TGConnectingPoint num="24" id="2952" />
-<TGConnectingPoint num="25" id="2953" />
-<TGConnectingPoint num="26" id="2954" />
-<TGConnectingPoint num="27" id="2955" />
-<TGConnectingPoint num="28" id="2956" />
-<TGConnectingPoint num="29" id="2957" />
-<TGConnectingPoint num="30" id="2958" />
-<TGConnectingPoint num="31" id="2959" />
-<TGConnectingPoint num="32" id="2960" />
-<TGConnectingPoint num="33" id="2961" />
-<TGConnectingPoint num="34" id="2962" />
-<TGConnectingPoint num="35" id="2963" />
-<TGConnectingPoint num="36" id="2964" />
-<TGConnectingPoint num="37" id="2965" />
-<TGConnectingPoint num="38" id="2966" />
-<TGConnectingPoint num="39" id="2967" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="2970" >
+<TGConnectingPoint num="0" id="3100" />
+<TGConnectingPoint num="1" id="3101" />
+<TGConnectingPoint num="2" id="3102" />
+<TGConnectingPoint num="3" id="3103" />
+<TGConnectingPoint num="4" id="3104" />
+<TGConnectingPoint num="5" id="3105" />
+<TGConnectingPoint num="6" id="3106" />
+<TGConnectingPoint num="7" id="3107" />
+<TGConnectingPoint num="8" id="3108" />
+<TGConnectingPoint num="9" id="3109" />
+<TGConnectingPoint num="10" id="3110" />
+<TGConnectingPoint num="11" id="3111" />
+<TGConnectingPoint num="12" id="3112" />
+<TGConnectingPoint num="13" id="3113" />
+<TGConnectingPoint num="14" id="3114" />
+<TGConnectingPoint num="15" id="3115" />
+<TGConnectingPoint num="16" id="3116" />
+<TGConnectingPoint num="17" id="3117" />
+<TGConnectingPoint num="18" id="3118" />
+<TGConnectingPoint num="19" id="3119" />
+<TGConnectingPoint num="20" id="3120" />
+<TGConnectingPoint num="21" id="3121" />
+<TGConnectingPoint num="22" id="3122" />
+<TGConnectingPoint num="23" id="3123" />
+<TGConnectingPoint num="24" id="3124" />
+<TGConnectingPoint num="25" id="3125" />
+<TGConnectingPoint num="26" id="3126" />
+<TGConnectingPoint num="27" id="3127" />
+<TGConnectingPoint num="28" id="3128" />
+<TGConnectingPoint num="29" id="3129" />
+<TGConnectingPoint num="30" id="3130" />
+<TGConnectingPoint num="31" id="3131" />
+<TGConnectingPoint num="32" id="3132" />
+<TGConnectingPoint num="33" id="3133" />
+<TGConnectingPoint num="34" id="3134" />
+<TGConnectingPoint num="35" id="3135" />
+<TGConnectingPoint num="36" id="3136" />
+<TGConnectingPoint num="37" id="3137" />
+<TGConnectingPoint num="38" id="3138" />
+<TGConnectingPoint num="39" id="3139" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3142" >
 <cdparam x="383" y="93" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2969" />
+<TGConnectingPoint num="0" id="3141" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="ThreeDRecognitionAlgorithm" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2983" >
+<CONNECTOR type="5102" id="3155" >
 <cdparam x="410" y="626" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2979" />
-<TGConnectingPoint num="1" id="2980" />
-<TGConnectingPoint num="2" id="2981" />
-<TGConnectingPoint num="3" id="2982" />
-<P1  x="410" y="626" id="3046" />
-<P2  x="474" y="166" id="3150" />
+<TGConnectingPoint num="0" id="3151" />
+<TGConnectingPoint num="1" id="3152" />
+<TGConnectingPoint num="2" id="3153" />
+<TGConnectingPoint num="3" id="3154" />
+<P1  x="410" y="626" id="3218" />
+<P2  x="474" y="166" id="3322" />
 <Point x="410" y="674" />
 <Point x="646" y="674" />
 <Point x="646" y="166" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2971" >
-<father id="2983" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3143" >
+<father id="3155" num="0" />
 <cdparam x="410" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2972" >
-<father id="2983" num="1" />
+<SUBCOMPONENT type="-1" id="3144" >
+<father id="3155" num="1" />
 <cdparam x="646" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2973" >
-<father id="2983" num="2" />
+<SUBCOMPONENT type="-1" id="3145" >
+<father id="3155" num="2" />
 <cdparam x="646" y="166" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2978" >
-<father id="2983" num="3" />
+<SUBCOMPONENT type="-1" id="3150" >
+<father id="3155" num="3" />
 <cdparam x="410" y="666" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2974" />
-<TGConnectingPoint num="1" id="2975" />
-<TGConnectingPoint num="2" id="2976" />
-<TGConnectingPoint num="3" id="2977" />
+<TGConnectingPoint num="0" id="3146" />
+<TGConnectingPoint num="1" id="3147" />
+<TGConnectingPoint num="2" id="3148" />
+<TGConnectingPoint num="3" id="3149" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -6997,35 +6997,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2992" >
+<CONNECTOR type="5102" id="3164" >
 <cdparam x="367" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="2990" />
-<TGConnectingPoint num="1" id="2991" />
-<P1  x="367" y="363" id="3098" />
-<P2  x="354" y="509" id="3064" />
+<TGConnectingPoint num="0" id="3162" />
+<TGConnectingPoint num="1" id="3163" />
+<P1  x="367" y="363" id="3270" />
+<P2  x="354" y="509" id="3236" />
 <Point x="314" y="418" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2984" >
-<father id="2992" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3156" >
+<father id="3164" num="0" />
 <cdparam x="314" y="418" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2989" >
-<father id="2992" num="1" />
+<SUBCOMPONENT type="-1" id="3161" >
+<father id="3164" num="1" />
 <cdparam x="214" y="397" />
 <sizeparam width="84" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2985" />
-<TGConnectingPoint num="1" id="2986" />
-<TGConnectingPoint num="2" id="2987" />
-<TGConnectingPoint num="3" id="2988" />
+<TGConnectingPoint num="0" id="3157" />
+<TGConnectingPoint num="1" id="3158" />
+<TGConnectingPoint num="2" id="3159" />
+<TGConnectingPoint num="3" id="3160" />
 <extraparam>
 <guard value="[ foundI == 1]" />
 <afterMin value="" />
@@ -7036,25 +7036,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2999" >
+<CONNECTOR type="5102" id="3171" >
 <cdparam x="392" y="118" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2998" />
-<P1  x="392" y="118" id="3168" />
-<P2  x="392" y="148" id="3128" />
+<TGConnectingPoint num="0" id="3170" />
+<P1  x="392" y="118" id="3340" />
+<P2  x="392" y="148" id="3300" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2997" >
-<father id="2999" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3169" >
+<father id="3171" num="0" />
 <cdparam x="392" y="158" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2993" />
-<TGConnectingPoint num="1" id="2994" />
-<TGConnectingPoint num="2" id="2995" />
-<TGConnectingPoint num="3" id="2996" />
+<TGConnectingPoint num="0" id="3165" />
+<TGConnectingPoint num="1" id="3166" />
+<TGConnectingPoint num="2" id="3167" />
+<TGConnectingPoint num="3" id="3168" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7064,25 +7064,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3006" >
+<CONNECTOR type="5102" id="3178" >
 <cdparam x="411" y="198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="3005" />
-<P1  x="392" y="198" id="3133" />
-<P2  x="392" y="219" id="3116" />
+<TGConnectingPoint num="0" id="3177" />
+<P1  x="392" y="198" id="3305" />
+<P2  x="392" y="219" id="3288" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3004" >
-<father id="3006" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3176" >
+<father id="3178" num="0" />
 <cdparam x="411" y="238" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3000" />
-<TGConnectingPoint num="1" id="3001" />
-<TGConnectingPoint num="2" id="3002" />
-<TGConnectingPoint num="3" id="3003" />
+<TGConnectingPoint num="0" id="3172" />
+<TGConnectingPoint num="1" id="3173" />
+<TGConnectingPoint num="2" id="3174" />
+<TGConnectingPoint num="3" id="3175" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7092,25 +7092,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3013" >
+<CONNECTOR type="5102" id="3185" >
 <cdparam x="392" y="266" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="3012" />
-<P1  x="392" y="249" id="3117" />
-<P2  x="392" y="281" id="3113" />
+<TGConnectingPoint num="0" id="3184" />
+<P1  x="392" y="249" id="3289" />
+<P2  x="392" y="281" id="3285" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3011" >
-<father id="3013" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3183" >
+<father id="3185" num="0" />
 <cdparam x="250" y="265" />
 <sizeparam width="293" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3007" />
-<TGConnectingPoint num="1" id="3008" />
-<TGConnectingPoint num="2" id="3009" />
-<TGConnectingPoint num="3" id="3010" />
+<TGConnectingPoint num="0" id="3179" />
+<TGConnectingPoint num="1" id="3180" />
+<TGConnectingPoint num="2" id="3181" />
+<TGConnectingPoint num="3" id="3182" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="minComputationTime" />
@@ -7120,25 +7120,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3020" >
+<CONNECTOR type="5102" id="3192" >
 <cdparam x="392" y="311" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to choice" value="null" />
-<TGConnectingPoint num="0" id="3019" />
-<P1  x="392" y="311" id="3114" />
-<P2  x="392" y="338" id="3097" />
+<TGConnectingPoint num="0" id="3191" />
+<P1  x="392" y="311" id="3286" />
+<P2  x="392" y="338" id="3269" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3018" >
-<father id="3020" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3190" >
+<father id="3192" num="0" />
 <cdparam x="392" y="351" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3014" />
-<TGConnectingPoint num="1" id="3015" />
-<TGConnectingPoint num="2" id="3016" />
-<TGConnectingPoint num="3" id="3017" />
+<TGConnectingPoint num="0" id="3186" />
+<TGConnectingPoint num="1" id="3187" />
+<TGConnectingPoint num="2" id="3188" />
+<TGConnectingPoint num="3" id="3189" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7148,25 +7148,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3027" >
+<CONNECTOR type="5102" id="3199" >
 <cdparam x="410" y="559" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3026" />
-<P1  x="410" y="559" id="3086" />
-<P2  x="410" y="596" id="3045" />
+<TGConnectingPoint num="0" id="3198" />
+<P1  x="410" y="559" id="3258" />
+<P2  x="410" y="596" id="3217" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3025" >
-<father id="3027" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3197" >
+<father id="3199" num="0" />
 <cdparam x="410" y="599" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3021" />
-<TGConnectingPoint num="1" id="3022" />
-<TGConnectingPoint num="2" id="3023" />
-<TGConnectingPoint num="3" id="3024" />
+<TGConnectingPoint num="0" id="3193" />
+<TGConnectingPoint num="1" id="3194" />
+<TGConnectingPoint num="2" id="3195" />
+<TGConnectingPoint num="3" id="3196" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7176,25 +7176,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3034" >
+<CONNECTOR type="5102" id="3206" >
 <cdparam x="417" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="3033" />
-<P1  x="417" y="363" id="3102" />
-<P2  x="507" y="407" id="3042" />
+<TGConnectingPoint num="0" id="3205" />
+<P1  x="417" y="363" id="3274" />
+<P2  x="507" y="407" id="3214" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3032" >
-<father id="3034" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3204" >
+<father id="3206" num="0" />
 <cdparam x="461" y="364" />
 <sizeparam width="74" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3028" />
-<TGConnectingPoint num="1" id="3029" />
-<TGConnectingPoint num="2" id="3030" />
-<TGConnectingPoint num="3" id="3031" />
+<TGConnectingPoint num="0" id="3200" />
+<TGConnectingPoint num="1" id="3201" />
+<TGConnectingPoint num="2" id="3202" />
+<TGConnectingPoint num="3" id="3203" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -7205,25 +7205,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3041" >
+<CONNECTOR type="5102" id="3213" >
 <cdparam x="486" y="437" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to state0" value="null" />
-<TGConnectingPoint num="0" id="3040" />
-<P1  x="507" y="437" id="3043" />
-<P2  x="469" y="509" id="3058" />
+<TGConnectingPoint num="0" id="3212" />
+<P1  x="507" y="437" id="3215" />
+<P2  x="469" y="509" id="3230" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3039" >
-<father id="3041" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3211" >
+<father id="3213" num="0" />
 <cdparam x="486" y="477" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3035" />
-<TGConnectingPoint num="1" id="3036" />
-<TGConnectingPoint num="2" id="3037" />
-<TGConnectingPoint num="3" id="3038" />
+<TGConnectingPoint num="0" id="3207" />
+<TGConnectingPoint num="1" id="3208" />
+<TGConnectingPoint num="2" id="3209" />
+<TGConnectingPoint num="3" id="3210" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7233,223 +7233,223 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5108" id="3044" >
+<COMPONENT type="5108" id="3216" >
 <cdparam x="424" y="412" />
 <sizeparam width="166" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="3042" />
-<TGConnectingPoint num="1" id="3043" />
+<TGConnectingPoint num="0" id="3214" />
+<TGConnectingPoint num="1" id="3215" />
 <extraparam>
 <Data variable="position" minValue="0" maxValue="2" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="3055" >
+<COMPONENT type="5103" id="3227" >
 <cdparam x="342" y="601" />
 <sizeparam width="136" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="result(found, position)" />
-<TGConnectingPoint num="0" id="3045" />
-<TGConnectingPoint num="1" id="3046" />
-<TGConnectingPoint num="2" id="3047" />
-<TGConnectingPoint num="3" id="3048" />
-<TGConnectingPoint num="4" id="3049" />
-<TGConnectingPoint num="5" id="3050" />
-<TGConnectingPoint num="6" id="3051" />
-<TGConnectingPoint num="7" id="3052" />
-<TGConnectingPoint num="8" id="3053" />
-<TGConnectingPoint num="9" id="3054" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3096" >
+<TGConnectingPoint num="0" id="3217" />
+<TGConnectingPoint num="1" id="3218" />
+<TGConnectingPoint num="2" id="3219" />
+<TGConnectingPoint num="3" id="3220" />
+<TGConnectingPoint num="4" id="3221" />
+<TGConnectingPoint num="5" id="3222" />
+<TGConnectingPoint num="6" id="3223" />
+<TGConnectingPoint num="7" id="3224" />
+<TGConnectingPoint num="8" id="3225" />
+<TGConnectingPoint num="9" id="3226" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3268" >
 <cdparam x="316" y="509" />
 <sizeparam width="153" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingDone" />
-<TGConnectingPoint num="0" id="3056" />
-<TGConnectingPoint num="1" id="3057" />
-<TGConnectingPoint num="2" id="3058" />
-<TGConnectingPoint num="3" id="3059" />
-<TGConnectingPoint num="4" id="3060" />
-<TGConnectingPoint num="5" id="3061" />
-<TGConnectingPoint num="6" id="3062" />
-<TGConnectingPoint num="7" id="3063" />
-<TGConnectingPoint num="8" id="3064" />
-<TGConnectingPoint num="9" id="3065" />
-<TGConnectingPoint num="10" id="3066" />
-<TGConnectingPoint num="11" id="3067" />
-<TGConnectingPoint num="12" id="3068" />
-<TGConnectingPoint num="13" id="3069" />
-<TGConnectingPoint num="14" id="3070" />
-<TGConnectingPoint num="15" id="3071" />
-<TGConnectingPoint num="16" id="3072" />
-<TGConnectingPoint num="17" id="3073" />
-<TGConnectingPoint num="18" id="3074" />
-<TGConnectingPoint num="19" id="3075" />
-<TGConnectingPoint num="20" id="3076" />
-<TGConnectingPoint num="21" id="3077" />
-<TGConnectingPoint num="22" id="3078" />
-<TGConnectingPoint num="23" id="3079" />
-<TGConnectingPoint num="24" id="3080" />
-<TGConnectingPoint num="25" id="3081" />
-<TGConnectingPoint num="26" id="3082" />
-<TGConnectingPoint num="27" id="3083" />
-<TGConnectingPoint num="28" id="3084" />
-<TGConnectingPoint num="29" id="3085" />
-<TGConnectingPoint num="30" id="3086" />
-<TGConnectingPoint num="31" id="3087" />
-<TGConnectingPoint num="32" id="3088" />
-<TGConnectingPoint num="33" id="3089" />
-<TGConnectingPoint num="34" id="3090" />
-<TGConnectingPoint num="35" id="3091" />
-<TGConnectingPoint num="36" id="3092" />
-<TGConnectingPoint num="37" id="3093" />
-<TGConnectingPoint num="38" id="3094" />
-<TGConnectingPoint num="39" id="3095" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="3112" >
+<TGConnectingPoint num="0" id="3228" />
+<TGConnectingPoint num="1" id="3229" />
+<TGConnectingPoint num="2" id="3230" />
+<TGConnectingPoint num="3" id="3231" />
+<TGConnectingPoint num="4" id="3232" />
+<TGConnectingPoint num="5" id="3233" />
+<TGConnectingPoint num="6" id="3234" />
+<TGConnectingPoint num="7" id="3235" />
+<TGConnectingPoint num="8" id="3236" />
+<TGConnectingPoint num="9" id="3237" />
+<TGConnectingPoint num="10" id="3238" />
+<TGConnectingPoint num="11" id="3239" />
+<TGConnectingPoint num="12" id="3240" />
+<TGConnectingPoint num="13" id="3241" />
+<TGConnectingPoint num="14" id="3242" />
+<TGConnectingPoint num="15" id="3243" />
+<TGConnectingPoint num="16" id="3244" />
+<TGConnectingPoint num="17" id="3245" />
+<TGConnectingPoint num="18" id="3246" />
+<TGConnectingPoint num="19" id="3247" />
+<TGConnectingPoint num="20" id="3248" />
+<TGConnectingPoint num="21" id="3249" />
+<TGConnectingPoint num="22" id="3250" />
+<TGConnectingPoint num="23" id="3251" />
+<TGConnectingPoint num="24" id="3252" />
+<TGConnectingPoint num="25" id="3253" />
+<TGConnectingPoint num="26" id="3254" />
+<TGConnectingPoint num="27" id="3255" />
+<TGConnectingPoint num="28" id="3256" />
+<TGConnectingPoint num="29" id="3257" />
+<TGConnectingPoint num="30" id="3258" />
+<TGConnectingPoint num="31" id="3259" />
+<TGConnectingPoint num="32" id="3260" />
+<TGConnectingPoint num="33" id="3261" />
+<TGConnectingPoint num="34" id="3262" />
+<TGConnectingPoint num="35" id="3263" />
+<TGConnectingPoint num="36" id="3264" />
+<TGConnectingPoint num="37" id="3265" />
+<TGConnectingPoint num="38" id="3266" />
+<TGConnectingPoint num="39" id="3267" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="3284" >
 <cdparam x="377" y="348" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="3097" />
-<TGConnectingPoint num="1" id="3098" />
-<TGConnectingPoint num="2" id="3099" />
-<TGConnectingPoint num="3" id="3100" />
-<TGConnectingPoint num="4" id="3101" />
-<TGConnectingPoint num="5" id="3102" />
-<TGConnectingPoint num="6" id="3103" />
-<TGConnectingPoint num="7" id="3104" />
-<TGConnectingPoint num="8" id="3105" />
-<TGConnectingPoint num="9" id="3106" />
-<TGConnectingPoint num="10" id="3107" />
-<TGConnectingPoint num="11" id="3108" />
-<TGConnectingPoint num="12" id="3109" />
-<TGConnectingPoint num="13" id="3110" />
-<TGConnectingPoint num="14" id="3111" />
-</COMPONENT>
-
-<COMPONENT type="5108" id="3115" >
+<TGConnectingPoint num="0" id="3269" />
+<TGConnectingPoint num="1" id="3270" />
+<TGConnectingPoint num="2" id="3271" />
+<TGConnectingPoint num="3" id="3272" />
+<TGConnectingPoint num="4" id="3273" />
+<TGConnectingPoint num="5" id="3274" />
+<TGConnectingPoint num="6" id="3275" />
+<TGConnectingPoint num="7" id="3276" />
+<TGConnectingPoint num="8" id="3277" />
+<TGConnectingPoint num="9" id="3278" />
+<TGConnectingPoint num="10" id="3279" />
+<TGConnectingPoint num="11" id="3280" />
+<TGConnectingPoint num="12" id="3281" />
+<TGConnectingPoint num="13" id="3282" />
+<TGConnectingPoint num="14" id="3283" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="3287" >
 <cdparam x="310" y="286" />
 <sizeparam width="165" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="3113" />
-<TGConnectingPoint num="1" id="3114" />
+<TGConnectingPoint num="0" id="3285" />
+<TGConnectingPoint num="1" id="3286" />
 <extraparam>
 <Data variable="foundI" minValue="1" maxValue="10" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5104" id="3126" >
+<COMPONENT type="5104" id="3298" >
 <cdparam x="350" y="224" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="compute(p)" />
-<TGConnectingPoint num="0" id="3116" />
-<TGConnectingPoint num="1" id="3117" />
-<TGConnectingPoint num="2" id="3118" />
-<TGConnectingPoint num="3" id="3119" />
-<TGConnectingPoint num="4" id="3120" />
-<TGConnectingPoint num="5" id="3121" />
-<TGConnectingPoint num="6" id="3122" />
-<TGConnectingPoint num="7" id="3123" />
-<TGConnectingPoint num="8" id="3124" />
-<TGConnectingPoint num="9" id="3125" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3167" >
+<TGConnectingPoint num="0" id="3288" />
+<TGConnectingPoint num="1" id="3289" />
+<TGConnectingPoint num="2" id="3290" />
+<TGConnectingPoint num="3" id="3291" />
+<TGConnectingPoint num="4" id="3292" />
+<TGConnectingPoint num="5" id="3293" />
+<TGConnectingPoint num="6" id="3294" />
+<TGConnectingPoint num="7" id="3295" />
+<TGConnectingPoint num="8" id="3296" />
+<TGConnectingPoint num="9" id="3297" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3339" >
 <cdparam x="310" y="148" />
 <sizeparam width="164" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForPicture" />
-<TGConnectingPoint num="0" id="3127" />
-<TGConnectingPoint num="1" id="3128" />
-<TGConnectingPoint num="2" id="3129" />
-<TGConnectingPoint num="3" id="3130" />
-<TGConnectingPoint num="4" id="3131" />
-<TGConnectingPoint num="5" id="3132" />
-<TGConnectingPoint num="6" id="3133" />
-<TGConnectingPoint num="7" id="3134" />
-<TGConnectingPoint num="8" id="3135" />
-<TGConnectingPoint num="9" id="3136" />
-<TGConnectingPoint num="10" id="3137" />
-<TGConnectingPoint num="11" id="3138" />
-<TGConnectingPoint num="12" id="3139" />
-<TGConnectingPoint num="13" id="3140" />
-<TGConnectingPoint num="14" id="3141" />
-<TGConnectingPoint num="15" id="3142" />
-<TGConnectingPoint num="16" id="3143" />
-<TGConnectingPoint num="17" id="3144" />
-<TGConnectingPoint num="18" id="3145" />
-<TGConnectingPoint num="19" id="3146" />
-<TGConnectingPoint num="20" id="3147" />
-<TGConnectingPoint num="21" id="3148" />
-<TGConnectingPoint num="22" id="3149" />
-<TGConnectingPoint num="23" id="3150" />
-<TGConnectingPoint num="24" id="3151" />
-<TGConnectingPoint num="25" id="3152" />
-<TGConnectingPoint num="26" id="3153" />
-<TGConnectingPoint num="27" id="3154" />
-<TGConnectingPoint num="28" id="3155" />
-<TGConnectingPoint num="29" id="3156" />
-<TGConnectingPoint num="30" id="3157" />
-<TGConnectingPoint num="31" id="3158" />
-<TGConnectingPoint num="32" id="3159" />
-<TGConnectingPoint num="33" id="3160" />
-<TGConnectingPoint num="34" id="3161" />
-<TGConnectingPoint num="35" id="3162" />
-<TGConnectingPoint num="36" id="3163" />
-<TGConnectingPoint num="37" id="3164" />
-<TGConnectingPoint num="38" id="3165" />
-<TGConnectingPoint num="39" id="3166" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="3169" >
+<TGConnectingPoint num="0" id="3299" />
+<TGConnectingPoint num="1" id="3300" />
+<TGConnectingPoint num="2" id="3301" />
+<TGConnectingPoint num="3" id="3302" />
+<TGConnectingPoint num="4" id="3303" />
+<TGConnectingPoint num="5" id="3304" />
+<TGConnectingPoint num="6" id="3305" />
+<TGConnectingPoint num="7" id="3306" />
+<TGConnectingPoint num="8" id="3307" />
+<TGConnectingPoint num="9" id="3308" />
+<TGConnectingPoint num="10" id="3309" />
+<TGConnectingPoint num="11" id="3310" />
+<TGConnectingPoint num="12" id="3311" />
+<TGConnectingPoint num="13" id="3312" />
+<TGConnectingPoint num="14" id="3313" />
+<TGConnectingPoint num="15" id="3314" />
+<TGConnectingPoint num="16" id="3315" />
+<TGConnectingPoint num="17" id="3316" />
+<TGConnectingPoint num="18" id="3317" />
+<TGConnectingPoint num="19" id="3318" />
+<TGConnectingPoint num="20" id="3319" />
+<TGConnectingPoint num="21" id="3320" />
+<TGConnectingPoint num="22" id="3321" />
+<TGConnectingPoint num="23" id="3322" />
+<TGConnectingPoint num="24" id="3323" />
+<TGConnectingPoint num="25" id="3324" />
+<TGConnectingPoint num="26" id="3325" />
+<TGConnectingPoint num="27" id="3326" />
+<TGConnectingPoint num="28" id="3327" />
+<TGConnectingPoint num="29" id="3328" />
+<TGConnectingPoint num="30" id="3329" />
+<TGConnectingPoint num="31" id="3330" />
+<TGConnectingPoint num="32" id="3331" />
+<TGConnectingPoint num="33" id="3332" />
+<TGConnectingPoint num="34" id="3333" />
+<TGConnectingPoint num="35" id="3334" />
+<TGConnectingPoint num="36" id="3335" />
+<TGConnectingPoint num="37" id="3336" />
+<TGConnectingPoint num="38" id="3337" />
+<TGConnectingPoint num="39" id="3338" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3341" >
 <cdparam x="385" y="98" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3168" />
+<TGConnectingPoint num="0" id="3340" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="MainController" minX="10" maxX="2400" minY="10" maxY="1400" >
-<CONNECTOR type="5102" id="3176" >
+<CONNECTOR type="5102" id="3348" >
 <cdparam x="1197" y="514" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3175" />
-<P1  x="1192" y="524" id="3660" />
-<P2  x="1008" y="599" id="3858" />
+<TGConnectingPoint num="0" id="3347" />
+<P1  x="1192" y="524" id="3832" />
+<P2  x="1008" y="599" id="4030" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3174" >
-<father id="3176" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3346" >
+<father id="3348" num="0" />
 <cdparam x="1197" y="554" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3170" />
-<TGConnectingPoint num="1" id="3171" />
-<TGConnectingPoint num="2" id="3172" />
-<TGConnectingPoint num="3" id="3173" />
+<TGConnectingPoint num="0" id="3342" />
+<TGConnectingPoint num="1" id="3343" />
+<TGConnectingPoint num="2" id="3344" />
+<TGConnectingPoint num="3" id="3345" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7459,25 +7459,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3183" >
+<CONNECTOR type="5102" id="3355" >
 <cdparam x="1192" y="471" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3182" />
-<P1  x="1192" y="471" id="3434" />
-<P2  x="1192" y="494" id="3659" />
+<TGConnectingPoint num="0" id="3354" />
+<P1  x="1192" y="471" id="3606" />
+<P2  x="1192" y="494" id="3831" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3181" >
-<father id="3183" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3353" >
+<father id="3355" num="0" />
 <cdparam x="1192" y="511" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3177" />
-<TGConnectingPoint num="1" id="3178" />
-<TGConnectingPoint num="2" id="3179" />
-<TGConnectingPoint num="3" id="3180" />
+<TGConnectingPoint num="0" id="3349" />
+<TGConnectingPoint num="1" id="3350" />
+<TGConnectingPoint num="2" id="3351" />
+<TGConnectingPoint num="3" id="3352" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7487,25 +7487,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3190" >
+<CONNECTOR type="5102" id="3362" >
 <cdparam x="652" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3189" />
-<P1  x="652" y="649" id="3885" />
-<P2  x="483" y="834" id="3637" />
+<TGConnectingPoint num="0" id="3361" />
+<P1  x="652" y="649" id="4057" />
+<P2  x="483" y="834" id="3809" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3188" >
-<father id="3190" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3360" >
+<father id="3362" num="0" />
 <cdparam x="251" y="757" />
 <sizeparam width="506" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3184" />
-<TGConnectingPoint num="1" id="3185" />
-<TGConnectingPoint num="2" id="3186" />
-<TGConnectingPoint num="3" id="3187" />
+<TGConnectingPoint num="0" id="3356" />
+<TGConnectingPoint num="1" id="3357" />
+<TGConnectingPoint num="2" id="3358" />
+<TGConnectingPoint num="3" id="3359" />
 <extraparam>
 <guard value="[ (hasCurrentPicture == true) and ((currentPicture.bottom == false) and (mode == 2))]" />
 <afterMin value="" />
@@ -7515,25 +7515,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3197" >
+<CONNECTOR type="5102" id="3369" >
 <cdparam x="1719" y="948" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3196" />
-<P1  x="1720" y="948" id="3445" />
-<P2  x="1720" y="962" id="3512" />
+<TGConnectingPoint num="0" id="3368" />
+<P1  x="1720" y="948" id="3617" />
+<P2  x="1720" y="962" id="3684" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3195" >
-<father id="3197" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3367" >
+<father id="3369" num="0" />
 <cdparam x="1719" y="988" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3191" />
-<TGConnectingPoint num="1" id="3192" />
-<TGConnectingPoint num="2" id="3193" />
-<TGConnectingPoint num="3" id="3194" />
+<TGConnectingPoint num="0" id="3363" />
+<TGConnectingPoint num="1" id="3364" />
+<TGConnectingPoint num="2" id="3365" />
+<TGConnectingPoint num="3" id="3366" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7543,25 +7543,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3204" >
+<CONNECTOR type="5102" id="3376" >
 <cdparam x="1719" y="910" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3203" />
-<P1  x="1720" y="909" id="3501" />
-<P2  x="1720" y="918" id="3444" />
+<TGConnectingPoint num="0" id="3375" />
+<P1  x="1720" y="909" id="3673" />
+<P2  x="1720" y="918" id="3616" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3202" >
-<father id="3204" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3374" >
+<father id="3376" num="0" />
 <cdparam x="1844" y="908" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3198" />
-<TGConnectingPoint num="1" id="3199" />
-<TGConnectingPoint num="2" id="3200" />
-<TGConnectingPoint num="3" id="3201" />
+<TGConnectingPoint num="0" id="3370" />
+<TGConnectingPoint num="1" id="3371" />
+<TGConnectingPoint num="2" id="3372" />
+<TGConnectingPoint num="3" id="3373" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7571,25 +7571,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3211" >
+<CONNECTOR type="5102" id="3383" >
 <cdparam x="1725" y="798" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="3210" />
-<P1  x="1725" y="798" id="3457" />
-<P2  x="1775" y="859" id="3490" />
+<TGConnectingPoint num="0" id="3382" />
+<P1  x="1725" y="798" id="3629" />
+<P2  x="1775" y="859" id="3662" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3209" >
-<father id="3211" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3381" >
+<father id="3383" num="0" />
 <cdparam x="1753" y="811" />
 <sizeparam width="105" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3205" />
-<TGConnectingPoint num="1" id="3206" />
-<TGConnectingPoint num="2" id="3207" />
-<TGConnectingPoint num="3" id="3208" />
+<TGConnectingPoint num="0" id="3377" />
+<TGConnectingPoint num="1" id="3378" />
+<TGConnectingPoint num="2" id="3379" />
+<TGConnectingPoint num="3" id="3380" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7601,35 +7601,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3220" >
+<CONNECTOR type="5102" id="3392" >
 <cdparam x="1604" y="802" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="3218" />
-<TGConnectingPoint num="1" id="3219" />
-<P1  x="1561" y="718" id="3524" />
-<P2  x="1103" y="991" id="3841" />
+<TGConnectingPoint num="0" id="3390" />
+<TGConnectingPoint num="1" id="3391" />
+<P1  x="1561" y="718" id="3696" />
+<P2  x="1103" y="991" id="4013" />
 <Point x="1561" y="991" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3212" >
-<father id="3220" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3384" >
+<father id="3392" num="0" />
 <cdparam x="1561" y="991" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3217" >
-<father id="3220" num="1" />
+<SUBCOMPONENT type="-1" id="3389" >
+<father id="3392" num="1" />
 <cdparam x="1513" y="826" />
 <sizeparam width="39" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3213" />
-<TGConnectingPoint num="1" id="3214" />
-<TGConnectingPoint num="2" id="3215" />
-<TGConnectingPoint num="3" id="3216" />
+<TGConnectingPoint num="0" id="3385" />
+<TGConnectingPoint num="1" id="3386" />
+<TGConnectingPoint num="2" id="3387" />
+<TGConnectingPoint num="3" id="3388" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -7639,35 +7639,35 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3229" >
+<CONNECTOR type="5102" id="3401" >
 <cdparam x="1720" y="902" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3227" />
-<TGConnectingPoint num="1" id="3228" />
-<P1  x="1720" y="992" id="3513" />
-<P2  x="1103" y="1003" id="3842" />
+<TGConnectingPoint num="0" id="3399" />
+<TGConnectingPoint num="1" id="3400" />
+<P1  x="1720" y="992" id="3685" />
+<P2  x="1103" y="1003" id="4014" />
 <Point x="1720" y="1003" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3221" >
-<father id="3229" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3393" >
+<father id="3401" num="0" />
 <cdparam x="1720" y="1003" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3226" >
-<father id="3229" num="1" />
+<SUBCOMPONENT type="-1" id="3398" >
+<father id="3401" num="1" />
 <cdparam x="1720" y="942" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3222" />
-<TGConnectingPoint num="1" id="3223" />
-<TGConnectingPoint num="2" id="3224" />
-<TGConnectingPoint num="3" id="3225" />
+<TGConnectingPoint num="0" id="3394" />
+<TGConnectingPoint num="1" id="3395" />
+<TGConnectingPoint num="2" id="3396" />
+<TGConnectingPoint num="3" id="3397" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7677,25 +7677,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3236" >
+<CONNECTOR type="5102" id="3408" >
 <cdparam x="1654" y="802" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3235" />
-<P1  x="1611" y="718" id="3525" />
-<P2  x="1700" y="773" id="3455" />
+<TGConnectingPoint num="0" id="3407" />
+<P1  x="1611" y="718" id="3697" />
+<P2  x="1700" y="773" id="3627" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3234" >
-<father id="3236" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3406" >
+<father id="3408" num="0" />
 <cdparam x="1703" y="704" />
 <sizeparam width="207" height="75" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3230" />
-<TGConnectingPoint num="1" id="3231" />
-<TGConnectingPoint num="2" id="3232" />
-<TGConnectingPoint num="3" id="3233" />
+<TGConnectingPoint num="0" id="3402" />
+<TGConnectingPoint num="1" id="3403" />
+<TGConnectingPoint num="2" id="3404" />
+<TGConnectingPoint num="3" id="3405" />
 <extraparam>
 <guard value="[ (found==true) and (mode == 2)]" />
 <afterMin value="" />
@@ -7709,25 +7709,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3243" >
+<CONNECTOR type="5102" id="3415" >
 <cdparam x="1008" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="3242" />
-<P1  x="1008" y="649" id="3863" />
-<P2  x="1586" y="649" id="3539" />
+<TGConnectingPoint num="0" id="3414" />
+<P1  x="1008" y="649" id="4035" />
+<P2  x="1586" y="649" id="3711" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3241" >
-<father id="3243" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3413" >
+<father id="3415" num="0" />
 <cdparam x="1008" y="689" />
 <sizeparam width="81" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3237" />
-<TGConnectingPoint num="1" id="3238" />
-<TGConnectingPoint num="2" id="3239" />
-<TGConnectingPoint num="3" id="3240" />
+<TGConnectingPoint num="0" id="3409" />
+<TGConnectingPoint num="1" id="3410" />
+<TGConnectingPoint num="2" id="3411" />
+<TGConnectingPoint num="3" id="3412" />
 <extraparam>
 <guard value="[ mode == 2]" />
 <afterMin value="" />
@@ -7737,25 +7737,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3250" >
+<CONNECTOR type="5102" id="3422" >
 <cdparam x="1249" y="982" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3249" />
-<P1  x="1249" y="985" id="3567" />
-<P2  x="1103" y="985" id="3819" />
+<TGConnectingPoint num="0" id="3421" />
+<P1  x="1249" y="985" id="3739" />
+<P2  x="1103" y="985" id="3991" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3248" >
-<father id="3250" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3420" >
+<father id="3422" num="0" />
 <cdparam x="1249" y="1022" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3244" />
-<TGConnectingPoint num="1" id="3245" />
-<TGConnectingPoint num="2" id="3246" />
-<TGConnectingPoint num="3" id="3247" />
+<TGConnectingPoint num="0" id="3416" />
+<TGConnectingPoint num="1" id="3417" />
+<TGConnectingPoint num="2" id="3418" />
+<TGConnectingPoint num="3" id="3419" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7765,25 +7765,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3257" >
+<CONNECTOR type="5102" id="3429" >
 <cdparam x="1224" y="789" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="3256" />
-<P1  x="1224" y="789" id="3551" />
-<P2  x="1103" y="960" id="3817" />
+<TGConnectingPoint num="0" id="3428" />
+<P1  x="1224" y="789" id="3723" />
+<P2  x="1103" y="960" id="3989" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3255" >
-<father id="3257" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3427" >
+<father id="3429" num="0" />
 <cdparam x="1134" y="832" />
 <sizeparam width="172" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3251" />
-<TGConnectingPoint num="1" id="3252" />
-<TGConnectingPoint num="2" id="3253" />
-<TGConnectingPoint num="3" id="3254" />
+<TGConnectingPoint num="0" id="3423" />
+<TGConnectingPoint num="1" id="3424" />
+<TGConnectingPoint num="2" id="3425" />
+<TGConnectingPoint num="3" id="3426" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -7793,25 +7793,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3264" >
+<CONNECTOR type="5102" id="3436" >
 <cdparam x="1249" y="814" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3263" />
-<P1  x="1249" y="814" id="3553" />
-<P2  x="1249" y="955" id="3566" />
+<TGConnectingPoint num="0" id="3435" />
+<P1  x="1249" y="814" id="3725" />
+<P2  x="1249" y="955" id="3738" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3262" >
-<father id="3264" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3434" >
+<father id="3436" num="0" />
 <cdparam x="1258" y="833" />
 <sizeparam width="215" height="75" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3258" />
-<TGConnectingPoint num="1" id="3259" />
-<TGConnectingPoint num="2" id="3260" />
-<TGConnectingPoint num="3" id="3261" />
+<TGConnectingPoint num="0" id="3430" />
+<TGConnectingPoint num="1" id="3431" />
+<TGConnectingPoint num="2" id="3432" />
+<TGConnectingPoint num="3" id="3433" />
 <extraparam>
 <guard value="[ (found == true) and (mode == 2) ]" />
 <afterMin value="" />
@@ -7825,25 +7825,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3271" >
+<CONNECTOR type="5102" id="3443" >
 <cdparam x="725" y="791" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="3270" />
-<P1  x="725" y="791" id="3591" />
-<P2  x="853" y="960" id="3824" />
+<TGConnectingPoint num="0" id="3442" />
+<P1  x="725" y="791" id="3763" />
+<P2  x="853" y="960" id="3996" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3269" >
-<father id="3271" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3441" >
+<father id="3443" num="0" />
 <cdparam x="715" y="853" />
 <sizeparam width="190" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3265" />
-<TGConnectingPoint num="1" id="3266" />
-<TGConnectingPoint num="2" id="3267" />
-<TGConnectingPoint num="3" id="3268" />
+<TGConnectingPoint num="0" id="3437" />
+<TGConnectingPoint num="1" id="3438" />
+<TGConnectingPoint num="2" id="3439" />
+<TGConnectingPoint num="3" id="3440" />
 <extraparam>
 <guard value="[ (mode == 2) or (mode == 4) ]" />
 <afterMin value="" />
@@ -7853,25 +7853,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3278" >
+<CONNECTOR type="5102" id="3450" >
 <cdparam x="750" y="766" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="3277" />
-<P1  x="750" y="766" id="3590" />
-<P2  x="991" y="858" id="3898" />
+<TGConnectingPoint num="0" id="3449" />
+<P1  x="750" y="766" id="3762" />
+<P2  x="991" y="858" id="4070" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3276" >
-<father id="3278" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3448" >
+<father id="3450" num="0" />
 <cdparam x="790" y="767" />
 <sizeparam width="81" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3272" />
-<TGConnectingPoint num="1" id="3273" />
-<TGConnectingPoint num="2" id="3274" />
-<TGConnectingPoint num="3" id="3275" />
+<TGConnectingPoint num="0" id="3444" />
+<TGConnectingPoint num="1" id="3445" />
+<TGConnectingPoint num="2" id="3446" />
+<TGConnectingPoint num="3" id="3447" />
 <extraparam>
 <guard value="[ mode == 3]" />
 <afterMin value="" />
@@ -7882,25 +7882,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3285" >
+<CONNECTOR type="5102" id="3457" >
 <cdparam x="882" y="767" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="3284" />
-<P1  x="700" y="766" id="3589" />
-<P2  x="603" y="960" id="3816" />
+<TGConnectingPoint num="0" id="3456" />
+<P1  x="700" y="766" id="3761" />
+<P2  x="603" y="960" id="3988" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3283" >
-<father id="3285" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3455" >
+<father id="3457" num="0" />
 <cdparam x="531" y="815" />
 <sizeparam width="291" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3279" />
-<TGConnectingPoint num="1" id="3280" />
-<TGConnectingPoint num="2" id="3281" />
-<TGConnectingPoint num="3" id="3282" />
+<TGConnectingPoint num="0" id="3451" />
+<TGConnectingPoint num="1" id="3452" />
+<TGConnectingPoint num="2" id="3453" />
+<TGConnectingPoint num="3" id="3454" />
 <extraparam>
 <guard value="[ (mode == 1) or ((mode == 5) or (mode == 6))]" />
 <afterMin value="" />
@@ -7911,25 +7911,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3292" >
+<CONNECTOR type="5102" id="3464" >
 <cdparam x="726" y="378" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3291" />
-<P1  x="726" y="400" id="3616" />
-<P2  x="726" y="457" id="3740" />
+<TGConnectingPoint num="0" id="3463" />
+<P1  x="726" y="400" id="3788" />
+<P2  x="726" y="457" id="3912" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3290" >
-<father id="3292" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3462" >
+<father id="3464" num="0" />
 <cdparam x="726" y="418" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3286" />
-<TGConnectingPoint num="1" id="3287" />
-<TGConnectingPoint num="2" id="3288" />
-<TGConnectingPoint num="3" id="3289" />
+<TGConnectingPoint num="0" id="3458" />
+<TGConnectingPoint num="1" id="3459" />
+<TGConnectingPoint num="2" id="3460" />
+<TGConnectingPoint num="3" id="3461" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7939,25 +7939,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3299" >
+<CONNECTOR type="5102" id="3471" >
 <cdparam x="473" y="864" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3298" />
-<P1  x="483" y="864" id="3638" />
-<P2  x="473" y="960" id="3832" />
+<TGConnectingPoint num="0" id="3470" />
+<P1  x="483" y="864" id="3810" />
+<P2  x="473" y="960" id="4004" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3297" >
-<father id="3299" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3469" >
+<father id="3471" num="0" />
 <cdparam x="445" y="902" />
 <sizeparam width="147" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3293" />
-<TGConnectingPoint num="1" id="3294" />
-<TGConnectingPoint num="2" id="3295" />
-<TGConnectingPoint num="3" id="3296" />
+<TGConnectingPoint num="0" id="3465" />
+<TGConnectingPoint num="1" id="3466" />
+<TGConnectingPoint num="2" id="3467" />
+<TGConnectingPoint num="3" id="3468" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7968,25 +7968,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3306" >
+<CONNECTOR type="5102" id="3478" >
 <cdparam x="212" y="864" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3305" />
-<P1  x="223" y="865" id="3649" />
-<P2  x="223" y="960" id="3831" />
+<TGConnectingPoint num="0" id="3477" />
+<P1  x="223" y="865" id="3821" />
+<P2  x="223" y="960" id="4003" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3304" >
-<father id="3306" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3476" >
+<father id="3478" num="0" />
 <cdparam x="212" y="904" />
 <sizeparam width="147" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3300" />
-<TGConnectingPoint num="1" id="3301" />
-<TGConnectingPoint num="2" id="3302" />
-<TGConnectingPoint num="3" id="3303" />
+<TGConnectingPoint num="0" id="3472" />
+<TGConnectingPoint num="1" id="3473" />
+<TGConnectingPoint num="2" id="3474" />
+<TGConnectingPoint num="3" id="3475" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -7997,25 +7997,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3313" >
+<CONNECTOR type="5102" id="3485" >
 <cdparam x="778" y="482" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="3312" />
-<P1  x="776" y="482" id="3743" />
-<P2  x="1106" y="370" id="3701" />
+<TGConnectingPoint num="0" id="3484" />
+<P1  x="776" y="482" id="3915" />
+<P2  x="1106" y="370" id="3873" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3311" >
-<father id="3313" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3483" >
+<father id="3485" num="0" />
 <cdparam x="937" y="456" />
 <sizeparam width="59" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3307" />
-<TGConnectingPoint num="1" id="3308" />
-<TGConnectingPoint num="2" id="3309" />
-<TGConnectingPoint num="3" id="3310" />
+<TGConnectingPoint num="0" id="3479" />
+<TGConnectingPoint num="1" id="3480" />
+<TGConnectingPoint num="2" id="3481" />
+<TGConnectingPoint num="3" id="3482" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -8026,25 +8026,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3320" >
+<CONNECTOR type="5102" id="3492" >
 <cdparam x="727" y="37" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="3319" />
-<P1  x="727" y="37" id="3813" />
-<P2  x="727" y="75" id="3939" />
+<TGConnectingPoint num="0" id="3491" />
+<P1  x="727" y="37" id="3985" />
+<P2  x="727" y="75" id="4111" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3318" >
-<father id="3320" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3490" >
+<father id="3492" num="0" />
 <cdparam x="733" y="59" />
 <sizeparam width="59" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3314" />
-<TGConnectingPoint num="1" id="3315" />
-<TGConnectingPoint num="2" id="3316" />
-<TGConnectingPoint num="3" id="3317" />
+<TGConnectingPoint num="0" id="3486" />
+<TGConnectingPoint num="1" id="3487" />
+<TGConnectingPoint num="2" id="3488" />
+<TGConnectingPoint num="3" id="3489" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8055,25 +8055,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3327" >
+<CONNECTOR type="5102" id="3499" >
 <cdparam x="745" y="119" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="3326" />
-<P1  x="727" y="125" id="3944" />
-<P2  x="727" y="150" id="3802" />
+<TGConnectingPoint num="0" id="3498" />
+<P1  x="727" y="125" id="4116" />
+<P2  x="727" y="150" id="3974" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3325" >
-<father id="3327" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3497" >
+<father id="3499" num="0" />
 <cdparam x="745" y="159" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3321" />
-<TGConnectingPoint num="1" id="3322" />
-<TGConnectingPoint num="2" id="3323" />
-<TGConnectingPoint num="3" id="3324" />
+<TGConnectingPoint num="0" id="3493" />
+<TGConnectingPoint num="1" id="3494" />
+<TGConnectingPoint num="2" id="3495" />
+<TGConnectingPoint num="3" id="3496" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8083,25 +8083,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3334" >
+<CONNECTOR type="5102" id="3506" >
 <cdparam x="727" y="257" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3333" />
-<P1  x="727" y="180" id="3803" />
-<P2  x="727" y="204" id="3791" />
+<TGConnectingPoint num="0" id="3505" />
+<P1  x="727" y="180" id="3975" />
+<P2  x="727" y="204" id="3963" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3332" >
-<father id="3334" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3504" >
+<father id="3506" num="0" />
 <cdparam x="746" y="191" />
 <sizeparam width="147" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3328" />
-<TGConnectingPoint num="1" id="3329" />
-<TGConnectingPoint num="2" id="3330" />
-<TGConnectingPoint num="3" id="3331" />
+<TGConnectingPoint num="0" id="3500" />
+<TGConnectingPoint num="1" id="3501" />
+<TGConnectingPoint num="2" id="3502" />
+<TGConnectingPoint num="3" id="3503" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8113,25 +8113,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3341" >
+<CONNECTOR type="5102" id="3513" >
 <cdparam x="728" y="308" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3340" />
-<P1  x="727" y="234" id="3792" />
-<P2  x="726" y="254" id="3626" />
+<TGConnectingPoint num="0" id="3512" />
+<P1  x="727" y="234" id="3964" />
+<P2  x="726" y="254" id="3798" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3339" >
-<father id="3341" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3511" >
+<father id="3513" num="0" />
 <cdparam x="728" y="348" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3335" />
-<TGConnectingPoint num="1" id="3336" />
-<TGConnectingPoint num="2" id="3337" />
-<TGConnectingPoint num="3" id="3338" />
+<TGConnectingPoint num="0" id="3507" />
+<TGConnectingPoint num="1" id="3508" />
+<TGConnectingPoint num="2" id="3509" />
+<TGConnectingPoint num="3" id="3510" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8141,25 +8141,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3348" >
+<CONNECTOR type="5102" id="3520" >
 <cdparam x="447" y="644" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="3347" />
-<P1  x="511" y="649" id="3884" />
-<P2  x="246" y="710" id="3780" />
+<TGConnectingPoint num="0" id="3519" />
+<P1  x="511" y="649" id="4056" />
+<P2  x="246" y="710" id="3952" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3346" >
-<father id="3348" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3518" >
+<father id="3520" num="0" />
 <cdparam x="122" y="687" />
 <sizeparam width="276" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3342" />
-<TGConnectingPoint num="1" id="3343" />
-<TGConnectingPoint num="2" id="3344" />
-<TGConnectingPoint num="3" id="3345" />
+<TGConnectingPoint num="0" id="3514" />
+<TGConnectingPoint num="1" id="3515" />
+<TGConnectingPoint num="2" id="3516" />
+<TGConnectingPoint num="3" id="3517" />
 <extraparam>
 <guard value="[ (mode == 2) and (hasCurrentPicture==false)]" />
 <afterMin value="" />
@@ -8169,25 +8169,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3355" >
+<CONNECTOR type="5102" id="3527" >
 <cdparam x="833" y="512" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="3354" />
-<P1  x="726" y="507" id="3745" />
-<P2  x="726" y="599" id="3857" />
+<TGConnectingPoint num="0" id="3526" />
+<P1  x="726" y="507" id="3917" />
+<P2  x="726" y="599" id="4029" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3353" >
-<father id="3355" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3525" >
+<father id="3527" num="0" />
 <cdparam x="735" y="553" />
 <sizeparam width="121" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3349" />
-<TGConnectingPoint num="1" id="3350" />
-<TGConnectingPoint num="2" id="3351" />
-<TGConnectingPoint num="3" id="3352" />
+<TGConnectingPoint num="0" id="3521" />
+<TGConnectingPoint num="1" id="3522" />
+<TGConnectingPoint num="2" id="3523" />
+<TGConnectingPoint num="3" id="3524" />
 <extraparam>
 <guard value="[nbOfCrossings &gt; 0 ]" />
 <afterMin value="" />
@@ -8197,25 +8197,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3362" >
+<CONNECTOR type="5102" id="3534" >
 <cdparam x="1192" y="395" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3361" />
-<P1  x="1192" y="395" id="3704" />
-<P2  x="1192" y="406" id="3687" />
+<TGConnectingPoint num="0" id="3533" />
+<P1  x="1192" y="395" id="3876" />
+<P2  x="1192" y="406" id="3859" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3360" >
-<father id="3362" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3532" >
+<father id="3534" num="0" />
 <cdparam x="1192" y="434" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3356" />
-<TGConnectingPoint num="1" id="3357" />
-<TGConnectingPoint num="2" id="3358" />
-<TGConnectingPoint num="3" id="3359" />
+<TGConnectingPoint num="0" id="3528" />
+<TGConnectingPoint num="1" id="3529" />
+<TGConnectingPoint num="2" id="3530" />
+<TGConnectingPoint num="3" id="3531" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8225,25 +8225,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3369" >
+<CONNECTOR type="5102" id="3541" >
 <cdparam x="1192" y="454" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3368" />
-<P1  x="1192" y="436" id="3688" />
-<P2  x="1192" y="441" id="3433" />
+<TGConnectingPoint num="0" id="3540" />
+<P1  x="1192" y="436" id="3860" />
+<P2  x="1192" y="441" id="3605" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3367" >
-<father id="3369" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3539" >
+<father id="3541" num="0" />
 <cdparam x="1242" y="483" />
 <sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3363" />
-<TGConnectingPoint num="1" id="3364" />
-<TGConnectingPoint num="2" id="3365" />
-<TGConnectingPoint num="3" id="3366" />
+<TGConnectingPoint num="0" id="3535" />
+<TGConnectingPoint num="1" id="3536" />
+<TGConnectingPoint num="2" id="3537" />
+<TGConnectingPoint num="3" id="3538" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8254,25 +8254,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3376" >
+<CONNECTOR type="5102" id="3548" >
 <cdparam x="358" y="739" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to choice" value="null" />
-<TGConnectingPoint num="0" id="3375" />
-<P1  x="246" y="740" id="3781" />
-<P2  x="103" y="960" id="3815" />
+<TGConnectingPoint num="0" id="3547" />
+<P1  x="246" y="740" id="3953" />
+<P2  x="103" y="960" id="3987" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3374" >
-<father id="3376" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3546" >
+<father id="3548" num="0" />
 <cdparam x="64" y="819" />
 <sizeparam width="143" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3370" />
-<TGConnectingPoint num="1" id="3371" />
-<TGConnectingPoint num="2" id="3372" />
-<TGConnectingPoint num="3" id="3373" />
+<TGConnectingPoint num="0" id="3542" />
+<TGConnectingPoint num="1" id="3543" />
+<TGConnectingPoint num="2" id="3544" />
+<TGConnectingPoint num="3" id="3545" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8283,25 +8283,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3383" >
+<CONNECTOR type="5102" id="3555" >
 <cdparam x="333" y="792" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3382" />
-<P1  x="585" y="649" id="3870" />
-<P2  x="223" y="835" id="3648" />
+<TGConnectingPoint num="0" id="3554" />
+<P1  x="585" y="649" id="4042" />
+<P2  x="223" y="835" id="3820" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3381" >
-<father id="3383" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3553" >
+<father id="3555" num="0" />
 <cdparam x="82" y="789" />
 <sizeparam width="502" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3377" />
-<TGConnectingPoint num="1" id="3378" />
-<TGConnectingPoint num="2" id="3379" />
-<TGConnectingPoint num="3" id="3380" />
+<TGConnectingPoint num="0" id="3549" />
+<TGConnectingPoint num="1" id="3550" />
+<TGConnectingPoint num="2" id="3551" />
+<TGConnectingPoint num="3" id="3552" />
 <extraparam>
 <guard value="[ (hasCurrentPicture == true) and ((currentPicture.bottom == true) and (mode == 2))]" />
 <afterMin value="" />
@@ -8311,25 +8311,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3390" >
+<CONNECTOR type="5102" id="3562" >
 <cdparam x="726" y="284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3389" />
-<P1  x="726" y="284" id="3627" />
-<P2  x="726" y="370" id="3615" />
+<TGConnectingPoint num="0" id="3561" />
+<P1  x="726" y="284" id="3799" />
+<P2  x="726" y="370" id="3787" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3388" >
-<father id="3390" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3560" >
+<father id="3562" num="0" />
 <cdparam x="733" y="319" />
 <sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3384" />
-<TGConnectingPoint num="1" id="3385" />
-<TGConnectingPoint num="2" id="3386" />
-<TGConnectingPoint num="3" id="3387" />
+<TGConnectingPoint num="0" id="3556" />
+<TGConnectingPoint num="1" id="3557" />
+<TGConnectingPoint num="2" id="3558" />
+<TGConnectingPoint num="3" id="3559" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8340,25 +8340,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3397" >
+<CONNECTOR type="5102" id="3569" >
 <cdparam x="867" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Reset timer" value="null" />
-<TGConnectingPoint num="0" id="3396" />
-<P1  x="726" y="649" id="3862" />
-<P2  x="726" y="693" id="3604" />
+<TGConnectingPoint num="0" id="3568" />
+<P1  x="726" y="649" id="4034" />
+<P2  x="726" y="693" id="3776" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3395" >
-<father id="3397" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3567" >
+<father id="3569" num="0" />
 <cdparam x="867" y="689" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3391" />
-<TGConnectingPoint num="1" id="3392" />
-<TGConnectingPoint num="2" id="3393" />
-<TGConnectingPoint num="3" id="3394" />
+<TGConnectingPoint num="0" id="3563" />
+<TGConnectingPoint num="1" id="3564" />
+<TGConnectingPoint num="2" id="3565" />
+<TGConnectingPoint num="3" id="3566" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8368,25 +8368,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3404" >
+<CONNECTOR type="5102" id="3576" >
 <cdparam x="907" y="725" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Reset timer to choice" value="null" />
-<TGConnectingPoint num="0" id="3403" />
-<P1  x="726" y="723" id="3605" />
-<P2  x="725" y="741" id="3588" />
+<TGConnectingPoint num="0" id="3575" />
+<P1  x="726" y="723" id="3777" />
+<P2  x="725" y="741" id="3760" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3402" >
-<father id="3404" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3574" >
+<father id="3576" num="0" />
 <cdparam x="907" y="765" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3398" />
-<TGConnectingPoint num="1" id="3399" />
-<TGConnectingPoint num="2" id="3400" />
-<TGConnectingPoint num="3" id="3401" />
+<TGConnectingPoint num="0" id="3570" />
+<TGConnectingPoint num="1" id="3571" />
+<TGConnectingPoint num="2" id="3572" />
+<TGConnectingPoint num="3" id="3573" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8396,25 +8396,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3411" >
+<CONNECTOR type="5102" id="3583" >
 <cdparam x="1008" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="3410" />
-<P1  x="934" y="649" id="3887" />
-<P2  x="1250" y="706" id="3577" />
+<TGConnectingPoint num="0" id="3582" />
+<P1  x="934" y="649" id="4059" />
+<P2  x="1250" y="706" id="3749" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3409" >
-<father id="3411" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3581" >
+<father id="3583" num="0" />
 <cdparam x="1008" y="689" />
 <sizeparam width="81" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3405" />
-<TGConnectingPoint num="1" id="3406" />
-<TGConnectingPoint num="2" id="3407" />
-<TGConnectingPoint num="3" id="3408" />
+<TGConnectingPoint num="0" id="3577" />
+<TGConnectingPoint num="1" id="3578" />
+<TGConnectingPoint num="2" id="3579" />
+<TGConnectingPoint num="3" id="3580" />
 <extraparam>
 <guard value="[ mode == 2]" />
 <afterMin value="" />
@@ -8424,25 +8424,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3418" >
+<CONNECTOR type="5102" id="3590" >
 <cdparam x="1250" y="736" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3417" />
-<P1  x="1250" y="736" id="3578" />
-<P2  x="1249" y="764" id="3550" />
+<TGConnectingPoint num="0" id="3589" />
+<P1  x="1250" y="736" id="3750" />
+<P2  x="1249" y="764" id="3722" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3416" >
-<father id="3418" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3588" >
+<father id="3590" num="0" />
 <cdparam x="1250" y="776" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3412" />
-<TGConnectingPoint num="1" id="3413" />
-<TGConnectingPoint num="2" id="3414" />
-<TGConnectingPoint num="3" id="3415" />
+<TGConnectingPoint num="0" id="3584" />
+<TGConnectingPoint num="1" id="3585" />
+<TGConnectingPoint num="2" id="3586" />
+<TGConnectingPoint num="3" id="3587" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8452,25 +8452,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3425" >
+<CONNECTOR type="5102" id="3597" >
 <cdparam x="1585" y="734" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to choice" value="null" />
-<TGConnectingPoint num="0" id="3424" />
-<P1  x="1586" y="679" id="3540" />
-<P2  x="1586" y="693" id="3523" />
+<TGConnectingPoint num="0" id="3596" />
+<P1  x="1586" y="679" id="3712" />
+<P2  x="1586" y="693" id="3695" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3423" >
-<father id="3425" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3595" >
+<father id="3597" num="0" />
 <cdparam x="1585" y="774" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3419" />
-<TGConnectingPoint num="1" id="3420" />
-<TGConnectingPoint num="2" id="3421" />
-<TGConnectingPoint num="3" id="3422" />
+<TGConnectingPoint num="0" id="3591" />
+<TGConnectingPoint num="1" id="3592" />
+<TGConnectingPoint num="2" id="3593" />
+<TGConnectingPoint num="3" id="3594" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8480,25 +8480,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3432" >
+<CONNECTOR type="5102" id="3604" >
 <cdparam x="1728" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3431" />
-<P1  x="1675" y="798" id="3456" />
-<P2  x="1639" y="859" id="3479" />
+<TGConnectingPoint num="0" id="3603" />
+<P1  x="1675" y="798" id="3628" />
+<P2  x="1639" y="859" id="3651" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3430" >
-<father id="3432" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3602" >
+<father id="3604" num="0" />
 <cdparam x="1555" y="813" />
 <sizeparam width="105" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3426" />
-<TGConnectingPoint num="1" id="3427" />
-<TGConnectingPoint num="2" id="3428" />
-<TGConnectingPoint num="3" id="3429" />
+<TGConnectingPoint num="0" id="3598" />
+<TGConnectingPoint num="1" id="3599" />
+<TGConnectingPoint num="2" id="3600" />
+<TGConnectingPoint num="3" id="3601" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -8510,365 +8510,365 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5109" id="3443" >
+<COMPONENT type="5109" id="3615" >
 <cdparam x="1063" y="446" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="3433" />
-<TGConnectingPoint num="1" id="3434" />
-<TGConnectingPoint num="2" id="3435" />
-<TGConnectingPoint num="3" id="3436" />
-<TGConnectingPoint num="4" id="3437" />
-<TGConnectingPoint num="5" id="3438" />
-<TGConnectingPoint num="6" id="3439" />
-<TGConnectingPoint num="7" id="3440" />
-<TGConnectingPoint num="8" id="3441" />
-<TGConnectingPoint num="9" id="3442" />
-</COMPONENT>
-
-<COMPONENT type="5109" id="3454" >
+<TGConnectingPoint num="0" id="3605" />
+<TGConnectingPoint num="1" id="3606" />
+<TGConnectingPoint num="2" id="3607" />
+<TGConnectingPoint num="3" id="3608" />
+<TGConnectingPoint num="4" id="3609" />
+<TGConnectingPoint num="5" id="3610" />
+<TGConnectingPoint num="6" id="3611" />
+<TGConnectingPoint num="7" id="3612" />
+<TGConnectingPoint num="8" id="3613" />
+<TGConnectingPoint num="9" id="3614" />
+</COMPONENT>
+
+<COMPONENT type="5109" id="3626" >
 <cdparam x="1591" y="923" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="3444" />
-<TGConnectingPoint num="1" id="3445" />
-<TGConnectingPoint num="2" id="3446" />
-<TGConnectingPoint num="3" id="3447" />
-<TGConnectingPoint num="4" id="3448" />
-<TGConnectingPoint num="5" id="3449" />
-<TGConnectingPoint num="6" id="3450" />
-<TGConnectingPoint num="7" id="3451" />
-<TGConnectingPoint num="8" id="3452" />
-<TGConnectingPoint num="9" id="3453" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="3470" >
+<TGConnectingPoint num="0" id="3616" />
+<TGConnectingPoint num="1" id="3617" />
+<TGConnectingPoint num="2" id="3618" />
+<TGConnectingPoint num="3" id="3619" />
+<TGConnectingPoint num="4" id="3620" />
+<TGConnectingPoint num="5" id="3621" />
+<TGConnectingPoint num="6" id="3622" />
+<TGConnectingPoint num="7" id="3623" />
+<TGConnectingPoint num="8" id="3624" />
+<TGConnectingPoint num="9" id="3625" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="3642" >
 <cdparam x="1685" y="783" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="3455" />
-<TGConnectingPoint num="1" id="3456" />
-<TGConnectingPoint num="2" id="3457" />
-<TGConnectingPoint num="3" id="3458" />
-<TGConnectingPoint num="4" id="3459" />
-<TGConnectingPoint num="5" id="3460" />
-<TGConnectingPoint num="6" id="3461" />
-<TGConnectingPoint num="7" id="3462" />
-<TGConnectingPoint num="8" id="3463" />
-<TGConnectingPoint num="9" id="3464" />
-<TGConnectingPoint num="10" id="3465" />
-<TGConnectingPoint num="11" id="3466" />
-<TGConnectingPoint num="12" id="3467" />
-<TGConnectingPoint num="13" id="3468" />
-<TGConnectingPoint num="14" id="3469" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3511" >
+<TGConnectingPoint num="0" id="3627" />
+<TGConnectingPoint num="1" id="3628" />
+<TGConnectingPoint num="2" id="3629" />
+<TGConnectingPoint num="3" id="3630" />
+<TGConnectingPoint num="4" id="3631" />
+<TGConnectingPoint num="5" id="3632" />
+<TGConnectingPoint num="6" id="3633" />
+<TGConnectingPoint num="7" id="3634" />
+<TGConnectingPoint num="8" id="3635" />
+<TGConnectingPoint num="9" id="3636" />
+<TGConnectingPoint num="10" id="3637" />
+<TGConnectingPoint num="11" id="3638" />
+<TGConnectingPoint num="12" id="3639" />
+<TGConnectingPoint num="13" id="3640" />
+<TGConnectingPoint num="14" id="3641" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3683" >
 <cdparam x="1585" y="859" />
 <sizeparam width="219" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="SendingTurnCommand" />
-<TGConnectingPoint num="0" id="3471" />
-<TGConnectingPoint num="1" id="3472" />
-<TGConnectingPoint num="2" id="3473" />
-<TGConnectingPoint num="3" id="3474" />
-<TGConnectingPoint num="4" id="3475" />
-<TGConnectingPoint num="5" id="3476" />
-<TGConnectingPoint num="6" id="3477" />
-<TGConnectingPoint num="7" id="3478" />
-<TGConnectingPoint num="8" id="3479" />
-<TGConnectingPoint num="9" id="3480" />
-<TGConnectingPoint num="10" id="3481" />
-<TGConnectingPoint num="11" id="3482" />
-<TGConnectingPoint num="12" id="3483" />
-<TGConnectingPoint num="13" id="3484" />
-<TGConnectingPoint num="14" id="3485" />
-<TGConnectingPoint num="15" id="3486" />
-<TGConnectingPoint num="16" id="3487" />
-<TGConnectingPoint num="17" id="3488" />
-<TGConnectingPoint num="18" id="3489" />
-<TGConnectingPoint num="19" id="3490" />
-<TGConnectingPoint num="20" id="3491" />
-<TGConnectingPoint num="21" id="3492" />
-<TGConnectingPoint num="22" id="3493" />
-<TGConnectingPoint num="23" id="3494" />
-<TGConnectingPoint num="24" id="3495" />
-<TGConnectingPoint num="25" id="3496" />
-<TGConnectingPoint num="26" id="3497" />
-<TGConnectingPoint num="27" id="3498" />
-<TGConnectingPoint num="28" id="3499" />
-<TGConnectingPoint num="29" id="3500" />
-<TGConnectingPoint num="30" id="3501" />
-<TGConnectingPoint num="31" id="3502" />
-<TGConnectingPoint num="32" id="3503" />
-<TGConnectingPoint num="33" id="3504" />
-<TGConnectingPoint num="34" id="3505" />
-<TGConnectingPoint num="35" id="3506" />
-<TGConnectingPoint num="36" id="3507" />
-<TGConnectingPoint num="37" id="3508" />
-<TGConnectingPoint num="38" id="3509" />
-<TGConnectingPoint num="39" id="3510" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="3522" >
+<TGConnectingPoint num="0" id="3643" />
+<TGConnectingPoint num="1" id="3644" />
+<TGConnectingPoint num="2" id="3645" />
+<TGConnectingPoint num="3" id="3646" />
+<TGConnectingPoint num="4" id="3647" />
+<TGConnectingPoint num="5" id="3648" />
+<TGConnectingPoint num="6" id="3649" />
+<TGConnectingPoint num="7" id="3650" />
+<TGConnectingPoint num="8" id="3651" />
+<TGConnectingPoint num="9" id="3652" />
+<TGConnectingPoint num="10" id="3653" />
+<TGConnectingPoint num="11" id="3654" />
+<TGConnectingPoint num="12" id="3655" />
+<TGConnectingPoint num="13" id="3656" />
+<TGConnectingPoint num="14" id="3657" />
+<TGConnectingPoint num="15" id="3658" />
+<TGConnectingPoint num="16" id="3659" />
+<TGConnectingPoint num="17" id="3660" />
+<TGConnectingPoint num="18" id="3661" />
+<TGConnectingPoint num="19" id="3662" />
+<TGConnectingPoint num="20" id="3663" />
+<TGConnectingPoint num="21" id="3664" />
+<TGConnectingPoint num="22" id="3665" />
+<TGConnectingPoint num="23" id="3666" />
+<TGConnectingPoint num="24" id="3667" />
+<TGConnectingPoint num="25" id="3668" />
+<TGConnectingPoint num="26" id="3669" />
+<TGConnectingPoint num="27" id="3670" />
+<TGConnectingPoint num="28" id="3671" />
+<TGConnectingPoint num="29" id="3672" />
+<TGConnectingPoint num="30" id="3673" />
+<TGConnectingPoint num="31" id="3674" />
+<TGConnectingPoint num="32" id="3675" />
+<TGConnectingPoint num="33" id="3676" />
+<TGConnectingPoint num="34" id="3677" />
+<TGConnectingPoint num="35" id="3678" />
+<TGConnectingPoint num="36" id="3679" />
+<TGConnectingPoint num="37" id="3680" />
+<TGConnectingPoint num="38" id="3681" />
+<TGConnectingPoint num="39" id="3682" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="3694" >
 <cdparam x="1639" y="967" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="3512" />
-<TGConnectingPoint num="1" id="3513" />
-<TGConnectingPoint num="2" id="3514" />
-<TGConnectingPoint num="3" id="3515" />
-<TGConnectingPoint num="4" id="3516" />
-<TGConnectingPoint num="5" id="3517" />
-<TGConnectingPoint num="6" id="3518" />
-<TGConnectingPoint num="7" id="3519" />
-<TGConnectingPoint num="8" id="3520" />
-<TGConnectingPoint num="9" id="3521" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="3538" >
+<TGConnectingPoint num="0" id="3684" />
+<TGConnectingPoint num="1" id="3685" />
+<TGConnectingPoint num="2" id="3686" />
+<TGConnectingPoint num="3" id="3687" />
+<TGConnectingPoint num="4" id="3688" />
+<TGConnectingPoint num="5" id="3689" />
+<TGConnectingPoint num="6" id="3690" />
+<TGConnectingPoint num="7" id="3691" />
+<TGConnectingPoint num="8" id="3692" />
+<TGConnectingPoint num="9" id="3693" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="3710" >
 <cdparam x="1571" y="703" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="3523" />
-<TGConnectingPoint num="1" id="3524" />
-<TGConnectingPoint num="2" id="3525" />
-<TGConnectingPoint num="3" id="3526" />
-<TGConnectingPoint num="4" id="3527" />
-<TGConnectingPoint num="5" id="3528" />
-<TGConnectingPoint num="6" id="3529" />
-<TGConnectingPoint num="7" id="3530" />
-<TGConnectingPoint num="8" id="3531" />
-<TGConnectingPoint num="9" id="3532" />
-<TGConnectingPoint num="10" id="3533" />
-<TGConnectingPoint num="11" id="3534" />
-<TGConnectingPoint num="12" id="3535" />
-<TGConnectingPoint num="13" id="3536" />
-<TGConnectingPoint num="14" id="3537" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3549" >
+<TGConnectingPoint num="0" id="3695" />
+<TGConnectingPoint num="1" id="3696" />
+<TGConnectingPoint num="2" id="3697" />
+<TGConnectingPoint num="3" id="3698" />
+<TGConnectingPoint num="4" id="3699" />
+<TGConnectingPoint num="5" id="3700" />
+<TGConnectingPoint num="6" id="3701" />
+<TGConnectingPoint num="7" id="3702" />
+<TGConnectingPoint num="8" id="3703" />
+<TGConnectingPoint num="9" id="3704" />
+<TGConnectingPoint num="10" id="3705" />
+<TGConnectingPoint num="11" id="3706" />
+<TGConnectingPoint num="12" id="3707" />
+<TGConnectingPoint num="13" id="3708" />
+<TGConnectingPoint num="14" id="3709" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3721" >
 <cdparam x="1483" y="654" />
 <sizeparam width="206" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="resultCrossingRecognition(found)" />
-<TGConnectingPoint num="0" id="3539" />
-<TGConnectingPoint num="1" id="3540" />
-<TGConnectingPoint num="2" id="3541" />
-<TGConnectingPoint num="3" id="3542" />
-<TGConnectingPoint num="4" id="3543" />
-<TGConnectingPoint num="5" id="3544" />
-<TGConnectingPoint num="6" id="3545" />
-<TGConnectingPoint num="7" id="3546" />
-<TGConnectingPoint num="8" id="3547" />
-<TGConnectingPoint num="9" id="3548" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="3565" >
+<TGConnectingPoint num="0" id="3711" />
+<TGConnectingPoint num="1" id="3712" />
+<TGConnectingPoint num="2" id="3713" />
+<TGConnectingPoint num="3" id="3714" />
+<TGConnectingPoint num="4" id="3715" />
+<TGConnectingPoint num="5" id="3716" />
+<TGConnectingPoint num="6" id="3717" />
+<TGConnectingPoint num="7" id="3718" />
+<TGConnectingPoint num="8" id="3719" />
+<TGConnectingPoint num="9" id="3720" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="3737" >
 <cdparam x="1234" y="774" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="3550" />
-<TGConnectingPoint num="1" id="3551" />
-<TGConnectingPoint num="2" id="3552" />
-<TGConnectingPoint num="3" id="3553" />
-<TGConnectingPoint num="4" id="3554" />
-<TGConnectingPoint num="5" id="3555" />
-<TGConnectingPoint num="6" id="3556" />
-<TGConnectingPoint num="7" id="3557" />
-<TGConnectingPoint num="8" id="3558" />
-<TGConnectingPoint num="9" id="3559" />
-<TGConnectingPoint num="10" id="3560" />
-<TGConnectingPoint num="11" id="3561" />
-<TGConnectingPoint num="12" id="3562" />
-<TGConnectingPoint num="13" id="3563" />
-<TGConnectingPoint num="14" id="3564" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3576" >
+<TGConnectingPoint num="0" id="3722" />
+<TGConnectingPoint num="1" id="3723" />
+<TGConnectingPoint num="2" id="3724" />
+<TGConnectingPoint num="3" id="3725" />
+<TGConnectingPoint num="4" id="3726" />
+<TGConnectingPoint num="5" id="3727" />
+<TGConnectingPoint num="6" id="3728" />
+<TGConnectingPoint num="7" id="3729" />
+<TGConnectingPoint num="8" id="3730" />
+<TGConnectingPoint num="9" id="3731" />
+<TGConnectingPoint num="10" id="3732" />
+<TGConnectingPoint num="11" id="3733" />
+<TGConnectingPoint num="12" id="3734" />
+<TGConnectingPoint num="13" id="3735" />
+<TGConnectingPoint num="14" id="3736" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3748" >
 <cdparam x="1168" y="960" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="3566" />
-<TGConnectingPoint num="1" id="3567" />
-<TGConnectingPoint num="2" id="3568" />
-<TGConnectingPoint num="3" id="3569" />
-<TGConnectingPoint num="4" id="3570" />
-<TGConnectingPoint num="5" id="3571" />
-<TGConnectingPoint num="6" id="3572" />
-<TGConnectingPoint num="7" id="3573" />
-<TGConnectingPoint num="8" id="3574" />
-<TGConnectingPoint num="9" id="3575" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3587" >
+<TGConnectingPoint num="0" id="3738" />
+<TGConnectingPoint num="1" id="3739" />
+<TGConnectingPoint num="2" id="3740" />
+<TGConnectingPoint num="3" id="3741" />
+<TGConnectingPoint num="4" id="3742" />
+<TGConnectingPoint num="5" id="3743" />
+<TGConnectingPoint num="6" id="3744" />
+<TGConnectingPoint num="7" id="3745" />
+<TGConnectingPoint num="8" id="3746" />
+<TGConnectingPoint num="9" id="3747" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3759" >
 <cdparam x="1134" y="711" />
 <sizeparam width="233" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="resultLineRecognition(found, position)" />
-<TGConnectingPoint num="0" id="3577" />
-<TGConnectingPoint num="1" id="3578" />
-<TGConnectingPoint num="2" id="3579" />
-<TGConnectingPoint num="3" id="3580" />
-<TGConnectingPoint num="4" id="3581" />
-<TGConnectingPoint num="5" id="3582" />
-<TGConnectingPoint num="6" id="3583" />
-<TGConnectingPoint num="7" id="3584" />
-<TGConnectingPoint num="8" id="3585" />
-<TGConnectingPoint num="9" id="3586" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="3603" >
+<TGConnectingPoint num="0" id="3749" />
+<TGConnectingPoint num="1" id="3750" />
+<TGConnectingPoint num="2" id="3751" />
+<TGConnectingPoint num="3" id="3752" />
+<TGConnectingPoint num="4" id="3753" />
+<TGConnectingPoint num="5" id="3754" />
+<TGConnectingPoint num="6" id="3755" />
+<TGConnectingPoint num="7" id="3756" />
+<TGConnectingPoint num="8" id="3757" />
+<TGConnectingPoint num="9" id="3758" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="3775" >
 <cdparam x="710" y="751" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="3588" />
-<TGConnectingPoint num="1" id="3589" />
-<TGConnectingPoint num="2" id="3590" />
-<TGConnectingPoint num="3" id="3591" />
-<TGConnectingPoint num="4" id="3592" />
-<TGConnectingPoint num="5" id="3593" />
-<TGConnectingPoint num="6" id="3594" />
-<TGConnectingPoint num="7" id="3595" />
-<TGConnectingPoint num="8" id="3596" />
-<TGConnectingPoint num="9" id="3597" />
-<TGConnectingPoint num="10" id="3598" />
-<TGConnectingPoint num="11" id="3599" />
-<TGConnectingPoint num="12" id="3600" />
-<TGConnectingPoint num="13" id="3601" />
-<TGConnectingPoint num="14" id="3602" />
-</COMPONENT>
-
-<COMPONENT type="5111" id="3614" >
+<TGConnectingPoint num="0" id="3760" />
+<TGConnectingPoint num="1" id="3761" />
+<TGConnectingPoint num="2" id="3762" />
+<TGConnectingPoint num="3" id="3763" />
+<TGConnectingPoint num="4" id="3764" />
+<TGConnectingPoint num="5" id="3765" />
+<TGConnectingPoint num="6" id="3766" />
+<TGConnectingPoint num="7" id="3767" />
+<TGConnectingPoint num="8" id="3768" />
+<TGConnectingPoint num="9" id="3769" />
+<TGConnectingPoint num="10" id="3770" />
+<TGConnectingPoint num="11" id="3771" />
+<TGConnectingPoint num="12" id="3772" />
+<TGConnectingPoint num="13" id="3773" />
+<TGConnectingPoint num="14" id="3774" />
+</COMPONENT>
+
+<COMPONENT type="5111" id="3786" >
 <cdparam x="647" y="698" />
 <sizeparam width="159" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Reset timer" value="expire(movementTimer)" />
-<TGConnectingPoint num="0" id="3604" />
-<TGConnectingPoint num="1" id="3605" />
-<TGConnectingPoint num="2" id="3606" />
-<TGConnectingPoint num="3" id="3607" />
-<TGConnectingPoint num="4" id="3608" />
-<TGConnectingPoint num="5" id="3609" />
-<TGConnectingPoint num="6" id="3610" />
-<TGConnectingPoint num="7" id="3611" />
-<TGConnectingPoint num="8" id="3612" />
-<TGConnectingPoint num="9" id="3613" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3625" >
+<TGConnectingPoint num="0" id="3776" />
+<TGConnectingPoint num="1" id="3777" />
+<TGConnectingPoint num="2" id="3778" />
+<TGConnectingPoint num="3" id="3779" />
+<TGConnectingPoint num="4" id="3780" />
+<TGConnectingPoint num="5" id="3781" />
+<TGConnectingPoint num="6" id="3782" />
+<TGConnectingPoint num="7" id="3783" />
+<TGConnectingPoint num="8" id="3784" />
+<TGConnectingPoint num="9" id="3785" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3797" >
 <cdparam x="645" y="375" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="3615" />
-<TGConnectingPoint num="1" id="3616" />
-<TGConnectingPoint num="2" id="3617" />
-<TGConnectingPoint num="3" id="3618" />
-<TGConnectingPoint num="4" id="3619" />
-<TGConnectingPoint num="5" id="3620" />
-<TGConnectingPoint num="6" id="3621" />
-<TGConnectingPoint num="7" id="3622" />
-<TGConnectingPoint num="8" id="3623" />
-<TGConnectingPoint num="9" id="3624" />
-</COMPONENT>
-
-<COMPONENT type="5109" id="3636" >
+<TGConnectingPoint num="0" id="3787" />
+<TGConnectingPoint num="1" id="3788" />
+<TGConnectingPoint num="2" id="3789" />
+<TGConnectingPoint num="3" id="3790" />
+<TGConnectingPoint num="4" id="3791" />
+<TGConnectingPoint num="5" id="3792" />
+<TGConnectingPoint num="6" id="3793" />
+<TGConnectingPoint num="7" id="3794" />
+<TGConnectingPoint num="8" id="3795" />
+<TGConnectingPoint num="9" id="3796" />
+</COMPONENT>
+
+<COMPONENT type="5109" id="3808" >
 <cdparam x="597" y="259" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="3626" />
-<TGConnectingPoint num="1" id="3627" />
-<TGConnectingPoint num="2" id="3628" />
-<TGConnectingPoint num="3" id="3629" />
-<TGConnectingPoint num="4" id="3630" />
-<TGConnectingPoint num="5" id="3631" />
-<TGConnectingPoint num="6" id="3632" />
-<TGConnectingPoint num="7" id="3633" />
-<TGConnectingPoint num="8" id="3634" />
-<TGConnectingPoint num="9" id="3635" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3647" >
+<TGConnectingPoint num="0" id="3798" />
+<TGConnectingPoint num="1" id="3799" />
+<TGConnectingPoint num="2" id="3800" />
+<TGConnectingPoint num="3" id="3801" />
+<TGConnectingPoint num="4" id="3802" />
+<TGConnectingPoint num="5" id="3803" />
+<TGConnectingPoint num="6" id="3804" />
+<TGConnectingPoint num="7" id="3805" />
+<TGConnectingPoint num="8" id="3806" />
+<TGConnectingPoint num="9" id="3807" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3819" >
 <cdparam x="352" y="839" />
 <sizeparam width="263" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="computeCrossingRecognition(currentPicture)" />
-<TGConnectingPoint num="0" id="3637" />
-<TGConnectingPoint num="1" id="3638" />
-<TGConnectingPoint num="2" id="3639" />
-<TGConnectingPoint num="3" id="3640" />
-<TGConnectingPoint num="4" id="3641" />
-<TGConnectingPoint num="5" id="3642" />
-<TGConnectingPoint num="6" id="3643" />
-<TGConnectingPoint num="7" id="3644" />
-<TGConnectingPoint num="8" id="3645" />
-<TGConnectingPoint num="9" id="3646" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3658" >
+<TGConnectingPoint num="0" id="3809" />
+<TGConnectingPoint num="1" id="3810" />
+<TGConnectingPoint num="2" id="3811" />
+<TGConnectingPoint num="3" id="3812" />
+<TGConnectingPoint num="4" id="3813" />
+<TGConnectingPoint num="5" id="3814" />
+<TGConnectingPoint num="6" id="3815" />
+<TGConnectingPoint num="7" id="3816" />
+<TGConnectingPoint num="8" id="3817" />
+<TGConnectingPoint num="9" id="3818" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3830" >
 <cdparam x="105" y="840" />
 <sizeparam width="237" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="computeLineRecognition(currentPicture)" />
-<TGConnectingPoint num="0" id="3648" />
-<TGConnectingPoint num="1" id="3649" />
-<TGConnectingPoint num="2" id="3650" />
-<TGConnectingPoint num="3" id="3651" />
-<TGConnectingPoint num="4" id="3652" />
-<TGConnectingPoint num="5" id="3653" />
-<TGConnectingPoint num="6" id="3654" />
-<TGConnectingPoint num="7" id="3655" />
-<TGConnectingPoint num="8" id="3656" />
-<TGConnectingPoint num="9" id="3657" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3669" >
+<TGConnectingPoint num="0" id="3820" />
+<TGConnectingPoint num="1" id="3821" />
+<TGConnectingPoint num="2" id="3822" />
+<TGConnectingPoint num="3" id="3823" />
+<TGConnectingPoint num="4" id="3824" />
+<TGConnectingPoint num="5" id="3825" />
+<TGConnectingPoint num="6" id="3826" />
+<TGConnectingPoint num="7" id="3827" />
+<TGConnectingPoint num="8" id="3828" />
+<TGConnectingPoint num="9" id="3829" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3841" >
 <cdparam x="1111" y="499" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="3659" />
-<TGConnectingPoint num="1" id="3660" />
-<TGConnectingPoint num="2" id="3661" />
-<TGConnectingPoint num="3" id="3662" />
-<TGConnectingPoint num="4" id="3663" />
-<TGConnectingPoint num="5" id="3664" />
-<TGConnectingPoint num="6" id="3665" />
-<TGConnectingPoint num="7" id="3666" />
-<TGConnectingPoint num="8" id="3667" />
-<TGConnectingPoint num="9" id="3668" />
-</COMPONENT>
-
-<COMPONENT type="301" id="3686" >
+<TGConnectingPoint num="0" id="3831" />
+<TGConnectingPoint num="1" id="3832" />
+<TGConnectingPoint num="2" id="3833" />
+<TGConnectingPoint num="3" id="3834" />
+<TGConnectingPoint num="4" id="3835" />
+<TGConnectingPoint num="5" id="3836" />
+<TGConnectingPoint num="6" id="3837" />
+<TGConnectingPoint num="7" id="3838" />
+<TGConnectingPoint num="8" id="3839" />
+<TGConnectingPoint num="9" id="3840" />
+</COMPONENT>
+
+<COMPONENT type="301" id="3858" >
 <cdparam x="423" y="58" />
 <sizeparam width="150" height="155" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -8883,22 +8883,22 @@ Command mode:
 5: turning left
 6: turning right
 " />
-<TGConnectingPoint num="0" id="3670" />
-<TGConnectingPoint num="1" id="3671" />
-<TGConnectingPoint num="2" id="3672" />
-<TGConnectingPoint num="3" id="3673" />
-<TGConnectingPoint num="4" id="3674" />
-<TGConnectingPoint num="5" id="3675" />
-<TGConnectingPoint num="6" id="3676" />
-<TGConnectingPoint num="7" id="3677" />
-<TGConnectingPoint num="8" id="3678" />
-<TGConnectingPoint num="9" id="3679" />
-<TGConnectingPoint num="10" id="3680" />
-<TGConnectingPoint num="11" id="3681" />
-<TGConnectingPoint num="12" id="3682" />
-<TGConnectingPoint num="13" id="3683" />
-<TGConnectingPoint num="14" id="3684" />
-<TGConnectingPoint num="15" id="3685" />
+<TGConnectingPoint num="0" id="3842" />
+<TGConnectingPoint num="1" id="3843" />
+<TGConnectingPoint num="2" id="3844" />
+<TGConnectingPoint num="3" id="3845" />
+<TGConnectingPoint num="4" id="3846" />
+<TGConnectingPoint num="5" id="3847" />
+<TGConnectingPoint num="6" id="3848" />
+<TGConnectingPoint num="7" id="3849" />
+<TGConnectingPoint num="8" id="3850" />
+<TGConnectingPoint num="9" id="3851" />
+<TGConnectingPoint num="10" id="3852" />
+<TGConnectingPoint num="11" id="3853" />
+<TGConnectingPoint num="12" id="3854" />
+<TGConnectingPoint num="13" id="3855" />
+<TGConnectingPoint num="14" id="3856" />
+<TGConnectingPoint num="15" id="3857" />
 <extraparam>
 <Line value="Modes:" />
 <Line value="---------" />
@@ -8912,383 +8912,383 @@ Command mode:
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="3697" >
+<COMPONENT type="5103" id="3869" >
 <cdparam x="1148" y="411" />
 <sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="stopCamera()" />
-<TGConnectingPoint num="0" id="3687" />
-<TGConnectingPoint num="1" id="3688" />
-<TGConnectingPoint num="2" id="3689" />
-<TGConnectingPoint num="3" id="3690" />
-<TGConnectingPoint num="4" id="3691" />
-<TGConnectingPoint num="5" id="3692" />
-<TGConnectingPoint num="6" id="3693" />
-<TGConnectingPoint num="7" id="3694" />
-<TGConnectingPoint num="8" id="3695" />
-<TGConnectingPoint num="9" id="3696" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3738" >
+<TGConnectingPoint num="0" id="3859" />
+<TGConnectingPoint num="1" id="3860" />
+<TGConnectingPoint num="2" id="3861" />
+<TGConnectingPoint num="3" id="3862" />
+<TGConnectingPoint num="4" id="3863" />
+<TGConnectingPoint num="5" id="3864" />
+<TGConnectingPoint num="6" id="3865" />
+<TGConnectingPoint num="7" id="3866" />
+<TGConnectingPoint num="8" id="3867" />
+<TGConnectingPoint num="9" id="3868" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3910" >
 <cdparam x="1106" y="345" />
 <sizeparam width="173" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="DestinationReached" />
-<TGConnectingPoint num="0" id="3698" />
-<TGConnectingPoint num="1" id="3699" />
-<TGConnectingPoint num="2" id="3700" />
-<TGConnectingPoint num="3" id="3701" />
-<TGConnectingPoint num="4" id="3702" />
-<TGConnectingPoint num="5" id="3703" />
-<TGConnectingPoint num="6" id="3704" />
-<TGConnectingPoint num="7" id="3705" />
-<TGConnectingPoint num="8" id="3706" />
-<TGConnectingPoint num="9" id="3707" />
-<TGConnectingPoint num="10" id="3708" />
-<TGConnectingPoint num="11" id="3709" />
-<TGConnectingPoint num="12" id="3710" />
-<TGConnectingPoint num="13" id="3711" />
-<TGConnectingPoint num="14" id="3712" />
-<TGConnectingPoint num="15" id="3713" />
-<TGConnectingPoint num="16" id="3714" />
-<TGConnectingPoint num="17" id="3715" />
-<TGConnectingPoint num="18" id="3716" />
-<TGConnectingPoint num="19" id="3717" />
-<TGConnectingPoint num="20" id="3718" />
-<TGConnectingPoint num="21" id="3719" />
-<TGConnectingPoint num="22" id="3720" />
-<TGConnectingPoint num="23" id="3721" />
-<TGConnectingPoint num="24" id="3722" />
-<TGConnectingPoint num="25" id="3723" />
-<TGConnectingPoint num="26" id="3724" />
-<TGConnectingPoint num="27" id="3725" />
-<TGConnectingPoint num="28" id="3726" />
-<TGConnectingPoint num="29" id="3727" />
-<TGConnectingPoint num="30" id="3728" />
-<TGConnectingPoint num="31" id="3729" />
-<TGConnectingPoint num="32" id="3730" />
-<TGConnectingPoint num="33" id="3731" />
-<TGConnectingPoint num="34" id="3732" />
-<TGConnectingPoint num="35" id="3733" />
-<TGConnectingPoint num="36" id="3734" />
-<TGConnectingPoint num="37" id="3735" />
-<TGConnectingPoint num="38" id="3736" />
-<TGConnectingPoint num="39" id="3737" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3779" >
+<TGConnectingPoint num="0" id="3870" />
+<TGConnectingPoint num="1" id="3871" />
+<TGConnectingPoint num="2" id="3872" />
+<TGConnectingPoint num="3" id="3873" />
+<TGConnectingPoint num="4" id="3874" />
+<TGConnectingPoint num="5" id="3875" />
+<TGConnectingPoint num="6" id="3876" />
+<TGConnectingPoint num="7" id="3877" />
+<TGConnectingPoint num="8" id="3878" />
+<TGConnectingPoint num="9" id="3879" />
+<TGConnectingPoint num="10" id="3880" />
+<TGConnectingPoint num="11" id="3881" />
+<TGConnectingPoint num="12" id="3882" />
+<TGConnectingPoint num="13" id="3883" />
+<TGConnectingPoint num="14" id="3884" />
+<TGConnectingPoint num="15" id="3885" />
+<TGConnectingPoint num="16" id="3886" />
+<TGConnectingPoint num="17" id="3887" />
+<TGConnectingPoint num="18" id="3888" />
+<TGConnectingPoint num="19" id="3889" />
+<TGConnectingPoint num="20" id="3890" />
+<TGConnectingPoint num="21" id="3891" />
+<TGConnectingPoint num="22" id="3892" />
+<TGConnectingPoint num="23" id="3893" />
+<TGConnectingPoint num="24" id="3894" />
+<TGConnectingPoint num="25" id="3895" />
+<TGConnectingPoint num="26" id="3896" />
+<TGConnectingPoint num="27" id="3897" />
+<TGConnectingPoint num="28" id="3898" />
+<TGConnectingPoint num="29" id="3899" />
+<TGConnectingPoint num="30" id="3900" />
+<TGConnectingPoint num="31" id="3901" />
+<TGConnectingPoint num="32" id="3902" />
+<TGConnectingPoint num="33" id="3903" />
+<TGConnectingPoint num="34" id="3904" />
+<TGConnectingPoint num="35" id="3905" />
+<TGConnectingPoint num="36" id="3906" />
+<TGConnectingPoint num="37" id="3907" />
+<TGConnectingPoint num="38" id="3908" />
+<TGConnectingPoint num="39" id="3909" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3951" >
 <cdparam x="676" y="457" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="CrossingCheck" />
-<TGConnectingPoint num="0" id="3739" />
-<TGConnectingPoint num="1" id="3740" />
-<TGConnectingPoint num="2" id="3741" />
-<TGConnectingPoint num="3" id="3742" />
-<TGConnectingPoint num="4" id="3743" />
-<TGConnectingPoint num="5" id="3744" />
-<TGConnectingPoint num="6" id="3745" />
-<TGConnectingPoint num="7" id="3746" />
-<TGConnectingPoint num="8" id="3747" />
-<TGConnectingPoint num="9" id="3748" />
-<TGConnectingPoint num="10" id="3749" />
-<TGConnectingPoint num="11" id="3750" />
-<TGConnectingPoint num="12" id="3751" />
-<TGConnectingPoint num="13" id="3752" />
-<TGConnectingPoint num="14" id="3753" />
-<TGConnectingPoint num="15" id="3754" />
-<TGConnectingPoint num="16" id="3755" />
-<TGConnectingPoint num="17" id="3756" />
-<TGConnectingPoint num="18" id="3757" />
-<TGConnectingPoint num="19" id="3758" />
-<TGConnectingPoint num="20" id="3759" />
-<TGConnectingPoint num="21" id="3760" />
-<TGConnectingPoint num="22" id="3761" />
-<TGConnectingPoint num="23" id="3762" />
-<TGConnectingPoint num="24" id="3763" />
-<TGConnectingPoint num="25" id="3764" />
-<TGConnectingPoint num="26" id="3765" />
-<TGConnectingPoint num="27" id="3766" />
-<TGConnectingPoint num="28" id="3767" />
-<TGConnectingPoint num="29" id="3768" />
-<TGConnectingPoint num="30" id="3769" />
-<TGConnectingPoint num="31" id="3770" />
-<TGConnectingPoint num="32" id="3771" />
-<TGConnectingPoint num="33" id="3772" />
-<TGConnectingPoint num="34" id="3773" />
-<TGConnectingPoint num="35" id="3774" />
-<TGConnectingPoint num="36" id="3775" />
-<TGConnectingPoint num="37" id="3776" />
-<TGConnectingPoint num="38" id="3777" />
-<TGConnectingPoint num="39" id="3778" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="3790" >
+<TGConnectingPoint num="0" id="3911" />
+<TGConnectingPoint num="1" id="3912" />
+<TGConnectingPoint num="2" id="3913" />
+<TGConnectingPoint num="3" id="3914" />
+<TGConnectingPoint num="4" id="3915" />
+<TGConnectingPoint num="5" id="3916" />
+<TGConnectingPoint num="6" id="3917" />
+<TGConnectingPoint num="7" id="3918" />
+<TGConnectingPoint num="8" id="3919" />
+<TGConnectingPoint num="9" id="3920" />
+<TGConnectingPoint num="10" id="3921" />
+<TGConnectingPoint num="11" id="3922" />
+<TGConnectingPoint num="12" id="3923" />
+<TGConnectingPoint num="13" id="3924" />
+<TGConnectingPoint num="14" id="3925" />
+<TGConnectingPoint num="15" id="3926" />
+<TGConnectingPoint num="16" id="3927" />
+<TGConnectingPoint num="17" id="3928" />
+<TGConnectingPoint num="18" id="3929" />
+<TGConnectingPoint num="19" id="3930" />
+<TGConnectingPoint num="20" id="3931" />
+<TGConnectingPoint num="21" id="3932" />
+<TGConnectingPoint num="22" id="3933" />
+<TGConnectingPoint num="23" id="3934" />
+<TGConnectingPoint num="24" id="3935" />
+<TGConnectingPoint num="25" id="3936" />
+<TGConnectingPoint num="26" id="3937" />
+<TGConnectingPoint num="27" id="3938" />
+<TGConnectingPoint num="28" id="3939" />
+<TGConnectingPoint num="29" id="3940" />
+<TGConnectingPoint num="30" id="3941" />
+<TGConnectingPoint num="31" id="3942" />
+<TGConnectingPoint num="32" id="3943" />
+<TGConnectingPoint num="33" id="3944" />
+<TGConnectingPoint num="34" id="3945" />
+<TGConnectingPoint num="35" id="3946" />
+<TGConnectingPoint num="36" id="3947" />
+<TGConnectingPoint num="37" id="3948" />
+<TGConnectingPoint num="38" id="3949" />
+<TGConnectingPoint num="39" id="3950" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="3962" >
 <cdparam x="147" y="715" />
 <sizeparam width="199" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="readNextPicture(currentPicture)" />
-<TGConnectingPoint num="0" id="3780" />
-<TGConnectingPoint num="1" id="3781" />
-<TGConnectingPoint num="2" id="3782" />
-<TGConnectingPoint num="3" id="3783" />
-<TGConnectingPoint num="4" id="3784" />
-<TGConnectingPoint num="5" id="3785" />
-<TGConnectingPoint num="6" id="3786" />
-<TGConnectingPoint num="7" id="3787" />
-<TGConnectingPoint num="8" id="3788" />
-<TGConnectingPoint num="9" id="3789" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3801" >
+<TGConnectingPoint num="0" id="3952" />
+<TGConnectingPoint num="1" id="3953" />
+<TGConnectingPoint num="2" id="3954" />
+<TGConnectingPoint num="3" id="3955" />
+<TGConnectingPoint num="4" id="3956" />
+<TGConnectingPoint num="5" id="3957" />
+<TGConnectingPoint num="6" id="3958" />
+<TGConnectingPoint num="7" id="3959" />
+<TGConnectingPoint num="8" id="3960" />
+<TGConnectingPoint num="9" id="3961" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3973" >
 <cdparam x="683" y="209" />
 <sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="startCamera()" />
-<TGConnectingPoint num="0" id="3791" />
-<TGConnectingPoint num="1" id="3792" />
-<TGConnectingPoint num="2" id="3793" />
-<TGConnectingPoint num="3" id="3794" />
-<TGConnectingPoint num="4" id="3795" />
-<TGConnectingPoint num="5" id="3796" />
-<TGConnectingPoint num="6" id="3797" />
-<TGConnectingPoint num="7" id="3798" />
-<TGConnectingPoint num="8" id="3799" />
-<TGConnectingPoint num="9" id="3800" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3812" >
+<TGConnectingPoint num="0" id="3963" />
+<TGConnectingPoint num="1" id="3964" />
+<TGConnectingPoint num="2" id="3965" />
+<TGConnectingPoint num="3" id="3966" />
+<TGConnectingPoint num="4" id="3967" />
+<TGConnectingPoint num="5" id="3968" />
+<TGConnectingPoint num="6" id="3969" />
+<TGConnectingPoint num="7" id="3970" />
+<TGConnectingPoint num="8" id="3971" />
+<TGConnectingPoint num="9" id="3972" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3984" >
 <cdparam x="657" y="155" />
 <sizeparam width="141" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="reach(nbOfCrossings)" />
-<TGConnectingPoint num="0" id="3802" />
-<TGConnectingPoint num="1" id="3803" />
-<TGConnectingPoint num="2" id="3804" />
-<TGConnectingPoint num="3" id="3805" />
-<TGConnectingPoint num="4" id="3806" />
-<TGConnectingPoint num="5" id="3807" />
-<TGConnectingPoint num="6" id="3808" />
-<TGConnectingPoint num="7" id="3809" />
-<TGConnectingPoint num="8" id="3810" />
-<TGConnectingPoint num="9" id="3811" />
-</COMPONENT>
-
-<COMPONENT type="5100" id="3814" >
+<TGConnectingPoint num="0" id="3974" />
+<TGConnectingPoint num="1" id="3975" />
+<TGConnectingPoint num="2" id="3976" />
+<TGConnectingPoint num="3" id="3977" />
+<TGConnectingPoint num="4" id="3978" />
+<TGConnectingPoint num="5" id="3979" />
+<TGConnectingPoint num="6" id="3980" />
+<TGConnectingPoint num="7" id="3981" />
+<TGConnectingPoint num="8" id="3982" />
+<TGConnectingPoint num="9" id="3983" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="3986" >
 <cdparam x="720" y="17" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3813" />
+<TGConnectingPoint num="0" id="3985" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="3855" >
+<COMPONENT type="5106" id="4027" >
 <cdparam x="103" y="960" />
 <sizeparam width="1000" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="CrossingCheck" />
-<TGConnectingPoint num="0" id="3815" />
-<TGConnectingPoint num="1" id="3816" />
-<TGConnectingPoint num="2" id="3817" />
-<TGConnectingPoint num="3" id="3818" />
-<TGConnectingPoint num="4" id="3819" />
-<TGConnectingPoint num="5" id="3820" />
-<TGConnectingPoint num="6" id="3821" />
-<TGConnectingPoint num="7" id="3822" />
-<TGConnectingPoint num="8" id="3823" />
-<TGConnectingPoint num="9" id="3824" />
-<TGConnectingPoint num="10" id="3825" />
-<TGConnectingPoint num="11" id="3826" />
-<TGConnectingPoint num="12" id="3827" />
-<TGConnectingPoint num="13" id="3828" />
-<TGConnectingPoint num="14" id="3829" />
-<TGConnectingPoint num="15" id="3830" />
-<TGConnectingPoint num="16" id="3831" />
-<TGConnectingPoint num="17" id="3832" />
-<TGConnectingPoint num="18" id="3833" />
-<TGConnectingPoint num="19" id="3834" />
-<TGConnectingPoint num="20" id="3835" />
-<TGConnectingPoint num="21" id="3836" />
-<TGConnectingPoint num="22" id="3837" />
-<TGConnectingPoint num="23" id="3838" />
-<TGConnectingPoint num="24" id="3839" />
-<TGConnectingPoint num="25" id="3840" />
-<TGConnectingPoint num="26" id="3841" />
-<TGConnectingPoint num="27" id="3842" />
-<TGConnectingPoint num="28" id="3843" />
-<TGConnectingPoint num="29" id="3844" />
-<TGConnectingPoint num="30" id="3845" />
-<TGConnectingPoint num="31" id="3846" />
-<TGConnectingPoint num="32" id="3847" />
-<TGConnectingPoint num="33" id="3848" />
-<TGConnectingPoint num="34" id="3849" />
-<TGConnectingPoint num="35" id="3850" />
-<TGConnectingPoint num="36" id="3851" />
-<TGConnectingPoint num="37" id="3852" />
-<TGConnectingPoint num="38" id="3853" />
-<TGConnectingPoint num="39" id="3854" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3896" >
+<TGConnectingPoint num="0" id="3987" />
+<TGConnectingPoint num="1" id="3988" />
+<TGConnectingPoint num="2" id="3989" />
+<TGConnectingPoint num="3" id="3990" />
+<TGConnectingPoint num="4" id="3991" />
+<TGConnectingPoint num="5" id="3992" />
+<TGConnectingPoint num="6" id="3993" />
+<TGConnectingPoint num="7" id="3994" />
+<TGConnectingPoint num="8" id="3995" />
+<TGConnectingPoint num="9" id="3996" />
+<TGConnectingPoint num="10" id="3997" />
+<TGConnectingPoint num="11" id="3998" />
+<TGConnectingPoint num="12" id="3999" />
+<TGConnectingPoint num="13" id="4000" />
+<TGConnectingPoint num="14" id="4001" />
+<TGConnectingPoint num="15" id="4002" />
+<TGConnectingPoint num="16" id="4003" />
+<TGConnectingPoint num="17" id="4004" />
+<TGConnectingPoint num="18" id="4005" />
+<TGConnectingPoint num="19" id="4006" />
+<TGConnectingPoint num="20" id="4007" />
+<TGConnectingPoint num="21" id="4008" />
+<TGConnectingPoint num="22" id="4009" />
+<TGConnectingPoint num="23" id="4010" />
+<TGConnectingPoint num="24" id="4011" />
+<TGConnectingPoint num="25" id="4012" />
+<TGConnectingPoint num="26" id="4013" />
+<TGConnectingPoint num="27" id="4014" />
+<TGConnectingPoint num="28" id="4015" />
+<TGConnectingPoint num="29" id="4016" />
+<TGConnectingPoint num="30" id="4017" />
+<TGConnectingPoint num="31" id="4018" />
+<TGConnectingPoint num="32" id="4019" />
+<TGConnectingPoint num="33" id="4020" />
+<TGConnectingPoint num="34" id="4021" />
+<TGConnectingPoint num="35" id="4022" />
+<TGConnectingPoint num="36" id="4023" />
+<TGConnectingPoint num="37" id="4024" />
+<TGConnectingPoint num="38" id="4025" />
+<TGConnectingPoint num="39" id="4026" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="4068" >
 <cdparam x="444" y="599" />
 <sizeparam width="564" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="mainLoop" />
-<TGConnectingPoint num="0" id="3856" />
-<TGConnectingPoint num="1" id="3857" />
-<TGConnectingPoint num="2" id="3858" />
-<TGConnectingPoint num="3" id="3859" />
-<TGConnectingPoint num="4" id="3860" />
-<TGConnectingPoint num="5" id="3861" />
-<TGConnectingPoint num="6" id="3862" />
-<TGConnectingPoint num="7" id="3863" />
-<TGConnectingPoint num="8" id="3864" />
-<TGConnectingPoint num="9" id="3865" />
-<TGConnectingPoint num="10" id="3866" />
-<TGConnectingPoint num="11" id="3867" />
-<TGConnectingPoint num="12" id="3868" />
-<TGConnectingPoint num="13" id="3869" />
-<TGConnectingPoint num="14" id="3870" />
-<TGConnectingPoint num="15" id="3871" />
-<TGConnectingPoint num="16" id="3872" />
-<TGConnectingPoint num="17" id="3873" />
-<TGConnectingPoint num="18" id="3874" />
-<TGConnectingPoint num="19" id="3875" />
-<TGConnectingPoint num="20" id="3876" />
-<TGConnectingPoint num="21" id="3877" />
-<TGConnectingPoint num="22" id="3878" />
-<TGConnectingPoint num="23" id="3879" />
-<TGConnectingPoint num="24" id="3880" />
-<TGConnectingPoint num="25" id="3881" />
-<TGConnectingPoint num="26" id="3882" />
-<TGConnectingPoint num="27" id="3883" />
-<TGConnectingPoint num="28" id="3884" />
-<TGConnectingPoint num="29" id="3885" />
-<TGConnectingPoint num="30" id="3886" />
-<TGConnectingPoint num="31" id="3887" />
-<TGConnectingPoint num="32" id="3888" />
-<TGConnectingPoint num="33" id="3889" />
-<TGConnectingPoint num="34" id="3890" />
-<TGConnectingPoint num="35" id="3891" />
-<TGConnectingPoint num="36" id="3892" />
-<TGConnectingPoint num="37" id="3893" />
-<TGConnectingPoint num="38" id="3894" />
-<TGConnectingPoint num="39" id="3895" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3937" >
+<TGConnectingPoint num="0" id="4028" />
+<TGConnectingPoint num="1" id="4029" />
+<TGConnectingPoint num="2" id="4030" />
+<TGConnectingPoint num="3" id="4031" />
+<TGConnectingPoint num="4" id="4032" />
+<TGConnectingPoint num="5" id="4033" />
+<TGConnectingPoint num="6" id="4034" />
+<TGConnectingPoint num="7" id="4035" />
+<TGConnectingPoint num="8" id="4036" />
+<TGConnectingPoint num="9" id="4037" />
+<TGConnectingPoint num="10" id="4038" />
+<TGConnectingPoint num="11" id="4039" />
+<TGConnectingPoint num="12" id="4040" />
+<TGConnectingPoint num="13" id="4041" />
+<TGConnectingPoint num="14" id="4042" />
+<TGConnectingPoint num="15" id="4043" />
+<TGConnectingPoint num="16" id="4044" />
+<TGConnectingPoint num="17" id="4045" />
+<TGConnectingPoint num="18" id="4046" />
+<TGConnectingPoint num="19" id="4047" />
+<TGConnectingPoint num="20" id="4048" />
+<TGConnectingPoint num="21" id="4049" />
+<TGConnectingPoint num="22" id="4050" />
+<TGConnectingPoint num="23" id="4051" />
+<TGConnectingPoint num="24" id="4052" />
+<TGConnectingPoint num="25" id="4053" />
+<TGConnectingPoint num="26" id="4054" />
+<TGConnectingPoint num="27" id="4055" />
+<TGConnectingPoint num="28" id="4056" />
+<TGConnectingPoint num="29" id="4057" />
+<TGConnectingPoint num="30" id="4058" />
+<TGConnectingPoint num="31" id="4059" />
+<TGConnectingPoint num="32" id="4060" />
+<TGConnectingPoint num="33" id="4061" />
+<TGConnectingPoint num="34" id="4062" />
+<TGConnectingPoint num="35" id="4063" />
+<TGConnectingPoint num="36" id="4064" />
+<TGConnectingPoint num="37" id="4065" />
+<TGConnectingPoint num="38" id="4066" />
+<TGConnectingPoint num="39" id="4067" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="4109" >
 <cdparam x="914" y="858" />
 <sizeparam width="154" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="WaitingForMission" />
-<TGConnectingPoint num="0" id="3897" />
-<TGConnectingPoint num="1" id="3898" />
-<TGConnectingPoint num="2" id="3899" />
-<TGConnectingPoint num="3" id="3900" />
-<TGConnectingPoint num="4" id="3901" />
-<TGConnectingPoint num="5" id="3902" />
-<TGConnectingPoint num="6" id="3903" />
-<TGConnectingPoint num="7" id="3904" />
-<TGConnectingPoint num="8" id="3905" />
-<TGConnectingPoint num="9" id="3906" />
-<TGConnectingPoint num="10" id="3907" />
-<TGConnectingPoint num="11" id="3908" />
-<TGConnectingPoint num="12" id="3909" />
-<TGConnectingPoint num="13" id="3910" />
-<TGConnectingPoint num="14" id="3911" />
-<TGConnectingPoint num="15" id="3912" />
-<TGConnectingPoint num="16" id="3913" />
-<TGConnectingPoint num="17" id="3914" />
-<TGConnectingPoint num="18" id="3915" />
-<TGConnectingPoint num="19" id="3916" />
-<TGConnectingPoint num="20" id="3917" />
-<TGConnectingPoint num="21" id="3918" />
-<TGConnectingPoint num="22" id="3919" />
-<TGConnectingPoint num="23" id="3920" />
-<TGConnectingPoint num="24" id="3921" />
-<TGConnectingPoint num="25" id="3922" />
-<TGConnectingPoint num="26" id="3923" />
-<TGConnectingPoint num="27" id="3924" />
-<TGConnectingPoint num="28" id="3925" />
-<TGConnectingPoint num="29" id="3926" />
-<TGConnectingPoint num="30" id="3927" />
-<TGConnectingPoint num="31" id="3928" />
-<TGConnectingPoint num="32" id="3929" />
-<TGConnectingPoint num="33" id="3930" />
-<TGConnectingPoint num="34" id="3931" />
-<TGConnectingPoint num="35" id="3932" />
-<TGConnectingPoint num="36" id="3933" />
-<TGConnectingPoint num="37" id="3934" />
-<TGConnectingPoint num="38" id="3935" />
-<TGConnectingPoint num="39" id="3936" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3978" >
+<TGConnectingPoint num="0" id="4069" />
+<TGConnectingPoint num="1" id="4070" />
+<TGConnectingPoint num="2" id="4071" />
+<TGConnectingPoint num="3" id="4072" />
+<TGConnectingPoint num="4" id="4073" />
+<TGConnectingPoint num="5" id="4074" />
+<TGConnectingPoint num="6" id="4075" />
+<TGConnectingPoint num="7" id="4076" />
+<TGConnectingPoint num="8" id="4077" />
+<TGConnectingPoint num="9" id="4078" />
+<TGConnectingPoint num="10" id="4079" />
+<TGConnectingPoint num="11" id="4080" />
+<TGConnectingPoint num="12" id="4081" />
+<TGConnectingPoint num="13" id="4082" />
+<TGConnectingPoint num="14" id="4083" />
+<TGConnectingPoint num="15" id="4084" />
+<TGConnectingPoint num="16" id="4085" />
+<TGConnectingPoint num="17" id="4086" />
+<TGConnectingPoint num="18" id="4087" />
+<TGConnectingPoint num="19" id="4088" />
+<TGConnectingPoint num="20" id="4089" />
+<TGConnectingPoint num="21" id="4090" />
+<TGConnectingPoint num="22" id="4091" />
+<TGConnectingPoint num="23" id="4092" />
+<TGConnectingPoint num="24" id="4093" />
+<TGConnectingPoint num="25" id="4094" />
+<TGConnectingPoint num="26" id="4095" />
+<TGConnectingPoint num="27" id="4096" />
+<TGConnectingPoint num="28" id="4097" />
+<TGConnectingPoint num="29" id="4098" />
+<TGConnectingPoint num="30" id="4099" />
+<TGConnectingPoint num="31" id="4100" />
+<TGConnectingPoint num="32" id="4101" />
+<TGConnectingPoint num="33" id="4102" />
+<TGConnectingPoint num="34" id="4103" />
+<TGConnectingPoint num="35" id="4104" />
+<TGConnectingPoint num="36" id="4105" />
+<TGConnectingPoint num="37" id="4106" />
+<TGConnectingPoint num="38" id="4107" />
+<TGConnectingPoint num="39" id="4108" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="4150" >
 <cdparam x="650" y="75" />
 <sizeparam width="154" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="WaitingForMission" />
-<TGConnectingPoint num="0" id="3938" />
-<TGConnectingPoint num="1" id="3939" />
-<TGConnectingPoint num="2" id="3940" />
-<TGConnectingPoint num="3" id="3941" />
-<TGConnectingPoint num="4" id="3942" />
-<TGConnectingPoint num="5" id="3943" />
-<TGConnectingPoint num="6" id="3944" />
-<TGConnectingPoint num="7" id="3945" />
-<TGConnectingPoint num="8" id="3946" />
-<TGConnectingPoint num="9" id="3947" />
-<TGConnectingPoint num="10" id="3948" />
-<TGConnectingPoint num="11" id="3949" />
-<TGConnectingPoint num="12" id="3950" />
-<TGConnectingPoint num="13" id="3951" />
-<TGConnectingPoint num="14" id="3952" />
-<TGConnectingPoint num="15" id="3953" />
-<TGConnectingPoint num="16" id="3954" />
-<TGConnectingPoint num="17" id="3955" />
-<TGConnectingPoint num="18" id="3956" />
-<TGConnectingPoint num="19" id="3957" />
-<TGConnectingPoint num="20" id="3958" />
-<TGConnectingPoint num="21" id="3959" />
-<TGConnectingPoint num="22" id="3960" />
-<TGConnectingPoint num="23" id="3961" />
-<TGConnectingPoint num="24" id="3962" />
-<TGConnectingPoint num="25" id="3963" />
-<TGConnectingPoint num="26" id="3964" />
-<TGConnectingPoint num="27" id="3965" />
-<TGConnectingPoint num="28" id="3966" />
-<TGConnectingPoint num="29" id="3967" />
-<TGConnectingPoint num="30" id="3968" />
-<TGConnectingPoint num="31" id="3969" />
-<TGConnectingPoint num="32" id="3970" />
-<TGConnectingPoint num="33" id="3971" />
-<TGConnectingPoint num="34" id="3972" />
-<TGConnectingPoint num="35" id="3973" />
-<TGConnectingPoint num="36" id="3974" />
-<TGConnectingPoint num="37" id="3975" />
-<TGConnectingPoint num="38" id="3976" />
-<TGConnectingPoint num="39" id="3977" />
+<TGConnectingPoint num="0" id="4110" />
+<TGConnectingPoint num="1" id="4111" />
+<TGConnectingPoint num="2" id="4112" />
+<TGConnectingPoint num="3" id="4113" />
+<TGConnectingPoint num="4" id="4114" />
+<TGConnectingPoint num="5" id="4115" />
+<TGConnectingPoint num="6" id="4116" />
+<TGConnectingPoint num="7" id="4117" />
+<TGConnectingPoint num="8" id="4118" />
+<TGConnectingPoint num="9" id="4119" />
+<TGConnectingPoint num="10" id="4120" />
+<TGConnectingPoint num="11" id="4121" />
+<TGConnectingPoint num="12" id="4122" />
+<TGConnectingPoint num="13" id="4123" />
+<TGConnectingPoint num="14" id="4124" />
+<TGConnectingPoint num="15" id="4125" />
+<TGConnectingPoint num="16" id="4126" />
+<TGConnectingPoint num="17" id="4127" />
+<TGConnectingPoint num="18" id="4128" />
+<TGConnectingPoint num="19" id="4129" />
+<TGConnectingPoint num="20" id="4130" />
+<TGConnectingPoint num="21" id="4131" />
+<TGConnectingPoint num="22" id="4132" />
+<TGConnectingPoint num="23" id="4133" />
+<TGConnectingPoint num="24" id="4134" />
+<TGConnectingPoint num="25" id="4135" />
+<TGConnectingPoint num="26" id="4136" />
+<TGConnectingPoint num="27" id="4137" />
+<TGConnectingPoint num="28" id="4138" />
+<TGConnectingPoint num="29" id="4139" />
+<TGConnectingPoint num="30" id="4140" />
+<TGConnectingPoint num="31" id="4141" />
+<TGConnectingPoint num="32" id="4142" />
+<TGConnectingPoint num="33" id="4143" />
+<TGConnectingPoint num="34" id="4144" />
+<TGConnectingPoint num="35" id="4145" />
+<TGConnectingPoint num="36" id="4146" />
+<TGConnectingPoint num="37" id="4147" />
+<TGConnectingPoint num="38" id="4148" />
+<TGConnectingPoint num="39" id="4149" />
 <extraparam>
 </extraparam>
 </COMPONENT>
@@ -9297,55 +9297,55 @@ Command mode:
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="EngineController" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="3991" >
+<CONNECTOR type="5102" id="4163" >
 <cdparam x="492" y="280" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3987" />
-<TGConnectingPoint num="1" id="3988" />
-<TGConnectingPoint num="2" id="3989" />
-<TGConnectingPoint num="3" id="3990" />
-<P1  x="492" y="280" id="4007" />
-<P2  x="563" y="198" id="4021" />
+<TGConnectingPoint num="0" id="4159" />
+<TGConnectingPoint num="1" id="4160" />
+<TGConnectingPoint num="2" id="4161" />
+<TGConnectingPoint num="3" id="4162" />
+<P1  x="492" y="280" id="4179" />
+<P2  x="563" y="198" id="4193" />
 <Point x="494" y="328" />
 <Point x="589" y="330" />
 <Point x="590" y="196" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3979" >
-<father id="3991" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4151" >
+<father id="4163" num="0" />
 <cdparam x="494" y="328" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3980" >
-<father id="3991" num="1" />
+<SUBCOMPONENT type="-1" id="4152" >
+<father id="4163" num="1" />
 <cdparam x="589" y="330" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3981" >
-<father id="3991" num="2" />
+<SUBCOMPONENT type="-1" id="4153" >
+<father id="4163" num="2" />
 <cdparam x="590" y="196" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3986" >
-<father id="3991" num="3" />
+<SUBCOMPONENT type="-1" id="4158" >
+<father id="4163" num="3" />
 <cdparam x="492" y="320" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3982" />
-<TGConnectingPoint num="1" id="3983" />
-<TGConnectingPoint num="2" id="3984" />
-<TGConnectingPoint num="3" id="3985" />
+<TGConnectingPoint num="0" id="4154" />
+<TGConnectingPoint num="1" id="4155" />
+<TGConnectingPoint num="2" id="4156" />
+<TGConnectingPoint num="3" id="4157" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9355,25 +9355,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3998" >
+<CONNECTOR type="5102" id="4170" >
 <cdparam x="435" y="119" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="3997" />
-<P1  x="435" y="119" id="4058" />
-<P2  x="458" y="173" id="4018" />
+<TGConnectingPoint num="0" id="4169" />
+<P1  x="435" y="119" id="4230" />
+<P2  x="458" y="173" id="4190" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3996" >
-<father id="3998" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4168" >
+<father id="4170" num="0" />
 <cdparam x="455" y="138" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3992" />
-<TGConnectingPoint num="1" id="3993" />
-<TGConnectingPoint num="2" id="3994" />
-<TGConnectingPoint num="3" id="3995" />
+<TGConnectingPoint num="0" id="4164" />
+<TGConnectingPoint num="1" id="4165" />
+<TGConnectingPoint num="2" id="4166" />
+<TGConnectingPoint num="3" id="4167" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9383,25 +9383,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4005" >
+<CONNECTOR type="5102" id="4177" >
 <cdparam x="483" y="223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="4004" />
-<P1  x="483" y="223" id="4047" />
-<P2  x="492" y="250" id="4006" />
+<TGConnectingPoint num="0" id="4176" />
+<P1  x="483" y="223" id="4219" />
+<P2  x="492" y="250" id="4178" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4003" >
-<father id="4005" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4175" >
+<father id="4177" num="0" />
 <cdparam x="483" y="263" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3999" />
-<TGConnectingPoint num="1" id="4000" />
-<TGConnectingPoint num="2" id="4001" />
-<TGConnectingPoint num="3" id="4002" />
+<TGConnectingPoint num="0" id="4171" />
+<TGConnectingPoint num="1" id="4172" />
+<TGConnectingPoint num="2" id="4173" />
+<TGConnectingPoint num="3" id="4174" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9411,106 +9411,106 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="4016" >
+<COMPONENT type="5104" id="4188" >
 <cdparam x="401" y="255" />
 <sizeparam width="182" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="getCommand(lastCommand)" />
-<TGConnectingPoint num="0" id="4006" />
-<TGConnectingPoint num="1" id="4007" />
-<TGConnectingPoint num="2" id="4008" />
-<TGConnectingPoint num="3" id="4009" />
-<TGConnectingPoint num="4" id="4010" />
-<TGConnectingPoint num="5" id="4011" />
-<TGConnectingPoint num="6" id="4012" />
-<TGConnectingPoint num="7" id="4013" />
-<TGConnectingPoint num="8" id="4014" />
-<TGConnectingPoint num="9" id="4015" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4057" >
+<TGConnectingPoint num="0" id="4178" />
+<TGConnectingPoint num="1" id="4179" />
+<TGConnectingPoint num="2" id="4180" />
+<TGConnectingPoint num="3" id="4181" />
+<TGConnectingPoint num="4" id="4182" />
+<TGConnectingPoint num="5" id="4183" />
+<TGConnectingPoint num="6" id="4184" />
+<TGConnectingPoint num="7" id="4185" />
+<TGConnectingPoint num="8" id="4186" />
+<TGConnectingPoint num="9" id="4187" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4229" >
 <cdparam x="353" y="173" />
 <sizeparam width="210" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForCommand" />
-<TGConnectingPoint num="0" id="4017" />
-<TGConnectingPoint num="1" id="4018" />
-<TGConnectingPoint num="2" id="4019" />
-<TGConnectingPoint num="3" id="4020" />
-<TGConnectingPoint num="4" id="4021" />
-<TGConnectingPoint num="5" id="4022" />
-<TGConnectingPoint num="6" id="4023" />
-<TGConnectingPoint num="7" id="4024" />
-<TGConnectingPoint num="8" id="4025" />
-<TGConnectingPoint num="9" id="4026" />
-<TGConnectingPoint num="10" id="4027" />
-<TGConnectingPoint num="11" id="4028" />
-<TGConnectingPoint num="12" id="4029" />
-<TGConnectingPoint num="13" id="4030" />
-<TGConnectingPoint num="14" id="4031" />
-<TGConnectingPoint num="15" id="4032" />
-<TGConnectingPoint num="16" id="4033" />
-<TGConnectingPoint num="17" id="4034" />
-<TGConnectingPoint num="18" id="4035" />
-<TGConnectingPoint num="19" id="4036" />
-<TGConnectingPoint num="20" id="4037" />
-<TGConnectingPoint num="21" id="4038" />
-<TGConnectingPoint num="22" id="4039" />
-<TGConnectingPoint num="23" id="4040" />
-<TGConnectingPoint num="24" id="4041" />
-<TGConnectingPoint num="25" id="4042" />
-<TGConnectingPoint num="26" id="4043" />
-<TGConnectingPoint num="27" id="4044" />
-<TGConnectingPoint num="28" id="4045" />
-<TGConnectingPoint num="29" id="4046" />
-<TGConnectingPoint num="30" id="4047" />
-<TGConnectingPoint num="31" id="4048" />
-<TGConnectingPoint num="32" id="4049" />
-<TGConnectingPoint num="33" id="4050" />
-<TGConnectingPoint num="34" id="4051" />
-<TGConnectingPoint num="35" id="4052" />
-<TGConnectingPoint num="36" id="4053" />
-<TGConnectingPoint num="37" id="4054" />
-<TGConnectingPoint num="38" id="4055" />
-<TGConnectingPoint num="39" id="4056" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4059" >
+<TGConnectingPoint num="0" id="4189" />
+<TGConnectingPoint num="1" id="4190" />
+<TGConnectingPoint num="2" id="4191" />
+<TGConnectingPoint num="3" id="4192" />
+<TGConnectingPoint num="4" id="4193" />
+<TGConnectingPoint num="5" id="4194" />
+<TGConnectingPoint num="6" id="4195" />
+<TGConnectingPoint num="7" id="4196" />
+<TGConnectingPoint num="8" id="4197" />
+<TGConnectingPoint num="9" id="4198" />
+<TGConnectingPoint num="10" id="4199" />
+<TGConnectingPoint num="11" id="4200" />
+<TGConnectingPoint num="12" id="4201" />
+<TGConnectingPoint num="13" id="4202" />
+<TGConnectingPoint num="14" id="4203" />
+<TGConnectingPoint num="15" id="4204" />
+<TGConnectingPoint num="16" id="4205" />
+<TGConnectingPoint num="17" id="4206" />
+<TGConnectingPoint num="18" id="4207" />
+<TGConnectingPoint num="19" id="4208" />
+<TGConnectingPoint num="20" id="4209" />
+<TGConnectingPoint num="21" id="4210" />
+<TGConnectingPoint num="22" id="4211" />
+<TGConnectingPoint num="23" id="4212" />
+<TGConnectingPoint num="24" id="4213" />
+<TGConnectingPoint num="25" id="4214" />
+<TGConnectingPoint num="26" id="4215" />
+<TGConnectingPoint num="27" id="4216" />
+<TGConnectingPoint num="28" id="4217" />
+<TGConnectingPoint num="29" id="4218" />
+<TGConnectingPoint num="30" id="4219" />
+<TGConnectingPoint num="31" id="4220" />
+<TGConnectingPoint num="32" id="4221" />
+<TGConnectingPoint num="33" id="4222" />
+<TGConnectingPoint num="34" id="4223" />
+<TGConnectingPoint num="35" id="4224" />
+<TGConnectingPoint num="36" id="4225" />
+<TGConnectingPoint num="37" id="4226" />
+<TGConnectingPoint num="38" id="4227" />
+<TGConnectingPoint num="39" id="4228" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="4231" >
 <cdparam x="428" y="99" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4058" />
+<TGConnectingPoint num="0" id="4230" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Camera" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="4066" >
+<CONNECTOR type="5102" id="4238" >
 <cdparam x="482" y="481" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="4065" />
-<P1  x="482" y="481" id="4190" />
-<P2  x="495" y="596" id="4166" />
+<TGConnectingPoint num="0" id="4237" />
+<P1  x="482" y="481" id="4362" />
+<P2  x="495" y="596" id="4338" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4064" >
-<father id="4066" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4236" >
+<father id="4238" num="0" />
 <cdparam x="502" y="512" />
 <sizeparam width="82" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4060" />
-<TGConnectingPoint num="1" id="4061" />
-<TGConnectingPoint num="2" id="4062" />
-<TGConnectingPoint num="3" id="4063" />
+<TGConnectingPoint num="0" id="4232" />
+<TGConnectingPoint num="1" id="4233" />
+<TGConnectingPoint num="2" id="4234" />
+<TGConnectingPoint num="3" id="4235" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -9521,55 +9521,55 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4079" >
+<CONNECTOR type="5102" id="4251" >
 <cdparam x="144" y="428" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="4075" />
-<TGConnectingPoint num="1" id="4076" />
-<TGConnectingPoint num="2" id="4077" />
-<TGConnectingPoint num="3" id="4078" />
-<P1  x="144" y="428" id="4205" />
-<P2  x="337" y="133" id="4246" />
+<TGConnectingPoint num="0" id="4247" />
+<TGConnectingPoint num="1" id="4248" />
+<TGConnectingPoint num="2" id="4249" />
+<TGConnectingPoint num="3" id="4250" />
+<P1  x="144" y="428" id="4377" />
+<P2  x="337" y="133" id="4418" />
 <Point x="144" y="462" />
 <Point x="86" y="462" />
 <Point x="86" y="133" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4067" >
-<father id="4079" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4239" >
+<father id="4251" num="0" />
 <cdparam x="144" y="462" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4068" >
-<father id="4079" num="1" />
+<SUBCOMPONENT type="-1" id="4240" >
+<father id="4251" num="1" />
 <cdparam x="86" y="462" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4069" >
-<father id="4079" num="2" />
+<SUBCOMPONENT type="-1" id="4241" >
+<father id="4251" num="2" />
 <cdparam x="86" y="133" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4074" >
-<father id="4079" num="3" />
+<SUBCOMPONENT type="-1" id="4246" >
+<father id="4251" num="3" />
 <cdparam x="144" y="468" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4070" />
-<TGConnectingPoint num="1" id="4071" />
-<TGConnectingPoint num="2" id="4072" />
-<TGConnectingPoint num="3" id="4073" />
+<TGConnectingPoint num="0" id="4242" />
+<TGConnectingPoint num="1" id="4243" />
+<TGConnectingPoint num="2" id="4244" />
+<TGConnectingPoint num="3" id="4245" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9579,25 +9579,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4086" >
+<CONNECTOR type="5102" id="4258" >
 <cdparam x="378" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="4085" />
-<P1  x="378" y="398" id="4284" />
-<P2  x="144" y="398" id="4204" />
+<TGConnectingPoint num="0" id="4257" />
+<P1  x="378" y="398" id="4456" />
+<P2  x="144" y="398" id="4376" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4084" >
-<father id="4086" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4256" >
+<father id="4258" num="0" />
 <cdparam x="378" y="438" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4080" />
-<TGConnectingPoint num="1" id="4081" />
-<TGConnectingPoint num="2" id="4082" />
-<TGConnectingPoint num="3" id="4083" />
+<TGConnectingPoint num="0" id="4252" />
+<TGConnectingPoint num="1" id="4253" />
+<TGConnectingPoint num="2" id="4254" />
+<TGConnectingPoint num="3" id="4255" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9607,45 +9607,45 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4097" >
+<CONNECTOR type="5102" id="4269" >
 <cdparam x="457" y="578" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="4094" />
-<TGConnectingPoint num="1" id="4095" />
-<TGConnectingPoint num="2" id="4096" />
-<P1  x="458" y="795" id="4271" />
-<P2  x="536" y="398" id="4285" />
+<TGConnectingPoint num="0" id="4266" />
+<TGConnectingPoint num="1" id="4267" />
+<TGConnectingPoint num="2" id="4268" />
+<P1  x="458" y="795" id="4443" />
+<P2  x="536" y="398" id="4457" />
 <Point x="661" y="795" />
 <Point x="661" y="398" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4087" >
-<father id="4097" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4259" >
+<father id="4269" num="0" />
 <cdparam x="661" y="795" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4088" >
-<father id="4097" num="1" />
+<SUBCOMPONENT type="-1" id="4260" >
+<father id="4269" num="1" />
 <cdparam x="661" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4093" >
-<father id="4097" num="2" />
+<SUBCOMPONENT type="-1" id="4265" >
+<father id="4269" num="2" />
 <cdparam x="623" y="527" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4089" />
-<TGConnectingPoint num="1" id="4090" />
-<TGConnectingPoint num="2" id="4091" />
-<TGConnectingPoint num="3" id="4092" />
+<TGConnectingPoint num="0" id="4261" />
+<TGConnectingPoint num="1" id="4262" />
+<TGConnectingPoint num="2" id="4263" />
+<TGConnectingPoint num="3" id="4264" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9655,25 +9655,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4104" >
+<CONNECTOR type="5102" id="4276" >
 <cdparam x="460" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to Send signal" value="null" />
-<TGConnectingPoint num="0" id="4103" />
-<P1  x="458" y="703" id="4268" />
-<P2  x="458" y="765" id="4270" />
+<TGConnectingPoint num="0" id="4275" />
+<P1  x="458" y="703" id="4440" />
+<P2  x="458" y="765" id="4442" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4102" >
-<father id="4104" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4274" >
+<father id="4276" num="0" />
 <cdparam x="474" y="718" />
 <sizeparam width="112" height="60" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4098" />
-<TGConnectingPoint num="1" id="4099" />
-<TGConnectingPoint num="2" id="4100" />
-<TGConnectingPoint num="3" id="4101" />
+<TGConnectingPoint num="0" id="4270" />
+<TGConnectingPoint num="1" id="4271" />
+<TGConnectingPoint num="2" id="4272" />
+<TGConnectingPoint num="3" id="4273" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9687,25 +9687,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4111" >
+<CONNECTOR type="5102" id="4283" >
 <cdparam x="410" y="247" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="4110" />
-<P1  x="387" y="91" id="4322" />
-<P2  x="387" y="127" id="4227" />
+<TGConnectingPoint num="0" id="4282" />
+<P1  x="387" y="91" id="4494" />
+<P2  x="387" y="127" id="4399" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4109" >
-<father id="4111" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4281" >
+<father id="4283" num="0" />
 <cdparam x="410" y="287" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4105" />
-<TGConnectingPoint num="1" id="4106" />
-<TGConnectingPoint num="2" id="4107" />
-<TGConnectingPoint num="3" id="4108" />
+<TGConnectingPoint num="0" id="4277" />
+<TGConnectingPoint num="1" id="4278" />
+<TGConnectingPoint num="2" id="4279" />
+<TGConnectingPoint num="3" id="4280" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9715,25 +9715,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4118" >
+<CONNECTOR type="5102" id="4290" >
 <cdparam x="536" y="423" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4117" />
-<P1  x="457" y="423" id="4287" />
-<P2  x="457" y="456" id="4188" />
+<TGConnectingPoint num="0" id="4289" />
+<P1  x="457" y="423" id="4459" />
+<P2  x="457" y="456" id="4360" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4116" >
-<father id="4118" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4288" >
+<father id="4290" num="0" />
 <cdparam x="228" y="450" />
 <sizeparam width="227" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4112" />
-<TGConnectingPoint num="1" id="4113" />
-<TGConnectingPoint num="2" id="4114" />
-<TGConnectingPoint num="3" id="4115" />
+<TGConnectingPoint num="0" id="4284" />
+<TGConnectingPoint num="1" id="4285" />
+<TGConnectingPoint num="2" id="4286" />
+<TGConnectingPoint num="3" id="4287" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="interframeDelay" />
@@ -9743,25 +9743,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4125" >
+<CONNECTOR type="5102" id="4297" >
 <cdparam x="491" y="198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="4124" />
-<P1  x="374" y="177" id="4255" />
-<P2  x="374" y="208" id="4215" />
+<TGConnectingPoint num="0" id="4296" />
+<P1  x="374" y="177" id="4427" />
+<P2  x="374" y="208" id="4387" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4123" >
-<father id="4125" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4295" >
+<father id="4297" num="0" />
 <cdparam x="491" y="238" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4119" />
-<TGConnectingPoint num="1" id="4120" />
-<TGConnectingPoint num="2" id="4121" />
-<TGConnectingPoint num="3" id="4122" />
+<TGConnectingPoint num="0" id="4291" />
+<TGConnectingPoint num="1" id="4292" />
+<TGConnectingPoint num="2" id="4293" />
+<TGConnectingPoint num="3" id="4294" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9771,25 +9771,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4132" >
+<CONNECTOR type="5102" id="4304" >
 <cdparam x="568" y="205" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="4131" />
-<P1  x="374" y="238" id="4216" />
-<P2  x="436" y="373" id="4298" />
+<TGConnectingPoint num="0" id="4303" />
+<P1  x="374" y="238" id="4388" />
+<P2  x="436" y="373" id="4470" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4130" >
-<father id="4132" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4302" >
+<father id="4304" num="0" />
 <cdparam x="568" y="245" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4126" />
-<TGConnectingPoint num="1" id="4127" />
-<TGConnectingPoint num="2" id="4128" />
-<TGConnectingPoint num="3" id="4129" />
+<TGConnectingPoint num="0" id="4298" />
+<TGConnectingPoint num="1" id="4299" />
+<TGConnectingPoint num="2" id="4300" />
+<TGConnectingPoint num="3" id="4301" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9799,25 +9799,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4139" >
+<CONNECTOR type="5102" id="4311" >
 <cdparam x="457" y="506" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="4138" />
-<P1  x="432" y="481" id="4189" />
-<P2  x="420" y="596" id="4163" />
+<TGConnectingPoint num="0" id="4310" />
+<P1  x="432" y="481" id="4361" />
+<P2  x="420" y="596" id="4335" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4137" >
-<father id="4139" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4309" >
+<father id="4311" num="0" />
 <cdparam x="324" y="530" />
 <sizeparam width="86" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4133" />
-<TGConnectingPoint num="1" id="4134" />
-<TGConnectingPoint num="2" id="4135" />
-<TGConnectingPoint num="3" id="4136" />
+<TGConnectingPoint num="0" id="4305" />
+<TGConnectingPoint num="1" id="4306" />
+<TGConnectingPoint num="2" id="4307" />
+<TGConnectingPoint num="3" id="4308" />
 <extraparam>
 <guard value="[ bottom ]" />
 <afterMin value="" />
@@ -9828,25 +9828,25 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4146" >
+<CONNECTOR type="5102" id="4318" >
 <cdparam x="417" y="574" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4145" />
-<P1  x="458" y="646" id="4153" />
-<P2  x="458" y="673" id="4267" />
+<TGConnectingPoint num="0" id="4317" />
+<P1  x="458" y="646" id="4325" />
+<P2  x="458" y="673" id="4439" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4144" >
-<father id="4146" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4316" >
+<father id="4318" num="0" />
 <cdparam x="417" y="614" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4140" />
-<TGConnectingPoint num="1" id="4141" />
-<TGConnectingPoint num="2" id="4142" />
-<TGConnectingPoint num="3" id="4143" />
+<TGConnectingPoint num="0" id="4312" />
+<TGConnectingPoint num="1" id="4313" />
+<TGConnectingPoint num="2" id="4314" />
+<TGConnectingPoint num="3" id="4315" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9856,301 +9856,301 @@ Command mode:
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5106" id="4187" >
+<COMPONENT type="5106" id="4359" >
 <cdparam x="408" y="596" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingData" />
-<TGConnectingPoint num="0" id="4147" />
-<TGConnectingPoint num="1" id="4148" />
-<TGConnectingPoint num="2" id="4149" />
-<TGConnectingPoint num="3" id="4150" />
-<TGConnectingPoint num="4" id="4151" />
-<TGConnectingPoint num="5" id="4152" />
-<TGConnectingPoint num="6" id="4153" />
-<TGConnectingPoint num="7" id="4154" />
-<TGConnectingPoint num="8" id="4155" />
-<TGConnectingPoint num="9" id="4156" />
-<TGConnectingPoint num="10" id="4157" />
-<TGConnectingPoint num="11" id="4158" />
-<TGConnectingPoint num="12" id="4159" />
-<TGConnectingPoint num="13" id="4160" />
-<TGConnectingPoint num="14" id="4161" />
-<TGConnectingPoint num="15" id="4162" />
-<TGConnectingPoint num="16" id="4163" />
-<TGConnectingPoint num="17" id="4164" />
-<TGConnectingPoint num="18" id="4165" />
-<TGConnectingPoint num="19" id="4166" />
-<TGConnectingPoint num="20" id="4167" />
-<TGConnectingPoint num="21" id="4168" />
-<TGConnectingPoint num="22" id="4169" />
-<TGConnectingPoint num="23" id="4170" />
-<TGConnectingPoint num="24" id="4171" />
-<TGConnectingPoint num="25" id="4172" />
-<TGConnectingPoint num="26" id="4173" />
-<TGConnectingPoint num="27" id="4174" />
-<TGConnectingPoint num="28" id="4175" />
-<TGConnectingPoint num="29" id="4176" />
-<TGConnectingPoint num="30" id="4177" />
-<TGConnectingPoint num="31" id="4178" />
-<TGConnectingPoint num="32" id="4179" />
-<TGConnectingPoint num="33" id="4180" />
-<TGConnectingPoint num="34" id="4181" />
-<TGConnectingPoint num="35" id="4182" />
-<TGConnectingPoint num="36" id="4183" />
-<TGConnectingPoint num="37" id="4184" />
-<TGConnectingPoint num="38" id="4185" />
-<TGConnectingPoint num="39" id="4186" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="4203" >
+<TGConnectingPoint num="0" id="4319" />
+<TGConnectingPoint num="1" id="4320" />
+<TGConnectingPoint num="2" id="4321" />
+<TGConnectingPoint num="3" id="4322" />
+<TGConnectingPoint num="4" id="4323" />
+<TGConnectingPoint num="5" id="4324" />
+<TGConnectingPoint num="6" id="4325" />
+<TGConnectingPoint num="7" id="4326" />
+<TGConnectingPoint num="8" id="4327" />
+<TGConnectingPoint num="9" id="4328" />
+<TGConnectingPoint num="10" id="4329" />
+<TGConnectingPoint num="11" id="4330" />
+<TGConnectingPoint num="12" id="4331" />
+<TGConnectingPoint num="13" id="4332" />
+<TGConnectingPoint num="14" id="4333" />
+<TGConnectingPoint num="15" id="4334" />
+<TGConnectingPoint num="16" id="4335" />
+<TGConnectingPoint num="17" id="4336" />
+<TGConnectingPoint num="18" id="4337" />
+<TGConnectingPoint num="19" id="4338" />
+<TGConnectingPoint num="20" id="4339" />
+<TGConnectingPoint num="21" id="4340" />
+<TGConnectingPoint num="22" id="4341" />
+<TGConnectingPoint num="23" id="4342" />
+<TGConnectingPoint num="24" id="4343" />
+<TGConnectingPoint num="25" id="4344" />
+<TGConnectingPoint num="26" id="4345" />
+<TGConnectingPoint num="27" id="4346" />
+<TGConnectingPoint num="28" id="4347" />
+<TGConnectingPoint num="29" id="4348" />
+<TGConnectingPoint num="30" id="4349" />
+<TGConnectingPoint num="31" id="4350" />
+<TGConnectingPoint num="32" id="4351" />
+<TGConnectingPoint num="33" id="4352" />
+<TGConnectingPoint num="34" id="4353" />
+<TGConnectingPoint num="35" id="4354" />
+<TGConnectingPoint num="36" id="4355" />
+<TGConnectingPoint num="37" id="4356" />
+<TGConnectingPoint num="38" id="4357" />
+<TGConnectingPoint num="39" id="4358" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="4375" >
 <cdparam x="442" y="466" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4188" />
-<TGConnectingPoint num="1" id="4189" />
-<TGConnectingPoint num="2" id="4190" />
-<TGConnectingPoint num="3" id="4191" />
-<TGConnectingPoint num="4" id="4192" />
-<TGConnectingPoint num="5" id="4193" />
-<TGConnectingPoint num="6" id="4194" />
-<TGConnectingPoint num="7" id="4195" />
-<TGConnectingPoint num="8" id="4196" />
-<TGConnectingPoint num="9" id="4197" />
-<TGConnectingPoint num="10" id="4198" />
-<TGConnectingPoint num="11" id="4199" />
-<TGConnectingPoint num="12" id="4200" />
-<TGConnectingPoint num="13" id="4201" />
-<TGConnectingPoint num="14" id="4202" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4214" >
+<TGConnectingPoint num="0" id="4360" />
+<TGConnectingPoint num="1" id="4361" />
+<TGConnectingPoint num="2" id="4362" />
+<TGConnectingPoint num="3" id="4363" />
+<TGConnectingPoint num="4" id="4364" />
+<TGConnectingPoint num="5" id="4365" />
+<TGConnectingPoint num="6" id="4366" />
+<TGConnectingPoint num="7" id="4367" />
+<TGConnectingPoint num="8" id="4368" />
+<TGConnectingPoint num="9" id="4369" />
+<TGConnectingPoint num="10" id="4370" />
+<TGConnectingPoint num="11" id="4371" />
+<TGConnectingPoint num="12" id="4372" />
+<TGConnectingPoint num="13" id="4373" />
+<TGConnectingPoint num="14" id="4374" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="4386" >
 <cdparam x="110" y="403" />
 <sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="stopMe()" />
-<TGConnectingPoint num="0" id="4204" />
-<TGConnectingPoint num="1" id="4205" />
-<TGConnectingPoint num="2" id="4206" />
-<TGConnectingPoint num="3" id="4207" />
-<TGConnectingPoint num="4" id="4208" />
-<TGConnectingPoint num="5" id="4209" />
-<TGConnectingPoint num="6" id="4210" />
-<TGConnectingPoint num="7" id="4211" />
-<TGConnectingPoint num="8" id="4212" />
-<TGConnectingPoint num="9" id="4213" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4225" >
+<TGConnectingPoint num="0" id="4376" />
+<TGConnectingPoint num="1" id="4377" />
+<TGConnectingPoint num="2" id="4378" />
+<TGConnectingPoint num="3" id="4379" />
+<TGConnectingPoint num="4" id="4380" />
+<TGConnectingPoint num="5" id="4381" />
+<TGConnectingPoint num="6" id="4382" />
+<TGConnectingPoint num="7" id="4383" />
+<TGConnectingPoint num="8" id="4384" />
+<TGConnectingPoint num="9" id="4385" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="4397" >
 <cdparam x="340" y="213" />
 <sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="startMe()" />
-<TGConnectingPoint num="0" id="4215" />
-<TGConnectingPoint num="1" id="4216" />
-<TGConnectingPoint num="2" id="4217" />
-<TGConnectingPoint num="3" id="4218" />
-<TGConnectingPoint num="4" id="4219" />
-<TGConnectingPoint num="5" id="4220" />
-<TGConnectingPoint num="6" id="4221" />
-<TGConnectingPoint num="7" id="4222" />
-<TGConnectingPoint num="8" id="4223" />
-<TGConnectingPoint num="9" id="4224" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4266" >
+<TGConnectingPoint num="0" id="4387" />
+<TGConnectingPoint num="1" id="4388" />
+<TGConnectingPoint num="2" id="4389" />
+<TGConnectingPoint num="3" id="4390" />
+<TGConnectingPoint num="4" id="4391" />
+<TGConnectingPoint num="5" id="4392" />
+<TGConnectingPoint num="6" id="4393" />
+<TGConnectingPoint num="7" id="4394" />
+<TGConnectingPoint num="8" id="4395" />
+<TGConnectingPoint num="9" id="4396" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4438" >
 <cdparam x="337" y="127" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitForStart" />
-<TGConnectingPoint num="0" id="4226" />
-<TGConnectingPoint num="1" id="4227" />
-<TGConnectingPoint num="2" id="4228" />
-<TGConnectingPoint num="3" id="4229" />
-<TGConnectingPoint num="4" id="4230" />
-<TGConnectingPoint num="5" id="4231" />
-<TGConnectingPoint num="6" id="4232" />
-<TGConnectingPoint num="7" id="4233" />
-<TGConnectingPoint num="8" id="4234" />
-<TGConnectingPoint num="9" id="4235" />
-<TGConnectingPoint num="10" id="4236" />
-<TGConnectingPoint num="11" id="4237" />
-<TGConnectingPoint num="12" id="4238" />
-<TGConnectingPoint num="13" id="4239" />
-<TGConnectingPoint num="14" id="4240" />
-<TGConnectingPoint num="15" id="4241" />
-<TGConnectingPoint num="16" id="4242" />
-<TGConnectingPoint num="17" id="4243" />
-<TGConnectingPoint num="18" id="4244" />
-<TGConnectingPoint num="19" id="4245" />
-<TGConnectingPoint num="20" id="4246" />
-<TGConnectingPoint num="21" id="4247" />
-<TGConnectingPoint num="22" id="4248" />
-<TGConnectingPoint num="23" id="4249" />
-<TGConnectingPoint num="24" id="4250" />
-<TGConnectingPoint num="25" id="4251" />
-<TGConnectingPoint num="26" id="4252" />
-<TGConnectingPoint num="27" id="4253" />
-<TGConnectingPoint num="28" id="4254" />
-<TGConnectingPoint num="29" id="4255" />
-<TGConnectingPoint num="30" id="4256" />
-<TGConnectingPoint num="31" id="4257" />
-<TGConnectingPoint num="32" id="4258" />
-<TGConnectingPoint num="33" id="4259" />
-<TGConnectingPoint num="34" id="4260" />
-<TGConnectingPoint num="35" id="4261" />
-<TGConnectingPoint num="36" id="4262" />
-<TGConnectingPoint num="37" id="4263" />
-<TGConnectingPoint num="38" id="4264" />
-<TGConnectingPoint num="39" id="4265" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5108" id="4269" >
+<TGConnectingPoint num="0" id="4398" />
+<TGConnectingPoint num="1" id="4399" />
+<TGConnectingPoint num="2" id="4400" />
+<TGConnectingPoint num="3" id="4401" />
+<TGConnectingPoint num="4" id="4402" />
+<TGConnectingPoint num="5" id="4403" />
+<TGConnectingPoint num="6" id="4404" />
+<TGConnectingPoint num="7" id="4405" />
+<TGConnectingPoint num="8" id="4406" />
+<TGConnectingPoint num="9" id="4407" />
+<TGConnectingPoint num="10" id="4408" />
+<TGConnectingPoint num="11" id="4409" />
+<TGConnectingPoint num="12" id="4410" />
+<TGConnectingPoint num="13" id="4411" />
+<TGConnectingPoint num="14" id="4412" />
+<TGConnectingPoint num="15" id="4413" />
+<TGConnectingPoint num="16" id="4414" />
+<TGConnectingPoint num="17" id="4415" />
+<TGConnectingPoint num="18" id="4416" />
+<TGConnectingPoint num="19" id="4417" />
+<TGConnectingPoint num="20" id="4418" />
+<TGConnectingPoint num="21" id="4419" />
+<TGConnectingPoint num="22" id="4420" />
+<TGConnectingPoint num="23" id="4421" />
+<TGConnectingPoint num="24" id="4422" />
+<TGConnectingPoint num="25" id="4423" />
+<TGConnectingPoint num="26" id="4424" />
+<TGConnectingPoint num="27" id="4425" />
+<TGConnectingPoint num="28" id="4426" />
+<TGConnectingPoint num="29" id="4427" />
+<TGConnectingPoint num="30" id="4428" />
+<TGConnectingPoint num="31" id="4429" />
+<TGConnectingPoint num="32" id="4430" />
+<TGConnectingPoint num="33" id="4431" />
+<TGConnectingPoint num="34" id="4432" />
+<TGConnectingPoint num="35" id="4433" />
+<TGConnectingPoint num="36" id="4434" />
+<TGConnectingPoint num="37" id="4435" />
+<TGConnectingPoint num="38" id="4436" />
+<TGConnectingPoint num="39" id="4437" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5108" id="4441" >
 <cdparam x="390" y="678" />
 <sizeparam width="136" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4267" />
-<TGConnectingPoint num="1" id="4268" />
+<TGConnectingPoint num="0" id="4439" />
+<TGConnectingPoint num="1" id="4440" />
 <extraparam>
 <Data variable="x" minValue="0" maxValue="10" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="4280" >
+<COMPONENT type="5103" id="4452" >
 <cdparam x="412" y="770" />
 <sizeparam width="93" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="sendPicture(p)" />
-<TGConnectingPoint num="0" id="4270" />
-<TGConnectingPoint num="1" id="4271" />
-<TGConnectingPoint num="2" id="4272" />
-<TGConnectingPoint num="3" id="4273" />
-<TGConnectingPoint num="4" id="4274" />
-<TGConnectingPoint num="5" id="4275" />
-<TGConnectingPoint num="6" id="4276" />
-<TGConnectingPoint num="7" id="4277" />
-<TGConnectingPoint num="8" id="4278" />
-<TGConnectingPoint num="9" id="4279" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4321" >
+<TGConnectingPoint num="0" id="4442" />
+<TGConnectingPoint num="1" id="4443" />
+<TGConnectingPoint num="2" id="4444" />
+<TGConnectingPoint num="3" id="4445" />
+<TGConnectingPoint num="4" id="4446" />
+<TGConnectingPoint num="5" id="4447" />
+<TGConnectingPoint num="6" id="4448" />
+<TGConnectingPoint num="7" id="4449" />
+<TGConnectingPoint num="8" id="4450" />
+<TGConnectingPoint num="9" id="4451" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4493" >
 <cdparam x="378" y="373" />
 <sizeparam width="158" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForNextPicture" />
-<TGConnectingPoint num="0" id="4281" />
-<TGConnectingPoint num="1" id="4282" />
-<TGConnectingPoint num="2" id="4283" />
-<TGConnectingPoint num="3" id="4284" />
-<TGConnectingPoint num="4" id="4285" />
-<TGConnectingPoint num="5" id="4286" />
-<TGConnectingPoint num="6" id="4287" />
-<TGConnectingPoint num="7" id="4288" />
-<TGConnectingPoint num="8" id="4289" />
-<TGConnectingPoint num="9" id="4290" />
-<TGConnectingPoint num="10" id="4291" />
-<TGConnectingPoint num="11" id="4292" />
-<TGConnectingPoint num="12" id="4293" />
-<TGConnectingPoint num="13" id="4294" />
-<TGConnectingPoint num="14" id="4295" />
-<TGConnectingPoint num="15" id="4296" />
-<TGConnectingPoint num="16" id="4297" />
-<TGConnectingPoint num="17" id="4298" />
-<TGConnectingPoint num="18" id="4299" />
-<TGConnectingPoint num="19" id="4300" />
-<TGConnectingPoint num="20" id="4301" />
-<TGConnectingPoint num="21" id="4302" />
-<TGConnectingPoint num="22" id="4303" />
-<TGConnectingPoint num="23" id="4304" />
-<TGConnectingPoint num="24" id="4305" />
-<TGConnectingPoint num="25" id="4306" />
-<TGConnectingPoint num="26" id="4307" />
-<TGConnectingPoint num="27" id="4308" />
-<TGConnectingPoint num="28" id="4309" />
-<TGConnectingPoint num="29" id="4310" />
-<TGConnectingPoint num="30" id="4311" />
-<TGConnectingPoint num="31" id="4312" />
-<TGConnectingPoint num="32" id="4313" />
-<TGConnectingPoint num="33" id="4314" />
-<TGConnectingPoint num="34" id="4315" />
-<TGConnectingPoint num="35" id="4316" />
-<TGConnectingPoint num="36" id="4317" />
-<TGConnectingPoint num="37" id="4318" />
-<TGConnectingPoint num="38" id="4319" />
-<TGConnectingPoint num="39" id="4320" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4323" >
+<TGConnectingPoint num="0" id="4453" />
+<TGConnectingPoint num="1" id="4454" />
+<TGConnectingPoint num="2" id="4455" />
+<TGConnectingPoint num="3" id="4456" />
+<TGConnectingPoint num="4" id="4457" />
+<TGConnectingPoint num="5" id="4458" />
+<TGConnectingPoint num="6" id="4459" />
+<TGConnectingPoint num="7" id="4460" />
+<TGConnectingPoint num="8" id="4461" />
+<TGConnectingPoint num="9" id="4462" />
+<TGConnectingPoint num="10" id="4463" />
+<TGConnectingPoint num="11" id="4464" />
+<TGConnectingPoint num="12" id="4465" />
+<TGConnectingPoint num="13" id="4466" />
+<TGConnectingPoint num="14" id="4467" />
+<TGConnectingPoint num="15" id="4468" />
+<TGConnectingPoint num="16" id="4469" />
+<TGConnectingPoint num="17" id="4470" />
+<TGConnectingPoint num="18" id="4471" />
+<TGConnectingPoint num="19" id="4472" />
+<TGConnectingPoint num="20" id="4473" />
+<TGConnectingPoint num="21" id="4474" />
+<TGConnectingPoint num="22" id="4475" />
+<TGConnectingPoint num="23" id="4476" />
+<TGConnectingPoint num="24" id="4477" />
+<TGConnectingPoint num="25" id="4478" />
+<TGConnectingPoint num="26" id="4479" />
+<TGConnectingPoint num="27" id="4480" />
+<TGConnectingPoint num="28" id="4481" />
+<TGConnectingPoint num="29" id="4482" />
+<TGConnectingPoint num="30" id="4483" />
+<TGConnectingPoint num="31" id="4484" />
+<TGConnectingPoint num="32" id="4485" />
+<TGConnectingPoint num="33" id="4486" />
+<TGConnectingPoint num="34" id="4487" />
+<TGConnectingPoint num="35" id="4488" />
+<TGConnectingPoint num="36" id="4489" />
+<TGConnectingPoint num="37" id="4490" />
+<TGConnectingPoint num="38" id="4491" />
+<TGConnectingPoint num="39" id="4492" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="4495" >
 <cdparam x="380" y="71" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4322" />
+<TGConnectingPoint num="0" id="4494" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="4364" >
+<COMPONENT type="5106" id="4536" >
 <cdparam x="219" y="345" />
 <sizeparam width="485" height="494" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="Started" />
-<TGConnectingPoint num="0" id="4324" />
-<TGConnectingPoint num="1" id="4325" />
-<TGConnectingPoint num="2" id="4326" />
-<TGConnectingPoint num="3" id="4327" />
-<TGConnectingPoint num="4" id="4328" />
-<TGConnectingPoint num="5" id="4329" />
-<TGConnectingPoint num="6" id="4330" />
-<TGConnectingPoint num="7" id="4331" />
-<TGConnectingPoint num="8" id="4332" />
-<TGConnectingPoint num="9" id="4333" />
-<TGConnectingPoint num="10" id="4334" />
-<TGConnectingPoint num="11" id="4335" />
-<TGConnectingPoint num="12" id="4336" />
-<TGConnectingPoint num="13" id="4337" />
-<TGConnectingPoint num="14" id="4338" />
-<TGConnectingPoint num="15" id="4339" />
-<TGConnectingPoint num="16" id="4340" />
-<TGConnectingPoint num="17" id="4341" />
-<TGConnectingPoint num="18" id="4342" />
-<TGConnectingPoint num="19" id="4343" />
-<TGConnectingPoint num="20" id="4344" />
-<TGConnectingPoint num="21" id="4345" />
-<TGConnectingPoint num="22" id="4346" />
-<TGConnectingPoint num="23" id="4347" />
-<TGConnectingPoint num="24" id="4348" />
-<TGConnectingPoint num="25" id="4349" />
-<TGConnectingPoint num="26" id="4350" />
-<TGConnectingPoint num="27" id="4351" />
-<TGConnectingPoint num="28" id="4352" />
-<TGConnectingPoint num="29" id="4353" />
-<TGConnectingPoint num="30" id="4354" />
-<TGConnectingPoint num="31" id="4355" />
-<TGConnectingPoint num="32" id="4356" />
-<TGConnectingPoint num="33" id="4357" />
-<TGConnectingPoint num="34" id="4358" />
-<TGConnectingPoint num="35" id="4359" />
-<TGConnectingPoint num="36" id="4360" />
-<TGConnectingPoint num="37" id="4361" />
-<TGConnectingPoint num="38" id="4362" />
-<TGConnectingPoint num="39" id="4363" />
+<TGConnectingPoint num="0" id="4496" />
+<TGConnectingPoint num="1" id="4497" />
+<TGConnectingPoint num="2" id="4498" />
+<TGConnectingPoint num="3" id="4499" />
+<TGConnectingPoint num="4" id="4500" />
+<TGConnectingPoint num="5" id="4501" />
+<TGConnectingPoint num="6" id="4502" />
+<TGConnectingPoint num="7" id="4503" />
+<TGConnectingPoint num="8" id="4504" />
+<TGConnectingPoint num="9" id="4505" />
+<TGConnectingPoint num="10" id="4506" />
+<TGConnectingPoint num="11" id="4507" />
+<TGConnectingPoint num="12" id="4508" />
+<TGConnectingPoint num="13" id="4509" />
+<TGConnectingPoint num="14" id="4510" />
+<TGConnectingPoint num="15" id="4511" />
+<TGConnectingPoint num="16" id="4512" />
+<TGConnectingPoint num="17" id="4513" />
+<TGConnectingPoint num="18" id="4514" />
+<TGConnectingPoint num="19" id="4515" />
+<TGConnectingPoint num="20" id="4516" />
+<TGConnectingPoint num="21" id="4517" />
+<TGConnectingPoint num="22" id="4518" />
+<TGConnectingPoint num="23" id="4519" />
+<TGConnectingPoint num="24" id="4520" />
+<TGConnectingPoint num="25" id="4521" />
+<TGConnectingPoint num="26" id="4522" />
+<TGConnectingPoint num="27" id="4523" />
+<TGConnectingPoint num="28" id="4524" />
+<TGConnectingPoint num="29" id="4525" />
+<TGConnectingPoint num="30" id="4526" />
+<TGConnectingPoint num="31" id="4527" />
+<TGConnectingPoint num="32" id="4528" />
+<TGConnectingPoint num="33" id="4529" />
+<TGConnectingPoint num="34" id="4530" />
+<TGConnectingPoint num="35" id="4531" />
+<TGConnectingPoint num="36" id="4532" />
+<TGConnectingPoint num="37" id="4533" />
+<TGConnectingPoint num="38" id="4534" />
+<TGConnectingPoint num="39" id="4535" />
 <extraparam>
 </extraparam>
 </COMPONENT>
@@ -10171,21 +10171,21 @@ Command mode:
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="118" id="4365" >
+<CONNECTOR type="118" id="4537" >
 <cdparam x="591" y="248" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from UML Note to DataType0" value="null" />
-<P1  x="591" y="248" id="4379" />
-<P2  x="558" y="226" id="4560" />
+<P1  x="588" y="248" id="4551" />
+<P2  x="558" y="226" id="4732" />
 <AutomaticDrawing  data="false" />
 </CONNECTOR>
-<CONNECTOR type="5002" id="4367" >
+<CONNECTOR type="5002" id="4539" >
 <cdparam x="246" y="214" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="4366" />
-<P1  x="127" y="142" id="4401" />
-<P2  x="128" y="159" id="4480" />
+<TGConnectingPoint num="0" id="4538" />
+<P1  x="127" y="142" id="4573" />
+<P2  x="128" y="159" id="4652" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in compute(Picture p)" />
@@ -10195,13 +10195,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="4369" >
+<CONNECTOR type="5002" id="4541" >
 <cdparam x="397" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="4368" />
-<P1  x="241" y="230" id="4490" />
-<P2  x="307" y="97" id="4539" />
+<TGConnectingPoint num="0" id="4540" />
+<P1  x="241" y="230" id="4662" />
+<P2  x="307" y="97" id="4711" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <isd value="in stopMe()" />
@@ -10211,13 +10211,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="4371" >
+<CONNECTOR type="5002" id="4543" >
 <cdparam x="397" y="478" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="4370" />
-<P1  x="241" y="446" id="4486" />
-<P2  x="305" y="470" id="4423" />
+<TGConnectingPoint num="0" id="4542" />
+<P1  x="241" y="446" id="4658" />
+<P2  x="305" y="470" id="4595" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in reach(int place)" />
@@ -10233,13 +10233,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="4373" >
+<CONNECTOR type="5002" id="4545" >
 <cdparam x="248" y="516" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="4372" />
-<P1  x="129" y="471" id="4455" />
-<P2  x="128" y="446" id="4485" />
+<TGConnectingPoint num="0" id="4544" />
+<P1  x="129" y="471" id="4627" />
+<P2  x="128" y="446" id="4657" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in compute(Picture p)" />
@@ -10249,13 +10249,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="4375" >
+<CONNECTOR type="5002" id="4547" >
 <cdparam x="424" y="294" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="4374" />
-<P1  x="241" y="374" id="4492" />
-<P2  x="309" y="283" id="4507" />
+<TGConnectingPoint num="0" id="4546" />
+<P1  x="241" y="374" id="4664" />
+<P2  x="309" y="283" id="4679" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in getPosition(Command p)" />
@@ -10265,13 +10265,13 @@ Command mode:
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="4377" >
+<CONNECTOR type="5002" id="4549" >
 <cdparam x="333" y="193" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="4376" />
-<P1  x="241" y="302" id="4483" />
-<P2  x="307" y="133" id="4532" />
+<TGConnectingPoint num="0" id="4548" />
+<P1  x="241" y="302" id="4655" />
+<P2  x="307" y="133" id="4704" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in readNextPicture(Picture p)" />
@@ -10279,9 +10279,9 @@ Command mode:
 <FIFOType asynchronous="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<COMPONENT type="301" id="4394" >
+<COMPONENT type="301" id="4566" >
 <cdparam x="506" y="248" />
-<sizeparam width="170" height="159" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="165" height="159" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="UML Note" value="Command values:
@@ -10298,22 +10298,22 @@ pitch, roll and yaw
 1: takeOff
 2: land
 " />
-<TGConnectingPoint num="0" id="4378" />
-<TGConnectingPoint num="1" id="4379" />
-<TGConnectingPoint num="2" id="4380" />
-<TGConnectingPoint num="3" id="4381" />
-<TGConnectingPoint num="4" id="4382" />
-<TGConnectingPoint num="5" id="4383" />
-<TGConnectingPoint num="6" id="4384" />
-<TGConnectingPoint num="7" id="4385" />
-<TGConnectingPoint num="8" id="4386" />
-<TGConnectingPoint num="9" id="4387" />
-<TGConnectingPoint num="10" id="4388" />
-<TGConnectingPoint num="11" id="4389" />
-<TGConnectingPoint num="12" id="4390" />
-<TGConnectingPoint num="13" id="4391" />
-<TGConnectingPoint num="14" id="4392" />
-<TGConnectingPoint num="15" id="4393" />
+<TGConnectingPoint num="0" id="4550" />
+<TGConnectingPoint num="1" id="4551" />
+<TGConnectingPoint num="2" id="4552" />
+<TGConnectingPoint num="3" id="4553" />
+<TGConnectingPoint num="4" id="4554" />
+<TGConnectingPoint num="5" id="4555" />
+<TGConnectingPoint num="6" id="4556" />
+<TGConnectingPoint num="7" id="4557" />
+<TGConnectingPoint num="8" id="4558" />
+<TGConnectingPoint num="9" id="4559" />
+<TGConnectingPoint num="10" id="4560" />
+<TGConnectingPoint num="11" id="4561" />
+<TGConnectingPoint num="12" id="4562" />
+<TGConnectingPoint num="13" id="4563" />
+<TGConnectingPoint num="14" id="4564" />
+<TGConnectingPoint num="15" id="4565" />
 <extraparam>
 <Line value="Command values:" />
 <Line value="---------------------" />
@@ -10331,36 +10331,36 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4419" >
+<COMPONENT type="5000" id="4591" >
 <cdparam x="16" y="10" />
 <sizeparam width="223" height="132" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="CrossingRecognition" />
-<TGConnectingPoint num="0" id="4395" />
-<TGConnectingPoint num="1" id="4396" />
-<TGConnectingPoint num="2" id="4397" />
-<TGConnectingPoint num="3" id="4398" />
-<TGConnectingPoint num="4" id="4399" />
-<TGConnectingPoint num="5" id="4400" />
-<TGConnectingPoint num="6" id="4401" />
-<TGConnectingPoint num="7" id="4402" />
-<TGConnectingPoint num="8" id="4403" />
-<TGConnectingPoint num="9" id="4404" />
-<TGConnectingPoint num="10" id="4405" />
-<TGConnectingPoint num="11" id="4406" />
-<TGConnectingPoint num="12" id="4407" />
-<TGConnectingPoint num="13" id="4408" />
-<TGConnectingPoint num="14" id="4409" />
-<TGConnectingPoint num="15" id="4410" />
-<TGConnectingPoint num="16" id="4411" />
-<TGConnectingPoint num="17" id="4412" />
-<TGConnectingPoint num="18" id="4413" />
-<TGConnectingPoint num="19" id="4414" />
-<TGConnectingPoint num="20" id="4415" />
-<TGConnectingPoint num="21" id="4416" />
-<TGConnectingPoint num="22" id="4417" />
-<TGConnectingPoint num="23" id="4418" />
+<TGConnectingPoint num="0" id="4567" />
+<TGConnectingPoint num="1" id="4568" />
+<TGConnectingPoint num="2" id="4569" />
+<TGConnectingPoint num="3" id="4570" />
+<TGConnectingPoint num="4" id="4571" />
+<TGConnectingPoint num="5" id="4572" />
+<TGConnectingPoint num="6" id="4573" />
+<TGConnectingPoint num="7" id="4574" />
+<TGConnectingPoint num="8" id="4575" />
+<TGConnectingPoint num="9" id="4576" />
+<TGConnectingPoint num="10" id="4577" />
+<TGConnectingPoint num="11" id="4578" />
+<TGConnectingPoint num="12" id="4579" />
+<TGConnectingPoint num="13" id="4580" />
+<TGConnectingPoint num="14" id="4581" />
+<TGConnectingPoint num="15" id="4582" />
+<TGConnectingPoint num="16" id="4583" />
+<TGConnectingPoint num="17" id="4584" />
+<TGConnectingPoint num="18" id="4585" />
+<TGConnectingPoint num="19" id="4586" />
+<TGConnectingPoint num="20" id="4587" />
+<TGConnectingPoint num="21" id="4588" />
+<TGConnectingPoint num="22" id="4589" />
+<TGConnectingPoint num="23" id="4590" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="foundI" value="" type="8" typeOther="" />
@@ -10373,36 +10373,36 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4444" >
+<COMPONENT type="5000" id="4616" >
 <cdparam x="305" y="399" />
 <sizeparam width="186" height="143" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="RemoteUser" />
-<TGConnectingPoint num="0" id="4420" />
-<TGConnectingPoint num="1" id="4421" />
-<TGConnectingPoint num="2" id="4422" />
-<TGConnectingPoint num="3" id="4423" />
-<TGConnectingPoint num="4" id="4424" />
-<TGConnectingPoint num="5" id="4425" />
-<TGConnectingPoint num="6" id="4426" />
-<TGConnectingPoint num="7" id="4427" />
-<TGConnectingPoint num="8" id="4428" />
-<TGConnectingPoint num="9" id="4429" />
-<TGConnectingPoint num="10" id="4430" />
-<TGConnectingPoint num="11" id="4431" />
-<TGConnectingPoint num="12" id="4432" />
-<TGConnectingPoint num="13" id="4433" />
-<TGConnectingPoint num="14" id="4434" />
-<TGConnectingPoint num="15" id="4435" />
-<TGConnectingPoint num="16" id="4436" />
-<TGConnectingPoint num="17" id="4437" />
-<TGConnectingPoint num="18" id="4438" />
-<TGConnectingPoint num="19" id="4439" />
-<TGConnectingPoint num="20" id="4440" />
-<TGConnectingPoint num="21" id="4441" />
-<TGConnectingPoint num="22" id="4442" />
-<TGConnectingPoint num="23" id="4443" />
+<TGConnectingPoint num="0" id="4592" />
+<TGConnectingPoint num="1" id="4593" />
+<TGConnectingPoint num="2" id="4594" />
+<TGConnectingPoint num="3" id="4595" />
+<TGConnectingPoint num="4" id="4596" />
+<TGConnectingPoint num="5" id="4597" />
+<TGConnectingPoint num="6" id="4598" />
+<TGConnectingPoint num="7" id="4599" />
+<TGConnectingPoint num="8" id="4600" />
+<TGConnectingPoint num="9" id="4601" />
+<TGConnectingPoint num="10" id="4602" />
+<TGConnectingPoint num="11" id="4603" />
+<TGConnectingPoint num="12" id="4604" />
+<TGConnectingPoint num="13" id="4605" />
+<TGConnectingPoint num="14" id="4606" />
+<TGConnectingPoint num="15" id="4607" />
+<TGConnectingPoint num="16" id="4608" />
+<TGConnectingPoint num="17" id="4609" />
+<TGConnectingPoint num="18" id="4610" />
+<TGConnectingPoint num="19" id="4611" />
+<TGConnectingPoint num="20" id="4612" />
+<TGConnectingPoint num="21" id="4613" />
+<TGConnectingPoint num="22" id="4614" />
+<TGConnectingPoint num="23" id="4615" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="place" value="" type="8" typeOther="" />
@@ -10416,20 +10416,20 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="4453" >
+<COMPONENT type="5003" id="4625" >
 <cdparam x="507" y="17" />
 <sizeparam width="102" height="104" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Picture" />
-<TGConnectingPoint num="0" id="4445" />
-<TGConnectingPoint num="1" id="4446" />
-<TGConnectingPoint num="2" id="4447" />
-<TGConnectingPoint num="3" id="4448" />
-<TGConnectingPoint num="4" id="4449" />
-<TGConnectingPoint num="5" id="4450" />
-<TGConnectingPoint num="6" id="4451" />
-<TGConnectingPoint num="7" id="4452" />
+<TGConnectingPoint num="0" id="4617" />
+<TGConnectingPoint num="1" id="4618" />
+<TGConnectingPoint num="2" id="4619" />
+<TGConnectingPoint num="3" id="4620" />
+<TGConnectingPoint num="4" id="4621" />
+<TGConnectingPoint num="5" id="4622" />
+<TGConnectingPoint num="6" id="4623" />
+<TGConnectingPoint num="7" id="4624" />
 <extraparam>
 <Attribute access="0" id="sizeH" value="0" type="8" typeOther="" />
 <Attribute access="0" id="sizeV" value="0" type="8" typeOther="" />
@@ -10438,36 +10438,36 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4478" >
+<COMPONENT type="5000" id="4650" >
 <cdparam x="10" y="471" />
 <sizeparam width="239" height="146" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="ThreeDRecognitionAlgorithm" />
-<TGConnectingPoint num="0" id="4454" />
-<TGConnectingPoint num="1" id="4455" />
-<TGConnectingPoint num="2" id="4456" />
-<TGConnectingPoint num="3" id="4457" />
-<TGConnectingPoint num="4" id="4458" />
-<TGConnectingPoint num="5" id="4459" />
-<TGConnectingPoint num="6" id="4460" />
-<TGConnectingPoint num="7" id="4461" />
-<TGConnectingPoint num="8" id="4462" />
-<TGConnectingPoint num="9" id="4463" />
-<TGConnectingPoint num="10" id="4464" />
-<TGConnectingPoint num="11" id="4465" />
-<TGConnectingPoint num="12" id="4466" />
-<TGConnectingPoint num="13" id="4467" />
-<TGConnectingPoint num="14" id="4468" />
-<TGConnectingPoint num="15" id="4469" />
-<TGConnectingPoint num="16" id="4470" />
-<TGConnectingPoint num="17" id="4471" />
-<TGConnectingPoint num="18" id="4472" />
-<TGConnectingPoint num="19" id="4473" />
-<TGConnectingPoint num="20" id="4474" />
-<TGConnectingPoint num="21" id="4475" />
-<TGConnectingPoint num="22" id="4476" />
-<TGConnectingPoint num="23" id="4477" />
+<TGConnectingPoint num="0" id="4626" />
+<TGConnectingPoint num="1" id="4627" />
+<TGConnectingPoint num="2" id="4628" />
+<TGConnectingPoint num="3" id="4629" />
+<TGConnectingPoint num="4" id="4630" />
+<TGConnectingPoint num="5" id="4631" />
+<TGConnectingPoint num="6" id="4632" />
+<TGConnectingPoint num="7" id="4633" />
+<TGConnectingPoint num="8" id="4634" />
+<TGConnectingPoint num="9" id="4635" />
+<TGConnectingPoint num="10" id="4636" />
+<TGConnectingPoint num="11" id="4637" />
+<TGConnectingPoint num="12" id="4638" />
+<TGConnectingPoint num="13" id="4639" />
+<TGConnectingPoint num="14" id="4640" />
+<TGConnectingPoint num="15" id="4641" />
+<TGConnectingPoint num="16" id="4642" />
+<TGConnectingPoint num="17" id="4643" />
+<TGConnectingPoint num="18" id="4644" />
+<TGConnectingPoint num="19" id="4645" />
+<TGConnectingPoint num="20" id="4646" />
+<TGConnectingPoint num="21" id="4647" />
+<TGConnectingPoint num="22" id="4648" />
+<TGConnectingPoint num="23" id="4649" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="found" value="false" type="4" typeOther="" />
@@ -10481,36 +10481,36 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4503" >
+<COMPONENT type="5000" id="4675" >
 <cdparam x="16" y="159" />
 <sizeparam width="225" height="287" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="MainController" />
-<TGConnectingPoint num="0" id="4479" />
-<TGConnectingPoint num="1" id="4480" />
-<TGConnectingPoint num="2" id="4481" />
-<TGConnectingPoint num="3" id="4482" />
-<TGConnectingPoint num="4" id="4483" />
-<TGConnectingPoint num="5" id="4484" />
-<TGConnectingPoint num="6" id="4485" />
-<TGConnectingPoint num="7" id="4486" />
-<TGConnectingPoint num="8" id="4487" />
-<TGConnectingPoint num="9" id="4488" />
-<TGConnectingPoint num="10" id="4489" />
-<TGConnectingPoint num="11" id="4490" />
-<TGConnectingPoint num="12" id="4491" />
-<TGConnectingPoint num="13" id="4492" />
-<TGConnectingPoint num="14" id="4493" />
-<TGConnectingPoint num="15" id="4494" />
-<TGConnectingPoint num="16" id="4495" />
-<TGConnectingPoint num="17" id="4496" />
-<TGConnectingPoint num="18" id="4497" />
-<TGConnectingPoint num="19" id="4498" />
-<TGConnectingPoint num="20" id="4499" />
-<TGConnectingPoint num="21" id="4500" />
-<TGConnectingPoint num="22" id="4501" />
-<TGConnectingPoint num="23" id="4502" />
+<TGConnectingPoint num="0" id="4651" />
+<TGConnectingPoint num="1" id="4652" />
+<TGConnectingPoint num="2" id="4653" />
+<TGConnectingPoint num="3" id="4654" />
+<TGConnectingPoint num="4" id="4655" />
+<TGConnectingPoint num="5" id="4656" />
+<TGConnectingPoint num="6" id="4657" />
+<TGConnectingPoint num="7" id="4658" />
+<TGConnectingPoint num="8" id="4659" />
+<TGConnectingPoint num="9" id="4660" />
+<TGConnectingPoint num="10" id="4661" />
+<TGConnectingPoint num="11" id="4662" />
+<TGConnectingPoint num="12" id="4663" />
+<TGConnectingPoint num="13" id="4664" />
+<TGConnectingPoint num="14" id="4665" />
+<TGConnectingPoint num="15" id="4666" />
+<TGConnectingPoint num="16" id="4667" />
+<TGConnectingPoint num="17" id="4668" />
+<TGConnectingPoint num="18" id="4669" />
+<TGConnectingPoint num="19" id="4670" />
+<TGConnectingPoint num="20" id="4671" />
+<TGConnectingPoint num="21" id="4672" />
+<TGConnectingPoint num="22" id="4673" />
+<TGConnectingPoint num="23" id="4674" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="nbOfCrossings" value="" type="8" typeOther="" />
@@ -10541,36 +10541,36 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4528" >
+<COMPONENT type="5000" id="4700" >
 <cdparam x="309" y="234" />
 <sizeparam width="179" height="99" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="EngineController" />
-<TGConnectingPoint num="0" id="4504" />
-<TGConnectingPoint num="1" id="4505" />
-<TGConnectingPoint num="2" id="4506" />
-<TGConnectingPoint num="3" id="4507" />
-<TGConnectingPoint num="4" id="4508" />
-<TGConnectingPoint num="5" id="4509" />
-<TGConnectingPoint num="6" id="4510" />
-<TGConnectingPoint num="7" id="4511" />
-<TGConnectingPoint num="8" id="4512" />
-<TGConnectingPoint num="9" id="4513" />
-<TGConnectingPoint num="10" id="4514" />
-<TGConnectingPoint num="11" id="4515" />
-<TGConnectingPoint num="12" id="4516" />
-<TGConnectingPoint num="13" id="4517" />
-<TGConnectingPoint num="14" id="4518" />
-<TGConnectingPoint num="15" id="4519" />
-<TGConnectingPoint num="16" id="4520" />
-<TGConnectingPoint num="17" id="4521" />
-<TGConnectingPoint num="18" id="4522" />
-<TGConnectingPoint num="19" id="4523" />
-<TGConnectingPoint num="20" id="4524" />
-<TGConnectingPoint num="21" id="4525" />
-<TGConnectingPoint num="22" id="4526" />
-<TGConnectingPoint num="23" id="4527" />
+<TGConnectingPoint num="0" id="4676" />
+<TGConnectingPoint num="1" id="4677" />
+<TGConnectingPoint num="2" id="4678" />
+<TGConnectingPoint num="3" id="4679" />
+<TGConnectingPoint num="4" id="4680" />
+<TGConnectingPoint num="5" id="4681" />
+<TGConnectingPoint num="6" id="4682" />
+<TGConnectingPoint num="7" id="4683" />
+<TGConnectingPoint num="8" id="4684" />
+<TGConnectingPoint num="9" id="4685" />
+<TGConnectingPoint num="10" id="4686" />
+<TGConnectingPoint num="11" id="4687" />
+<TGConnectingPoint num="12" id="4688" />
+<TGConnectingPoint num="13" id="4689" />
+<TGConnectingPoint num="14" id="4690" />
+<TGConnectingPoint num="15" id="4691" />
+<TGConnectingPoint num="16" id="4692" />
+<TGConnectingPoint num="17" id="4693" />
+<TGConnectingPoint num="18" id="4694" />
+<TGConnectingPoint num="19" id="4695" />
+<TGConnectingPoint num="20" id="4696" />
+<TGConnectingPoint num="21" id="4697" />
+<TGConnectingPoint num="22" id="4698" />
+<TGConnectingPoint num="23" id="4699" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="lastCommand" value="" type="5" typeOther="Command" />
@@ -10580,36 +10580,36 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4553" >
+<COMPONENT type="5000" id="4725" >
 <cdparam x="307" y="62" />
 <sizeparam width="179" height="142" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="Camera" />
-<TGConnectingPoint num="0" id="4529" />
-<TGConnectingPoint num="1" id="4530" />
-<TGConnectingPoint num="2" id="4531" />
-<TGConnectingPoint num="3" id="4532" />
-<TGConnectingPoint num="4" id="4533" />
-<TGConnectingPoint num="5" id="4534" />
-<TGConnectingPoint num="6" id="4535" />
-<TGConnectingPoint num="7" id="4536" />
-<TGConnectingPoint num="8" id="4537" />
-<TGConnectingPoint num="9" id="4538" />
-<TGConnectingPoint num="10" id="4539" />
-<TGConnectingPoint num="11" id="4540" />
-<TGConnectingPoint num="12" id="4541" />
-<TGConnectingPoint num="13" id="4542" />
-<TGConnectingPoint num="14" id="4543" />
-<TGConnectingPoint num="15" id="4544" />
-<TGConnectingPoint num="16" id="4545" />
-<TGConnectingPoint num="17" id="4546" />
-<TGConnectingPoint num="18" id="4547" />
-<TGConnectingPoint num="19" id="4548" />
-<TGConnectingPoint num="20" id="4549" />
-<TGConnectingPoint num="21" id="4550" />
-<TGConnectingPoint num="22" id="4551" />
-<TGConnectingPoint num="23" id="4552" />
+<TGConnectingPoint num="0" id="4701" />
+<TGConnectingPoint num="1" id="4702" />
+<TGConnectingPoint num="2" id="4703" />
+<TGConnectingPoint num="3" id="4704" />
+<TGConnectingPoint num="4" id="4705" />
+<TGConnectingPoint num="5" id="4706" />
+<TGConnectingPoint num="6" id="4707" />
+<TGConnectingPoint num="7" id="4708" />
+<TGConnectingPoint num="8" id="4709" />
+<TGConnectingPoint num="9" id="4710" />
+<TGConnectingPoint num="10" id="4711" />
+<TGConnectingPoint num="11" id="4712" />
+<TGConnectingPoint num="12" id="4713" />
+<TGConnectingPoint num="13" id="4714" />
+<TGConnectingPoint num="14" id="4715" />
+<TGConnectingPoint num="15" id="4716" />
+<TGConnectingPoint num="16" id="4717" />
+<TGConnectingPoint num="17" id="4718" />
+<TGConnectingPoint num="18" id="4719" />
+<TGConnectingPoint num="19" id="4720" />
+<TGConnectingPoint num="20" id="4721" />
+<TGConnectingPoint num="21" id="4722" />
+<TGConnectingPoint num="22" id="4723" />
+<TGConnectingPoint num="23" id="4724" />
 <extraparam>
 <CryptoBlock value="false" />
 <Attribute access="0" id="p" value="" type="5" typeOther="Picture" />
@@ -10622,20 +10622,20 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="4562" >
+<COMPONENT type="5003" id="4734" >
 <cdparam x="506" y="135" />
 <sizeparam width="104" height="91" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Command" />
-<TGConnectingPoint num="0" id="4554" />
-<TGConnectingPoint num="1" id="4555" />
-<TGConnectingPoint num="2" id="4556" />
-<TGConnectingPoint num="3" id="4557" />
-<TGConnectingPoint num="4" id="4558" />
-<TGConnectingPoint num="5" id="4559" />
-<TGConnectingPoint num="6" id="4560" />
-<TGConnectingPoint num="7" id="4561" />
+<TGConnectingPoint num="0" id="4726" />
+<TGConnectingPoint num="1" id="4727" />
+<TGConnectingPoint num="2" id="4728" />
+<TGConnectingPoint num="3" id="4729" />
+<TGConnectingPoint num="4" id="4730" />
+<TGConnectingPoint num="5" id="4731" />
+<TGConnectingPoint num="6" id="4732" />
+<TGConnectingPoint num="7" id="4733" />
 <extraparam>
 <Attribute access="0" id="pitch" value="" type="8" typeOther="" />
 <Attribute access="0" id="roll" value="" type="8" typeOther="" />
@@ -10648,35 +10648,35 @@ pitch, roll and yaw
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="CrossingRecognition" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="4571" >
+<CONNECTOR type="5102" id="4743" >
 <cdparam x="470" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4569" />
-<TGConnectingPoint num="1" id="4570" />
-<P1  x="470" y="377" id="4686" />
-<P2  x="502" y="523" id="4659" />
+<TGConnectingPoint num="0" id="4741" />
+<TGConnectingPoint num="1" id="4742" />
+<P1  x="470" y="377" id="4858" />
+<P2  x="502" y="523" id="4831" />
 <Point x="534" y="428" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4563" >
-<father id="4571" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4735" >
+<father id="4743" num="0" />
 <cdparam x="534" y="428" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4568" >
-<father id="4571" num="1" />
+<SUBCOMPONENT type="-1" id="4740" >
+<father id="4743" num="1" />
 <cdparam x="514" y="378" />
 <sizeparam width="78" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4564" />
-<TGConnectingPoint num="1" id="4565" />
-<TGConnectingPoint num="2" id="4566" />
-<TGConnectingPoint num="3" id="4567" />
+<TGConnectingPoint num="0" id="4736" />
+<TGConnectingPoint num="1" id="4737" />
+<TGConnectingPoint num="2" id="4738" />
+<TGConnectingPoint num="3" id="4739" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -10687,25 +10687,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4578" >
+<CONNECTOR type="5102" id="4750" >
 <cdparam x="463" y="573" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="4577" />
-<P1  x="463" y="573" id="4670" />
-<P2  x="463" y="610" id="4629" />
+<TGConnectingPoint num="0" id="4749" />
+<P1  x="463" y="573" id="4842" />
+<P2  x="463" y="610" id="4801" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4576" >
-<father id="4578" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4748" >
+<father id="4750" num="0" />
 <cdparam x="463" y="613" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4572" />
-<TGConnectingPoint num="1" id="4573" />
-<TGConnectingPoint num="2" id="4574" />
-<TGConnectingPoint num="3" id="4575" />
+<TGConnectingPoint num="0" id="4744" />
+<TGConnectingPoint num="1" id="4745" />
+<TGConnectingPoint num="2" id="4746" />
+<TGConnectingPoint num="3" id="4747" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -10715,25 +10715,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4585" >
+<CONNECTOR type="5102" id="4757" >
 <cdparam x="445" y="325" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to choice" value="null" />
-<TGConnectingPoint num="0" id="4584" />
-<P1  x="445" y="325" id="4698" />
-<P2  x="445" y="352" id="4681" />
+<TGConnectingPoint num="0" id="4756" />
+<P1  x="445" y="325" id="4870" />
+<P2  x="445" y="352" id="4853" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4583" >
-<father id="4585" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4755" >
+<father id="4757" num="0" />
 <cdparam x="445" y="365" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4579" />
-<TGConnectingPoint num="1" id="4580" />
-<TGConnectingPoint num="2" id="4581" />
-<TGConnectingPoint num="3" id="4582" />
+<TGConnectingPoint num="0" id="4751" />
+<TGConnectingPoint num="1" id="4752" />
+<TGConnectingPoint num="2" id="4753" />
+<TGConnectingPoint num="3" id="4754" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -10743,25 +10743,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4592" >
+<CONNECTOR type="5102" id="4764" >
 <cdparam x="445" y="280" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4591" />
-<P1  x="445" y="263" id="4701" />
-<P2  x="445" y="295" id="4697" />
+<TGConnectingPoint num="0" id="4763" />
+<P1  x="445" y="263" id="4873" />
+<P2  x="445" y="295" id="4869" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4590" >
-<father id="4592" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4762" >
+<father id="4764" num="0" />
 <cdparam x="303" y="279" />
 <sizeparam width="293" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4586" />
-<TGConnectingPoint num="1" id="4587" />
-<TGConnectingPoint num="2" id="4588" />
-<TGConnectingPoint num="3" id="4589" />
+<TGConnectingPoint num="0" id="4758" />
+<TGConnectingPoint num="1" id="4759" />
+<TGConnectingPoint num="2" id="4760" />
+<TGConnectingPoint num="3" id="4761" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="minComputationTime" />
@@ -10771,25 +10771,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4599" >
+<CONNECTOR type="5102" id="4771" >
 <cdparam x="464" y="212" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="4598" />
-<P1  x="445" y="212" id="4717" />
-<P2  x="445" y="233" id="4700" />
+<TGConnectingPoint num="0" id="4770" />
+<P1  x="445" y="212" id="4889" />
+<P2  x="445" y="233" id="4872" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4597" >
-<father id="4599" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4769" >
+<father id="4771" num="0" />
 <cdparam x="464" y="252" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4593" />
-<TGConnectingPoint num="1" id="4594" />
-<TGConnectingPoint num="2" id="4595" />
-<TGConnectingPoint num="3" id="4596" />
+<TGConnectingPoint num="0" id="4765" />
+<TGConnectingPoint num="1" id="4766" />
+<TGConnectingPoint num="2" id="4767" />
+<TGConnectingPoint num="3" id="4768" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -10799,25 +10799,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4606" >
+<CONNECTOR type="5102" id="4778" >
 <cdparam x="445" y="132" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="4605" />
-<P1  x="445" y="132" id="4752" />
-<P2  x="445" y="162" id="4712" />
+<TGConnectingPoint num="0" id="4777" />
+<P1  x="445" y="132" id="4924" />
+<P2  x="445" y="162" id="4884" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4604" >
-<father id="4606" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4776" >
+<father id="4778" num="0" />
 <cdparam x="445" y="172" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4600" />
-<TGConnectingPoint num="1" id="4601" />
-<TGConnectingPoint num="2" id="4602" />
-<TGConnectingPoint num="3" id="4603" />
+<TGConnectingPoint num="0" id="4772" />
+<TGConnectingPoint num="1" id="4773" />
+<TGConnectingPoint num="2" id="4774" />
+<TGConnectingPoint num="3" id="4775" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -10827,35 +10827,35 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4615" >
+<CONNECTOR type="5102" id="4787" >
 <cdparam x="420" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="4613" />
-<TGConnectingPoint num="1" id="4614" />
-<P1  x="420" y="377" id="4682" />
-<P2  x="407" y="523" id="4648" />
+<TGConnectingPoint num="0" id="4785" />
+<TGConnectingPoint num="1" id="4786" />
+<P1  x="420" y="377" id="4854" />
+<P2  x="407" y="523" id="4820" />
 <Point x="367" y="432" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4607" >
-<father id="4615" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4779" >
+<father id="4787" num="0" />
 <cdparam x="367" y="432" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4612" >
-<father id="4615" num="1" />
+<SUBCOMPONENT type="-1" id="4784" >
+<father id="4787" num="1" />
 <cdparam x="267" y="411" />
 <sizeparam width="84" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4608" />
-<TGConnectingPoint num="1" id="4609" />
-<TGConnectingPoint num="2" id="4610" />
-<TGConnectingPoint num="3" id="4611" />
+<TGConnectingPoint num="0" id="4780" />
+<TGConnectingPoint num="1" id="4781" />
+<TGConnectingPoint num="2" id="4782" />
+<TGConnectingPoint num="3" id="4783" />
 <extraparam>
 <guard value="[ foundI == 1]" />
 <afterMin value="" />
@@ -10866,55 +10866,55 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4628" >
+<CONNECTOR type="5102" id="4800" >
 <cdparam x="463" y="640" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="4624" />
-<TGConnectingPoint num="1" id="4625" />
-<TGConnectingPoint num="2" id="4626" />
-<TGConnectingPoint num="3" id="4627" />
-<P1  x="463" y="640" id="4630" />
-<P2  x="527" y="180" id="4734" />
+<TGConnectingPoint num="0" id="4796" />
+<TGConnectingPoint num="1" id="4797" />
+<TGConnectingPoint num="2" id="4798" />
+<TGConnectingPoint num="3" id="4799" />
+<P1  x="463" y="640" id="4802" />
+<P2  x="527" y="180" id="4906" />
 <Point x="463" y="688" />
 <Point x="699" y="688" />
 <Point x="699" y="180" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4616" >
-<father id="4628" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4788" >
+<father id="4800" num="0" />
 <cdparam x="463" y="688" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4617" >
-<father id="4628" num="1" />
+<SUBCOMPONENT type="-1" id="4789" >
+<father id="4800" num="1" />
 <cdparam x="699" y="688" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4618" >
-<father id="4628" num="2" />
+<SUBCOMPONENT type="-1" id="4790" >
+<father id="4800" num="2" />
 <cdparam x="699" y="180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4623" >
-<father id="4628" num="3" />
+<SUBCOMPONENT type="-1" id="4795" >
+<father id="4800" num="3" />
 <cdparam x="463" y="680" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4619" />
-<TGConnectingPoint num="1" id="4620" />
-<TGConnectingPoint num="2" id="4621" />
-<TGConnectingPoint num="3" id="4622" />
+<TGConnectingPoint num="0" id="4791" />
+<TGConnectingPoint num="1" id="4792" />
+<TGConnectingPoint num="2" id="4793" />
+<TGConnectingPoint num="3" id="4794" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -10924,240 +10924,240 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5103" id="4639" >
+<COMPONENT type="5103" id="4811" >
 <cdparam x="422" y="615" />
 <sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="result(found)" />
-<TGConnectingPoint num="0" id="4629" />
-<TGConnectingPoint num="1" id="4630" />
-<TGConnectingPoint num="2" id="4631" />
-<TGConnectingPoint num="3" id="4632" />
-<TGConnectingPoint num="4" id="4633" />
-<TGConnectingPoint num="5" id="4634" />
-<TGConnectingPoint num="6" id="4635" />
-<TGConnectingPoint num="7" id="4636" />
-<TGConnectingPoint num="8" id="4637" />
-<TGConnectingPoint num="9" id="4638" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4680" >
+<TGConnectingPoint num="0" id="4801" />
+<TGConnectingPoint num="1" id="4802" />
+<TGConnectingPoint num="2" id="4803" />
+<TGConnectingPoint num="3" id="4804" />
+<TGConnectingPoint num="4" id="4805" />
+<TGConnectingPoint num="5" id="4806" />
+<TGConnectingPoint num="6" id="4807" />
+<TGConnectingPoint num="7" id="4808" />
+<TGConnectingPoint num="8" id="4809" />
+<TGConnectingPoint num="9" id="4810" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4852" >
 <cdparam x="369" y="523" />
 <sizeparam width="153" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingDone" />
-<TGConnectingPoint num="0" id="4640" />
-<TGConnectingPoint num="1" id="4641" />
-<TGConnectingPoint num="2" id="4642" />
-<TGConnectingPoint num="3" id="4643" />
-<TGConnectingPoint num="4" id="4644" />
-<TGConnectingPoint num="5" id="4645" />
-<TGConnectingPoint num="6" id="4646" />
-<TGConnectingPoint num="7" id="4647" />
-<TGConnectingPoint num="8" id="4648" />
-<TGConnectingPoint num="9" id="4649" />
-<TGConnectingPoint num="10" id="4650" />
-<TGConnectingPoint num="11" id="4651" />
-<TGConnectingPoint num="12" id="4652" />
-<TGConnectingPoint num="13" id="4653" />
-<TGConnectingPoint num="14" id="4654" />
-<TGConnectingPoint num="15" id="4655" />
-<TGConnectingPoint num="16" id="4656" />
-<TGConnectingPoint num="17" id="4657" />
-<TGConnectingPoint num="18" id="4658" />
-<TGConnectingPoint num="19" id="4659" />
-<TGConnectingPoint num="20" id="4660" />
-<TGConnectingPoint num="21" id="4661" />
-<TGConnectingPoint num="22" id="4662" />
-<TGConnectingPoint num="23" id="4663" />
-<TGConnectingPoint num="24" id="4664" />
-<TGConnectingPoint num="25" id="4665" />
-<TGConnectingPoint num="26" id="4666" />
-<TGConnectingPoint num="27" id="4667" />
-<TGConnectingPoint num="28" id="4668" />
-<TGConnectingPoint num="29" id="4669" />
-<TGConnectingPoint num="30" id="4670" />
-<TGConnectingPoint num="31" id="4671" />
-<TGConnectingPoint num="32" id="4672" />
-<TGConnectingPoint num="33" id="4673" />
-<TGConnectingPoint num="34" id="4674" />
-<TGConnectingPoint num="35" id="4675" />
-<TGConnectingPoint num="36" id="4676" />
-<TGConnectingPoint num="37" id="4677" />
-<TGConnectingPoint num="38" id="4678" />
-<TGConnectingPoint num="39" id="4679" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="4696" >
+<TGConnectingPoint num="0" id="4812" />
+<TGConnectingPoint num="1" id="4813" />
+<TGConnectingPoint num="2" id="4814" />
+<TGConnectingPoint num="3" id="4815" />
+<TGConnectingPoint num="4" id="4816" />
+<TGConnectingPoint num="5" id="4817" />
+<TGConnectingPoint num="6" id="4818" />
+<TGConnectingPoint num="7" id="4819" />
+<TGConnectingPoint num="8" id="4820" />
+<TGConnectingPoint num="9" id="4821" />
+<TGConnectingPoint num="10" id="4822" />
+<TGConnectingPoint num="11" id="4823" />
+<TGConnectingPoint num="12" id="4824" />
+<TGConnectingPoint num="13" id="4825" />
+<TGConnectingPoint num="14" id="4826" />
+<TGConnectingPoint num="15" id="4827" />
+<TGConnectingPoint num="16" id="4828" />
+<TGConnectingPoint num="17" id="4829" />
+<TGConnectingPoint num="18" id="4830" />
+<TGConnectingPoint num="19" id="4831" />
+<TGConnectingPoint num="20" id="4832" />
+<TGConnectingPoint num="21" id="4833" />
+<TGConnectingPoint num="22" id="4834" />
+<TGConnectingPoint num="23" id="4835" />
+<TGConnectingPoint num="24" id="4836" />
+<TGConnectingPoint num="25" id="4837" />
+<TGConnectingPoint num="26" id="4838" />
+<TGConnectingPoint num="27" id="4839" />
+<TGConnectingPoint num="28" id="4840" />
+<TGConnectingPoint num="29" id="4841" />
+<TGConnectingPoint num="30" id="4842" />
+<TGConnectingPoint num="31" id="4843" />
+<TGConnectingPoint num="32" id="4844" />
+<TGConnectingPoint num="33" id="4845" />
+<TGConnectingPoint num="34" id="4846" />
+<TGConnectingPoint num="35" id="4847" />
+<TGConnectingPoint num="36" id="4848" />
+<TGConnectingPoint num="37" id="4849" />
+<TGConnectingPoint num="38" id="4850" />
+<TGConnectingPoint num="39" id="4851" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="4868" >
 <cdparam x="430" y="362" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4681" />
-<TGConnectingPoint num="1" id="4682" />
-<TGConnectingPoint num="2" id="4683" />
-<TGConnectingPoint num="3" id="4684" />
-<TGConnectingPoint num="4" id="4685" />
-<TGConnectingPoint num="5" id="4686" />
-<TGConnectingPoint num="6" id="4687" />
-<TGConnectingPoint num="7" id="4688" />
-<TGConnectingPoint num="8" id="4689" />
-<TGConnectingPoint num="9" id="4690" />
-<TGConnectingPoint num="10" id="4691" />
-<TGConnectingPoint num="11" id="4692" />
-<TGConnectingPoint num="12" id="4693" />
-<TGConnectingPoint num="13" id="4694" />
-<TGConnectingPoint num="14" id="4695" />
-</COMPONENT>
-
-<COMPONENT type="5108" id="4699" >
+<TGConnectingPoint num="0" id="4853" />
+<TGConnectingPoint num="1" id="4854" />
+<TGConnectingPoint num="2" id="4855" />
+<TGConnectingPoint num="3" id="4856" />
+<TGConnectingPoint num="4" id="4857" />
+<TGConnectingPoint num="5" id="4858" />
+<TGConnectingPoint num="6" id="4859" />
+<TGConnectingPoint num="7" id="4860" />
+<TGConnectingPoint num="8" id="4861" />
+<TGConnectingPoint num="9" id="4862" />
+<TGConnectingPoint num="10" id="4863" />
+<TGConnectingPoint num="11" id="4864" />
+<TGConnectingPoint num="12" id="4865" />
+<TGConnectingPoint num="13" id="4866" />
+<TGConnectingPoint num="14" id="4867" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="4871" >
 <cdparam x="367" y="300" />
 <sizeparam width="157" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4697" />
-<TGConnectingPoint num="1" id="4698" />
+<TGConnectingPoint num="0" id="4869" />
+<TGConnectingPoint num="1" id="4870" />
 <extraparam>
 <Data variable="foundI" minValue="1" maxValue="3" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5104" id="4710" >
+<COMPONENT type="5104" id="4882" >
 <cdparam x="403" y="238" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="compute(p)" />
-<TGConnectingPoint num="0" id="4700" />
-<TGConnectingPoint num="1" id="4701" />
-<TGConnectingPoint num="2" id="4702" />
-<TGConnectingPoint num="3" id="4703" />
-<TGConnectingPoint num="4" id="4704" />
-<TGConnectingPoint num="5" id="4705" />
-<TGConnectingPoint num="6" id="4706" />
-<TGConnectingPoint num="7" id="4707" />
-<TGConnectingPoint num="8" id="4708" />
-<TGConnectingPoint num="9" id="4709" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4751" >
+<TGConnectingPoint num="0" id="4872" />
+<TGConnectingPoint num="1" id="4873" />
+<TGConnectingPoint num="2" id="4874" />
+<TGConnectingPoint num="3" id="4875" />
+<TGConnectingPoint num="4" id="4876" />
+<TGConnectingPoint num="5" id="4877" />
+<TGConnectingPoint num="6" id="4878" />
+<TGConnectingPoint num="7" id="4879" />
+<TGConnectingPoint num="8" id="4880" />
+<TGConnectingPoint num="9" id="4881" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4923" >
 <cdparam x="363" y="162" />
 <sizeparam width="164" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForPicture" />
-<TGConnectingPoint num="0" id="4711" />
-<TGConnectingPoint num="1" id="4712" />
-<TGConnectingPoint num="2" id="4713" />
-<TGConnectingPoint num="3" id="4714" />
-<TGConnectingPoint num="4" id="4715" />
-<TGConnectingPoint num="5" id="4716" />
-<TGConnectingPoint num="6" id="4717" />
-<TGConnectingPoint num="7" id="4718" />
-<TGConnectingPoint num="8" id="4719" />
-<TGConnectingPoint num="9" id="4720" />
-<TGConnectingPoint num="10" id="4721" />
-<TGConnectingPoint num="11" id="4722" />
-<TGConnectingPoint num="12" id="4723" />
-<TGConnectingPoint num="13" id="4724" />
-<TGConnectingPoint num="14" id="4725" />
-<TGConnectingPoint num="15" id="4726" />
-<TGConnectingPoint num="16" id="4727" />
-<TGConnectingPoint num="17" id="4728" />
-<TGConnectingPoint num="18" id="4729" />
-<TGConnectingPoint num="19" id="4730" />
-<TGConnectingPoint num="20" id="4731" />
-<TGConnectingPoint num="21" id="4732" />
-<TGConnectingPoint num="22" id="4733" />
-<TGConnectingPoint num="23" id="4734" />
-<TGConnectingPoint num="24" id="4735" />
-<TGConnectingPoint num="25" id="4736" />
-<TGConnectingPoint num="26" id="4737" />
-<TGConnectingPoint num="27" id="4738" />
-<TGConnectingPoint num="28" id="4739" />
-<TGConnectingPoint num="29" id="4740" />
-<TGConnectingPoint num="30" id="4741" />
-<TGConnectingPoint num="31" id="4742" />
-<TGConnectingPoint num="32" id="4743" />
-<TGConnectingPoint num="33" id="4744" />
-<TGConnectingPoint num="34" id="4745" />
-<TGConnectingPoint num="35" id="4746" />
-<TGConnectingPoint num="36" id="4747" />
-<TGConnectingPoint num="37" id="4748" />
-<TGConnectingPoint num="38" id="4749" />
-<TGConnectingPoint num="39" id="4750" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4753" >
+<TGConnectingPoint num="0" id="4883" />
+<TGConnectingPoint num="1" id="4884" />
+<TGConnectingPoint num="2" id="4885" />
+<TGConnectingPoint num="3" id="4886" />
+<TGConnectingPoint num="4" id="4887" />
+<TGConnectingPoint num="5" id="4888" />
+<TGConnectingPoint num="6" id="4889" />
+<TGConnectingPoint num="7" id="4890" />
+<TGConnectingPoint num="8" id="4891" />
+<TGConnectingPoint num="9" id="4892" />
+<TGConnectingPoint num="10" id="4893" />
+<TGConnectingPoint num="11" id="4894" />
+<TGConnectingPoint num="12" id="4895" />
+<TGConnectingPoint num="13" id="4896" />
+<TGConnectingPoint num="14" id="4897" />
+<TGConnectingPoint num="15" id="4898" />
+<TGConnectingPoint num="16" id="4899" />
+<TGConnectingPoint num="17" id="4900" />
+<TGConnectingPoint num="18" id="4901" />
+<TGConnectingPoint num="19" id="4902" />
+<TGConnectingPoint num="20" id="4903" />
+<TGConnectingPoint num="21" id="4904" />
+<TGConnectingPoint num="22" id="4905" />
+<TGConnectingPoint num="23" id="4906" />
+<TGConnectingPoint num="24" id="4907" />
+<TGConnectingPoint num="25" id="4908" />
+<TGConnectingPoint num="26" id="4909" />
+<TGConnectingPoint num="27" id="4910" />
+<TGConnectingPoint num="28" id="4911" />
+<TGConnectingPoint num="29" id="4912" />
+<TGConnectingPoint num="30" id="4913" />
+<TGConnectingPoint num="31" id="4914" />
+<TGConnectingPoint num="32" id="4915" />
+<TGConnectingPoint num="33" id="4916" />
+<TGConnectingPoint num="34" id="4917" />
+<TGConnectingPoint num="35" id="4918" />
+<TGConnectingPoint num="36" id="4919" />
+<TGConnectingPoint num="37" id="4920" />
+<TGConnectingPoint num="38" id="4921" />
+<TGConnectingPoint num="39" id="4922" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="4925" >
 <cdparam x="438" y="112" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4752" />
+<TGConnectingPoint num="0" id="4924" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="RemoteUser" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="4766" >
+<CONNECTOR type="5102" id="4938" >
 <cdparam x="697" y="595" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="4762" />
-<TGConnectingPoint num="1" id="4763" />
-<TGConnectingPoint num="2" id="4764" />
-<TGConnectingPoint num="3" id="4765" />
-<P1  x="697" y="595" id="4838" />
-<P2  x="508" y="383" id="4907" />
+<TGConnectingPoint num="0" id="4934" />
+<TGConnectingPoint num="1" id="4935" />
+<TGConnectingPoint num="2" id="4936" />
+<TGConnectingPoint num="3" id="4937" />
+<P1  x="697" y="595" id="5010" />
+<P2  x="508" y="383" id="5079" />
 <Point x="697" y="636" />
 <Point x="905" y="636" />
 <Point x="905" y="383" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4754" >
-<father id="4766" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4926" >
+<father id="4938" num="0" />
 <cdparam x="697" y="636" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4755" >
-<father id="4766" num="1" />
+<SUBCOMPONENT type="-1" id="4927" >
+<father id="4938" num="1" />
 <cdparam x="905" y="636" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4756" >
-<father id="4766" num="2" />
+<SUBCOMPONENT type="-1" id="4928" >
+<father id="4938" num="2" />
 <cdparam x="905" y="383" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4761" >
-<father id="4766" num="3" />
+<SUBCOMPONENT type="-1" id="4933" >
+<father id="4938" num="3" />
 <cdparam x="697" y="635" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4757" />
-<TGConnectingPoint num="1" id="4758" />
-<TGConnectingPoint num="2" id="4759" />
-<TGConnectingPoint num="3" id="4760" />
+<TGConnectingPoint num="0" id="4929" />
+<TGConnectingPoint num="1" id="4930" />
+<TGConnectingPoint num="2" id="4931" />
+<TGConnectingPoint num="3" id="4932" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11167,25 +11167,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4773" >
+<CONNECTOR type="5102" id="4945" >
 <cdparam x="508" y="414" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="4772" />
-<P1  x="508" y="414" id="4898" />
-<P2  x="697" y="484" id="4848" />
+<TGConnectingPoint num="0" id="4944" />
+<P1  x="508" y="414" id="5070" />
+<P2  x="697" y="484" id="5020" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4771" >
-<father id="4773" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4943" >
+<father id="4945" num="0" />
 <cdparam x="508" y="454" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4767" />
-<TGConnectingPoint num="1" id="4768" />
-<TGConnectingPoint num="2" id="4769" />
-<TGConnectingPoint num="3" id="4770" />
+<TGConnectingPoint num="0" id="4939" />
+<TGConnectingPoint num="1" id="4940" />
+<TGConnectingPoint num="2" id="4941" />
+<TGConnectingPoint num="3" id="4942" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11195,25 +11195,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4780" >
+<CONNECTOR type="5102" id="4952" >
 <cdparam x="408" y="246" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to Send signal" value="null" />
-<TGConnectingPoint num="0" id="4779" />
-<P1  x="408" y="246" id="4927" />
-<P2  x="410" y="273" id="4929" />
+<TGConnectingPoint num="0" id="4951" />
+<P1  x="408" y="246" id="5099" />
+<P2  x="410" y="273" id="5101" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4778" >
-<father id="4780" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4950" >
+<father id="4952" num="0" />
 <cdparam x="408" y="286" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4774" />
-<TGConnectingPoint num="1" id="4775" />
-<TGConnectingPoint num="2" id="4776" />
-<TGConnectingPoint num="3" id="4777" />
+<TGConnectingPoint num="0" id="4946" />
+<TGConnectingPoint num="1" id="4947" />
+<TGConnectingPoint num="2" id="4948" />
+<TGConnectingPoint num="3" id="4949" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11223,25 +11223,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4787" >
+<CONNECTOR type="5102" id="4959" >
 <cdparam x="390" y="113" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="4786" />
-<P1  x="390" y="113" id="4981" />
-<P2  x="390" y="129" id="4957" />
+<TGConnectingPoint num="0" id="4958" />
+<P1  x="390" y="113" id="5153" />
+<P2  x="390" y="129" id="5129" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4785" >
-<father id="4787" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4957" >
+<father id="4959" num="0" />
 <cdparam x="390" y="153" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4781" />
-<TGConnectingPoint num="1" id="4782" />
-<TGConnectingPoint num="2" id="4783" />
-<TGConnectingPoint num="3" id="4784" />
+<TGConnectingPoint num="0" id="4953" />
+<TGConnectingPoint num="1" id="4954" />
+<TGConnectingPoint num="2" id="4955" />
+<TGConnectingPoint num="3" id="4956" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11251,25 +11251,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4794" >
+<CONNECTOR type="5102" id="4966" >
 <cdparam x="477" y="179" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4793" />
-<P1  x="408" y="179" id="4946" />
-<P2  x="408" y="216" id="4926" />
+<TGConnectingPoint num="0" id="4965" />
+<P1  x="408" y="179" id="5118" />
+<P2  x="408" y="216" id="5098" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4792" >
-<father id="4794" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4964" >
+<father id="4966" num="0" />
 <cdparam x="477" y="219" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4788" />
-<TGConnectingPoint num="1" id="4789" />
-<TGConnectingPoint num="2" id="4790" />
-<TGConnectingPoint num="3" id="4791" />
+<TGConnectingPoint num="0" id="4960" />
+<TGConnectingPoint num="1" id="4961" />
+<TGConnectingPoint num="2" id="4962" />
+<TGConnectingPoint num="3" id="4963" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11279,25 +11279,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4801" >
+<CONNECTOR type="5102" id="4973" >
 <cdparam x="410" y="303" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="4800" />
-<P1  x="410" y="303" id="4930" />
-<P2  x="382" y="377" id="4893" />
+<TGConnectingPoint num="0" id="4972" />
+<P1  x="410" y="303" id="5102" />
+<P2  x="382" y="377" id="5065" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4799" >
-<father id="4801" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4971" >
+<father id="4973" num="0" />
 <cdparam x="410" y="343" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4795" />
-<TGConnectingPoint num="1" id="4796" />
-<TGConnectingPoint num="2" id="4797" />
-<TGConnectingPoint num="3" id="4798" />
+<TGConnectingPoint num="0" id="4967" />
+<TGConnectingPoint num="1" id="4968" />
+<TGConnectingPoint num="2" id="4969" />
+<TGConnectingPoint num="3" id="4970" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11307,25 +11307,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4808" >
+<CONNECTOR type="5102" id="4980" >
 <cdparam x="360" y="427" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="4807" />
-<P1  x="360" y="427" id="4913" />
-<P2  x="307" y="542" id="4874" />
+<TGConnectingPoint num="0" id="4979" />
+<P1  x="360" y="427" id="5085" />
+<P2  x="307" y="542" id="5046" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4806" >
-<father id="4808" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4978" >
+<father id="4980" num="0" />
 <cdparam x="360" y="467" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4802" />
-<TGConnectingPoint num="1" id="4803" />
-<TGConnectingPoint num="2" id="4804" />
-<TGConnectingPoint num="3" id="4805" />
+<TGConnectingPoint num="0" id="4974" />
+<TGConnectingPoint num="1" id="4975" />
+<TGConnectingPoint num="2" id="4976" />
+<TGConnectingPoint num="3" id="4977" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11335,25 +11335,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4815" >
+<CONNECTOR type="5102" id="4987" >
 <cdparam x="307" y="572" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to stop state" value="null" />
-<TGConnectingPoint num="0" id="4814" />
-<P1  x="307" y="572" id="4875" />
-<P2  x="308" y="594" id="4872" />
+<TGConnectingPoint num="0" id="4986" />
+<P1  x="307" y="572" id="5047" />
+<P2  x="308" y="594" id="5044" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4813" >
-<father id="4815" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4985" >
+<father id="4987" num="0" />
 <cdparam x="307" y="612" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4809" />
-<TGConnectingPoint num="1" id="4810" />
-<TGConnectingPoint num="2" id="4811" />
-<TGConnectingPoint num="3" id="4812" />
+<TGConnectingPoint num="0" id="4981" />
+<TGConnectingPoint num="1" id="4982" />
+<TGConnectingPoint num="2" id="4983" />
+<TGConnectingPoint num="3" id="4984" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11363,25 +11363,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4822" >
+<CONNECTOR type="5102" id="4994" >
 <cdparam x="508" y="427" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="4821" />
-<P1  x="486" y="427" id="4916" />
-<P2  x="499" y="560" id="4861" />
+<TGConnectingPoint num="0" id="4993" />
+<P1  x="486" y="427" id="5088" />
+<P2  x="499" y="560" id="5033" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4820" >
-<father id="4822" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4992" >
+<father id="4994" num="0" />
 <cdparam x="508" y="467" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4816" />
-<TGConnectingPoint num="1" id="4817" />
-<TGConnectingPoint num="2" id="4818" />
-<TGConnectingPoint num="3" id="4819" />
+<TGConnectingPoint num="0" id="4988" />
+<TGConnectingPoint num="1" id="4989" />
+<TGConnectingPoint num="2" id="4990" />
+<TGConnectingPoint num="3" id="4991" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11391,25 +11391,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4829" >
+<CONNECTOR type="5102" id="5001" >
 <cdparam x="499" y="590" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to stop state" value="null" />
-<TGConnectingPoint num="0" id="4828" />
-<P1  x="499" y="590" id="4862" />
-<P2  x="504" y="606" id="4859" />
+<TGConnectingPoint num="0" id="5000" />
+<P1  x="499" y="590" id="5034" />
+<P2  x="504" y="606" id="5031" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4827" >
-<father id="4829" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4999" >
+<father id="5001" num="0" />
 <cdparam x="499" y="630" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4823" />
-<TGConnectingPoint num="1" id="4824" />
-<TGConnectingPoint num="2" id="4825" />
-<TGConnectingPoint num="3" id="4826" />
+<TGConnectingPoint num="0" id="4995" />
+<TGConnectingPoint num="1" id="4996" />
+<TGConnectingPoint num="2" id="4997" />
+<TGConnectingPoint num="3" id="4998" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11419,25 +11419,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4836" >
+<CONNECTOR type="5102" id="5008" >
 <cdparam x="649" y="526" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="4835" />
-<P1  x="697" y="514" id="4849" />
-<P2  x="697" y="565" id="4837" />
+<TGConnectingPoint num="0" id="5007" />
+<P1  x="697" y="514" id="5021" />
+<P2  x="697" y="565" id="5009" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4834" >
-<father id="4836" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5006" >
+<father id="5008" num="0" />
 <cdparam x="701" y="541" />
 <sizeparam width="155" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4830" />
-<TGConnectingPoint num="1" id="4831" />
-<TGConnectingPoint num="2" id="4832" />
-<TGConnectingPoint num="3" id="4833" />
+<TGConnectingPoint num="0" id="5002" />
+<TGConnectingPoint num="1" id="5003" />
+<TGConnectingPoint num="2" id="5004" />
+<TGConnectingPoint num="3" id="5005" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="doorTime" />
@@ -11447,289 +11447,289 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5103" id="4847" >
+<COMPONENT type="5103" id="5019" >
 <cdparam x="650" y="570" />
 <sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="doorHandled()" />
-<TGConnectingPoint num="0" id="4837" />
-<TGConnectingPoint num="1" id="4838" />
-<TGConnectingPoint num="2" id="4839" />
-<TGConnectingPoint num="3" id="4840" />
-<TGConnectingPoint num="4" id="4841" />
-<TGConnectingPoint num="5" id="4842" />
-<TGConnectingPoint num="6" id="4843" />
-<TGConnectingPoint num="7" id="4844" />
-<TGConnectingPoint num="8" id="4845" />
-<TGConnectingPoint num="9" id="4846" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4858" >
+<TGConnectingPoint num="0" id="5009" />
+<TGConnectingPoint num="1" id="5010" />
+<TGConnectingPoint num="2" id="5011" />
+<TGConnectingPoint num="3" id="5012" />
+<TGConnectingPoint num="4" id="5013" />
+<TGConnectingPoint num="5" id="5014" />
+<TGConnectingPoint num="6" id="5015" />
+<TGConnectingPoint num="7" id="5016" />
+<TGConnectingPoint num="8" id="5017" />
+<TGConnectingPoint num="9" id="5018" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="5030" >
 <cdparam x="645" y="489" />
 <sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="doorDetected()" />
-<TGConnectingPoint num="0" id="4848" />
-<TGConnectingPoint num="1" id="4849" />
-<TGConnectingPoint num="2" id="4850" />
-<TGConnectingPoint num="3" id="4851" />
-<TGConnectingPoint num="4" id="4852" />
-<TGConnectingPoint num="5" id="4853" />
-<TGConnectingPoint num="6" id="4854" />
-<TGConnectingPoint num="7" id="4855" />
-<TGConnectingPoint num="8" id="4856" />
-<TGConnectingPoint num="9" id="4857" />
-</COMPONENT>
-
-<COMPONENT type="5101" id="4860" >
+<TGConnectingPoint num="0" id="5020" />
+<TGConnectingPoint num="1" id="5021" />
+<TGConnectingPoint num="2" id="5022" />
+<TGConnectingPoint num="3" id="5023" />
+<TGConnectingPoint num="4" id="5024" />
+<TGConnectingPoint num="5" id="5025" />
+<TGConnectingPoint num="6" id="5026" />
+<TGConnectingPoint num="7" id="5027" />
+<TGConnectingPoint num="8" id="5028" />
+<TGConnectingPoint num="9" id="5029" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="5032" >
 <cdparam x="494" y="611" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4859" />
+<TGConnectingPoint num="0" id="5031" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="4871" >
+<COMPONENT type="5104" id="5043" >
 <cdparam x="424" y="565" />
 <sizeparam width="150" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="missionAborted(status)" />
-<TGConnectingPoint num="0" id="4861" />
-<TGConnectingPoint num="1" id="4862" />
-<TGConnectingPoint num="2" id="4863" />
-<TGConnectingPoint num="3" id="4864" />
-<TGConnectingPoint num="4" id="4865" />
-<TGConnectingPoint num="5" id="4866" />
-<TGConnectingPoint num="6" id="4867" />
-<TGConnectingPoint num="7" id="4868" />
-<TGConnectingPoint num="8" id="4869" />
-<TGConnectingPoint num="9" id="4870" />
-</COMPONENT>
-
-<COMPONENT type="5101" id="4873" >
+<TGConnectingPoint num="0" id="5033" />
+<TGConnectingPoint num="1" id="5034" />
+<TGConnectingPoint num="2" id="5035" />
+<TGConnectingPoint num="3" id="5036" />
+<TGConnectingPoint num="4" id="5037" />
+<TGConnectingPoint num="5" id="5038" />
+<TGConnectingPoint num="6" id="5039" />
+<TGConnectingPoint num="7" id="5040" />
+<TGConnectingPoint num="8" id="5041" />
+<TGConnectingPoint num="9" id="5042" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="5045" >
 <cdparam x="298" y="599" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4872" />
+<TGConnectingPoint num="0" id="5044" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="4884" >
+<COMPONENT type="5104" id="5056" >
 <cdparam x="254" y="547" />
 <sizeparam width="107" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="placeReached()" />
-<TGConnectingPoint num="0" id="4874" />
-<TGConnectingPoint num="1" id="4875" />
-<TGConnectingPoint num="2" id="4876" />
-<TGConnectingPoint num="3" id="4877" />
-<TGConnectingPoint num="4" id="4878" />
-<TGConnectingPoint num="5" id="4879" />
-<TGConnectingPoint num="6" id="4880" />
-<TGConnectingPoint num="7" id="4881" />
-<TGConnectingPoint num="8" id="4882" />
-<TGConnectingPoint num="9" id="4883" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4925" >
+<TGConnectingPoint num="0" id="5046" />
+<TGConnectingPoint num="1" id="5047" />
+<TGConnectingPoint num="2" id="5048" />
+<TGConnectingPoint num="3" id="5049" />
+<TGConnectingPoint num="4" id="5050" />
+<TGConnectingPoint num="5" id="5051" />
+<TGConnectingPoint num="6" id="5052" />
+<TGConnectingPoint num="7" id="5053" />
+<TGConnectingPoint num="8" id="5054" />
+<TGConnectingPoint num="9" id="5055" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="5097" >
 <cdparam x="340" y="377" />
 <sizeparam width="168" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForMissionResult" />
-<TGConnectingPoint num="0" id="4885" />
-<TGConnectingPoint num="1" id="4886" />
-<TGConnectingPoint num="2" id="4887" />
-<TGConnectingPoint num="3" id="4888" />
-<TGConnectingPoint num="4" id="4889" />
-<TGConnectingPoint num="5" id="4890" />
-<TGConnectingPoint num="6" id="4891" />
-<TGConnectingPoint num="7" id="4892" />
-<TGConnectingPoint num="8" id="4893" />
-<TGConnectingPoint num="9" id="4894" />
-<TGConnectingPoint num="10" id="4895" />
-<TGConnectingPoint num="11" id="4896" />
-<TGConnectingPoint num="12" id="4897" />
-<TGConnectingPoint num="13" id="4898" />
-<TGConnectingPoint num="14" id="4899" />
-<TGConnectingPoint num="15" id="4900" />
-<TGConnectingPoint num="16" id="4901" />
-<TGConnectingPoint num="17" id="4902" />
-<TGConnectingPoint num="18" id="4903" />
-<TGConnectingPoint num="19" id="4904" />
-<TGConnectingPoint num="20" id="4905" />
-<TGConnectingPoint num="21" id="4906" />
-<TGConnectingPoint num="22" id="4907" />
-<TGConnectingPoint num="23" id="4908" />
-<TGConnectingPoint num="24" id="4909" />
-<TGConnectingPoint num="25" id="4910" />
-<TGConnectingPoint num="26" id="4911" />
-<TGConnectingPoint num="27" id="4912" />
-<TGConnectingPoint num="28" id="4913" />
-<TGConnectingPoint num="29" id="4914" />
-<TGConnectingPoint num="30" id="4915" />
-<TGConnectingPoint num="31" id="4916" />
-<TGConnectingPoint num="32" id="4917" />
-<TGConnectingPoint num="33" id="4918" />
-<TGConnectingPoint num="34" id="4919" />
-<TGConnectingPoint num="35" id="4920" />
-<TGConnectingPoint num="36" id="4921" />
-<TGConnectingPoint num="37" id="4922" />
-<TGConnectingPoint num="38" id="4923" />
-<TGConnectingPoint num="39" id="4924" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5108" id="4928" >
+<TGConnectingPoint num="0" id="5057" />
+<TGConnectingPoint num="1" id="5058" />
+<TGConnectingPoint num="2" id="5059" />
+<TGConnectingPoint num="3" id="5060" />
+<TGConnectingPoint num="4" id="5061" />
+<TGConnectingPoint num="5" id="5062" />
+<TGConnectingPoint num="6" id="5063" />
+<TGConnectingPoint num="7" id="5064" />
+<TGConnectingPoint num="8" id="5065" />
+<TGConnectingPoint num="9" id="5066" />
+<TGConnectingPoint num="10" id="5067" />
+<TGConnectingPoint num="11" id="5068" />
+<TGConnectingPoint num="12" id="5069" />
+<TGConnectingPoint num="13" id="5070" />
+<TGConnectingPoint num="14" id="5071" />
+<TGConnectingPoint num="15" id="5072" />
+<TGConnectingPoint num="16" id="5073" />
+<TGConnectingPoint num="17" id="5074" />
+<TGConnectingPoint num="18" id="5075" />
+<TGConnectingPoint num="19" id="5076" />
+<TGConnectingPoint num="20" id="5077" />
+<TGConnectingPoint num="21" id="5078" />
+<TGConnectingPoint num="22" id="5079" />
+<TGConnectingPoint num="23" id="5080" />
+<TGConnectingPoint num="24" id="5081" />
+<TGConnectingPoint num="25" id="5082" />
+<TGConnectingPoint num="26" id="5083" />
+<TGConnectingPoint num="27" id="5084" />
+<TGConnectingPoint num="28" id="5085" />
+<TGConnectingPoint num="29" id="5086" />
+<TGConnectingPoint num="30" id="5087" />
+<TGConnectingPoint num="31" id="5088" />
+<TGConnectingPoint num="32" id="5089" />
+<TGConnectingPoint num="33" id="5090" />
+<TGConnectingPoint num="34" id="5091" />
+<TGConnectingPoint num="35" id="5092" />
+<TGConnectingPoint num="36" id="5093" />
+<TGConnectingPoint num="37" id="5094" />
+<TGConnectingPoint num="38" id="5095" />
+<TGConnectingPoint num="39" id="5096" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5108" id="5100" >
 <cdparam x="332" y="221" />
 <sizeparam width="152" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="4926" />
-<TGConnectingPoint num="1" id="4927" />
+<TGConnectingPoint num="0" id="5098" />
+<TGConnectingPoint num="1" id="5099" />
 <extraparam>
 <Data variable="place" minValue="1" maxValue="3" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="4939" >
+<COMPONENT type="5103" id="5111" >
 <cdparam x="370" y="278" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="reach(place)" />
-<TGConnectingPoint num="0" id="4929" />
-<TGConnectingPoint num="1" id="4930" />
-<TGConnectingPoint num="2" id="4931" />
-<TGConnectingPoint num="3" id="4932" />
-<TGConnectingPoint num="4" id="4933" />
-<TGConnectingPoint num="5" id="4934" />
-<TGConnectingPoint num="6" id="4935" />
-<TGConnectingPoint num="7" id="4936" />
-<TGConnectingPoint num="8" id="4937" />
-<TGConnectingPoint num="9" id="4938" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4980" >
+<TGConnectingPoint num="0" id="5101" />
+<TGConnectingPoint num="1" id="5102" />
+<TGConnectingPoint num="2" id="5103" />
+<TGConnectingPoint num="3" id="5104" />
+<TGConnectingPoint num="4" id="5105" />
+<TGConnectingPoint num="5" id="5106" />
+<TGConnectingPoint num="6" id="5107" />
+<TGConnectingPoint num="7" id="5108" />
+<TGConnectingPoint num="8" id="5109" />
+<TGConnectingPoint num="9" id="5110" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="5152" >
 <cdparam x="340" y="129" />
 <sizeparam width="137" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="DefininingMission" />
-<TGConnectingPoint num="0" id="4940" />
-<TGConnectingPoint num="1" id="4941" />
-<TGConnectingPoint num="2" id="4942" />
-<TGConnectingPoint num="3" id="4943" />
-<TGConnectingPoint num="4" id="4944" />
-<TGConnectingPoint num="5" id="4945" />
-<TGConnectingPoint num="6" id="4946" />
-<TGConnectingPoint num="7" id="4947" />
-<TGConnectingPoint num="8" id="4948" />
-<TGConnectingPoint num="9" id="4949" />
-<TGConnectingPoint num="10" id="4950" />
-<TGConnectingPoint num="11" id="4951" />
-<TGConnectingPoint num="12" id="4952" />
-<TGConnectingPoint num="13" id="4953" />
-<TGConnectingPoint num="14" id="4954" />
-<TGConnectingPoint num="15" id="4955" />
-<TGConnectingPoint num="16" id="4956" />
-<TGConnectingPoint num="17" id="4957" />
-<TGConnectingPoint num="18" id="4958" />
-<TGConnectingPoint num="19" id="4959" />
-<TGConnectingPoint num="20" id="4960" />
-<TGConnectingPoint num="21" id="4961" />
-<TGConnectingPoint num="22" id="4962" />
-<TGConnectingPoint num="23" id="4963" />
-<TGConnectingPoint num="24" id="4964" />
-<TGConnectingPoint num="25" id="4965" />
-<TGConnectingPoint num="26" id="4966" />
-<TGConnectingPoint num="27" id="4967" />
-<TGConnectingPoint num="28" id="4968" />
-<TGConnectingPoint num="29" id="4969" />
-<TGConnectingPoint num="30" id="4970" />
-<TGConnectingPoint num="31" id="4971" />
-<TGConnectingPoint num="32" id="4972" />
-<TGConnectingPoint num="33" id="4973" />
-<TGConnectingPoint num="34" id="4974" />
-<TGConnectingPoint num="35" id="4975" />
-<TGConnectingPoint num="36" id="4976" />
-<TGConnectingPoint num="37" id="4977" />
-<TGConnectingPoint num="38" id="4978" />
-<TGConnectingPoint num="39" id="4979" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4982" >
+<TGConnectingPoint num="0" id="5112" />
+<TGConnectingPoint num="1" id="5113" />
+<TGConnectingPoint num="2" id="5114" />
+<TGConnectingPoint num="3" id="5115" />
+<TGConnectingPoint num="4" id="5116" />
+<TGConnectingPoint num="5" id="5117" />
+<TGConnectingPoint num="6" id="5118" />
+<TGConnectingPoint num="7" id="5119" />
+<TGConnectingPoint num="8" id="5120" />
+<TGConnectingPoint num="9" id="5121" />
+<TGConnectingPoint num="10" id="5122" />
+<TGConnectingPoint num="11" id="5123" />
+<TGConnectingPoint num="12" id="5124" />
+<TGConnectingPoint num="13" id="5125" />
+<TGConnectingPoint num="14" id="5126" />
+<TGConnectingPoint num="15" id="5127" />
+<TGConnectingPoint num="16" id="5128" />
+<TGConnectingPoint num="17" id="5129" />
+<TGConnectingPoint num="18" id="5130" />
+<TGConnectingPoint num="19" id="5131" />
+<TGConnectingPoint num="20" id="5132" />
+<TGConnectingPoint num="21" id="5133" />
+<TGConnectingPoint num="22" id="5134" />
+<TGConnectingPoint num="23" id="5135" />
+<TGConnectingPoint num="24" id="5136" />
+<TGConnectingPoint num="25" id="5137" />
+<TGConnectingPoint num="26" id="5138" />
+<TGConnectingPoint num="27" id="5139" />
+<TGConnectingPoint num="28" id="5140" />
+<TGConnectingPoint num="29" id="5141" />
+<TGConnectingPoint num="30" id="5142" />
+<TGConnectingPoint num="31" id="5143" />
+<TGConnectingPoint num="32" id="5144" />
+<TGConnectingPoint num="33" id="5145" />
+<TGConnectingPoint num="34" id="5146" />
+<TGConnectingPoint num="35" id="5147" />
+<TGConnectingPoint num="36" id="5148" />
+<TGConnectingPoint num="37" id="5149" />
+<TGConnectingPoint num="38" id="5150" />
+<TGConnectingPoint num="39" id="5151" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="5154" >
 <cdparam x="383" y="93" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4981" />
+<TGConnectingPoint num="0" id="5153" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="ThreeDRecognitionAlgorithm" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="4995" >
+<CONNECTOR type="5102" id="5167" >
 <cdparam x="410" y="626" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="4991" />
-<TGConnectingPoint num="1" id="4992" />
-<TGConnectingPoint num="2" id="4993" />
-<TGConnectingPoint num="3" id="4994" />
-<P1  x="410" y="626" id="5058" />
-<P2  x="474" y="166" id="5162" />
+<TGConnectingPoint num="0" id="5163" />
+<TGConnectingPoint num="1" id="5164" />
+<TGConnectingPoint num="2" id="5165" />
+<TGConnectingPoint num="3" id="5166" />
+<P1  x="410" y="626" id="5230" />
+<P2  x="474" y="166" id="5334" />
 <Point x="410" y="674" />
 <Point x="646" y="674" />
 <Point x="646" y="166" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4983" >
-<father id="4995" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5155" >
+<father id="5167" num="0" />
 <cdparam x="410" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4984" >
-<father id="4995" num="1" />
+<SUBCOMPONENT type="-1" id="5156" >
+<father id="5167" num="1" />
 <cdparam x="646" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4985" >
-<father id="4995" num="2" />
+<SUBCOMPONENT type="-1" id="5157" >
+<father id="5167" num="2" />
 <cdparam x="646" y="166" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4990" >
-<father id="4995" num="3" />
+<SUBCOMPONENT type="-1" id="5162" >
+<father id="5167" num="3" />
 <cdparam x="410" y="666" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4986" />
-<TGConnectingPoint num="1" id="4987" />
-<TGConnectingPoint num="2" id="4988" />
-<TGConnectingPoint num="3" id="4989" />
+<TGConnectingPoint num="0" id="5158" />
+<TGConnectingPoint num="1" id="5159" />
+<TGConnectingPoint num="2" id="5160" />
+<TGConnectingPoint num="3" id="5161" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11739,35 +11739,35 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5004" >
+<CONNECTOR type="5102" id="5176" >
 <cdparam x="367" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="5002" />
-<TGConnectingPoint num="1" id="5003" />
-<P1  x="367" y="363" id="5110" />
-<P2  x="354" y="509" id="5076" />
+<TGConnectingPoint num="0" id="5174" />
+<TGConnectingPoint num="1" id="5175" />
+<P1  x="367" y="363" id="5282" />
+<P2  x="354" y="509" id="5248" />
 <Point x="314" y="418" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4996" >
-<father id="5004" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5168" >
+<father id="5176" num="0" />
 <cdparam x="314" y="418" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="5001" >
-<father id="5004" num="1" />
+<SUBCOMPONENT type="-1" id="5173" >
+<father id="5176" num="1" />
 <cdparam x="214" y="397" />
 <sizeparam width="84" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4997" />
-<TGConnectingPoint num="1" id="4998" />
-<TGConnectingPoint num="2" id="4999" />
-<TGConnectingPoint num="3" id="5000" />
+<TGConnectingPoint num="0" id="5169" />
+<TGConnectingPoint num="1" id="5170" />
+<TGConnectingPoint num="2" id="5171" />
+<TGConnectingPoint num="3" id="5172" />
 <extraparam>
 <guard value="[ foundI == 1]" />
 <afterMin value="" />
@@ -11778,25 +11778,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5011" >
+<CONNECTOR type="5102" id="5183" >
 <cdparam x="392" y="118" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="5010" />
-<P1  x="392" y="118" id="5180" />
-<P2  x="392" y="148" id="5140" />
+<TGConnectingPoint num="0" id="5182" />
+<P1  x="392" y="118" id="5352" />
+<P2  x="392" y="148" id="5312" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5009" >
-<father id="5011" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5181" >
+<father id="5183" num="0" />
 <cdparam x="392" y="158" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5005" />
-<TGConnectingPoint num="1" id="5006" />
-<TGConnectingPoint num="2" id="5007" />
-<TGConnectingPoint num="3" id="5008" />
+<TGConnectingPoint num="0" id="5177" />
+<TGConnectingPoint num="1" id="5178" />
+<TGConnectingPoint num="2" id="5179" />
+<TGConnectingPoint num="3" id="5180" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11806,25 +11806,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5018" >
+<CONNECTOR type="5102" id="5190" >
 <cdparam x="411" y="198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="5017" />
-<P1  x="392" y="198" id="5145" />
-<P2  x="392" y="219" id="5128" />
+<TGConnectingPoint num="0" id="5189" />
+<P1  x="392" y="198" id="5317" />
+<P2  x="392" y="219" id="5300" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5016" >
-<father id="5018" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5188" >
+<father id="5190" num="0" />
 <cdparam x="411" y="238" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5012" />
-<TGConnectingPoint num="1" id="5013" />
-<TGConnectingPoint num="2" id="5014" />
-<TGConnectingPoint num="3" id="5015" />
+<TGConnectingPoint num="0" id="5184" />
+<TGConnectingPoint num="1" id="5185" />
+<TGConnectingPoint num="2" id="5186" />
+<TGConnectingPoint num="3" id="5187" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11834,25 +11834,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5025" >
+<CONNECTOR type="5102" id="5197" >
 <cdparam x="392" y="266" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="5024" />
-<P1  x="392" y="249" id="5129" />
-<P2  x="392" y="281" id="5125" />
+<TGConnectingPoint num="0" id="5196" />
+<P1  x="392" y="249" id="5301" />
+<P2  x="392" y="281" id="5297" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5023" >
-<father id="5025" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5195" >
+<father id="5197" num="0" />
 <cdparam x="250" y="265" />
 <sizeparam width="293" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5019" />
-<TGConnectingPoint num="1" id="5020" />
-<TGConnectingPoint num="2" id="5021" />
-<TGConnectingPoint num="3" id="5022" />
+<TGConnectingPoint num="0" id="5191" />
+<TGConnectingPoint num="1" id="5192" />
+<TGConnectingPoint num="2" id="5193" />
+<TGConnectingPoint num="3" id="5194" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="minComputationTime" />
@@ -11862,25 +11862,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5032" >
+<CONNECTOR type="5102" id="5204" >
 <cdparam x="392" y="311" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to choice" value="null" />
-<TGConnectingPoint num="0" id="5031" />
-<P1  x="392" y="311" id="5126" />
-<P2  x="392" y="338" id="5109" />
+<TGConnectingPoint num="0" id="5203" />
+<P1  x="392" y="311" id="5298" />
+<P2  x="392" y="338" id="5281" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5030" >
-<father id="5032" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5202" >
+<father id="5204" num="0" />
 <cdparam x="392" y="351" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5026" />
-<TGConnectingPoint num="1" id="5027" />
-<TGConnectingPoint num="2" id="5028" />
-<TGConnectingPoint num="3" id="5029" />
+<TGConnectingPoint num="0" id="5198" />
+<TGConnectingPoint num="1" id="5199" />
+<TGConnectingPoint num="2" id="5200" />
+<TGConnectingPoint num="3" id="5201" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11890,25 +11890,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5039" >
+<CONNECTOR type="5102" id="5211" >
 <cdparam x="410" y="559" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5038" />
-<P1  x="410" y="559" id="5098" />
-<P2  x="410" y="596" id="5057" />
+<TGConnectingPoint num="0" id="5210" />
+<P1  x="410" y="559" id="5270" />
+<P2  x="410" y="596" id="5229" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5037" >
-<father id="5039" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5209" >
+<father id="5211" num="0" />
 <cdparam x="410" y="599" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5033" />
-<TGConnectingPoint num="1" id="5034" />
-<TGConnectingPoint num="2" id="5035" />
-<TGConnectingPoint num="3" id="5036" />
+<TGConnectingPoint num="0" id="5205" />
+<TGConnectingPoint num="1" id="5206" />
+<TGConnectingPoint num="2" id="5207" />
+<TGConnectingPoint num="3" id="5208" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11918,25 +11918,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5046" >
+<CONNECTOR type="5102" id="5218" >
 <cdparam x="417" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="5045" />
-<P1  x="417" y="363" id="5114" />
-<P2  x="507" y="407" id="5054" />
+<TGConnectingPoint num="0" id="5217" />
+<P1  x="417" y="363" id="5286" />
+<P2  x="507" y="407" id="5226" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5044" >
-<father id="5046" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5216" >
+<father id="5218" num="0" />
 <cdparam x="461" y="364" />
 <sizeparam width="74" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5040" />
-<TGConnectingPoint num="1" id="5041" />
-<TGConnectingPoint num="2" id="5042" />
-<TGConnectingPoint num="3" id="5043" />
+<TGConnectingPoint num="0" id="5212" />
+<TGConnectingPoint num="1" id="5213" />
+<TGConnectingPoint num="2" id="5214" />
+<TGConnectingPoint num="3" id="5215" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -11947,25 +11947,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5053" >
+<CONNECTOR type="5102" id="5225" >
 <cdparam x="486" y="437" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to state0" value="null" />
-<TGConnectingPoint num="0" id="5052" />
-<P1  x="507" y="437" id="5055" />
-<P2  x="469" y="509" id="5070" />
+<TGConnectingPoint num="0" id="5224" />
+<P1  x="507" y="437" id="5227" />
+<P2  x="469" y="509" id="5242" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5051" >
-<father id="5053" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5223" >
+<father id="5225" num="0" />
 <cdparam x="486" y="477" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5047" />
-<TGConnectingPoint num="1" id="5048" />
-<TGConnectingPoint num="2" id="5049" />
-<TGConnectingPoint num="3" id="5050" />
+<TGConnectingPoint num="0" id="5219" />
+<TGConnectingPoint num="1" id="5220" />
+<TGConnectingPoint num="2" id="5221" />
+<TGConnectingPoint num="3" id="5222" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -11975,223 +11975,223 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5108" id="5056" >
+<COMPONENT type="5108" id="5228" >
 <cdparam x="424" y="412" />
 <sizeparam width="166" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="5054" />
-<TGConnectingPoint num="1" id="5055" />
+<TGConnectingPoint num="0" id="5226" />
+<TGConnectingPoint num="1" id="5227" />
 <extraparam>
 <Data variable="position" minValue="0" maxValue="2" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="5067" >
+<COMPONENT type="5103" id="5239" >
 <cdparam x="342" y="601" />
 <sizeparam width="136" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="result(found, position)" />
-<TGConnectingPoint num="0" id="5057" />
-<TGConnectingPoint num="1" id="5058" />
-<TGConnectingPoint num="2" id="5059" />
-<TGConnectingPoint num="3" id="5060" />
-<TGConnectingPoint num="4" id="5061" />
-<TGConnectingPoint num="5" id="5062" />
-<TGConnectingPoint num="6" id="5063" />
-<TGConnectingPoint num="7" id="5064" />
-<TGConnectingPoint num="8" id="5065" />
-<TGConnectingPoint num="9" id="5066" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="5108" >
+<TGConnectingPoint num="0" id="5229" />
+<TGConnectingPoint num="1" id="5230" />
+<TGConnectingPoint num="2" id="5231" />
+<TGConnectingPoint num="3" id="5232" />
+<TGConnectingPoint num="4" id="5233" />
+<TGConnectingPoint num="5" id="5234" />
+<TGConnectingPoint num="6" id="5235" />
+<TGConnectingPoint num="7" id="5236" />
+<TGConnectingPoint num="8" id="5237" />
+<TGConnectingPoint num="9" id="5238" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="5280" >
 <cdparam x="316" y="509" />
 <sizeparam width="153" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingDone" />
-<TGConnectingPoint num="0" id="5068" />
-<TGConnectingPoint num="1" id="5069" />
-<TGConnectingPoint num="2" id="5070" />
-<TGConnectingPoint num="3" id="5071" />
-<TGConnectingPoint num="4" id="5072" />
-<TGConnectingPoint num="5" id="5073" />
-<TGConnectingPoint num="6" id="5074" />
-<TGConnectingPoint num="7" id="5075" />
-<TGConnectingPoint num="8" id="5076" />
-<TGConnectingPoint num="9" id="5077" />
-<TGConnectingPoint num="10" id="5078" />
-<TGConnectingPoint num="11" id="5079" />
-<TGConnectingPoint num="12" id="5080" />
-<TGConnectingPoint num="13" id="5081" />
-<TGConnectingPoint num="14" id="5082" />
-<TGConnectingPoint num="15" id="5083" />
-<TGConnectingPoint num="16" id="5084" />
-<TGConnectingPoint num="17" id="5085" />
-<TGConnectingPoint num="18" id="5086" />
-<TGConnectingPoint num="19" id="5087" />
-<TGConnectingPoint num="20" id="5088" />
-<TGConnectingPoint num="21" id="5089" />
-<TGConnectingPoint num="22" id="5090" />
-<TGConnectingPoint num="23" id="5091" />
-<TGConnectingPoint num="24" id="5092" />
-<TGConnectingPoint num="25" id="5093" />
-<TGConnectingPoint num="26" id="5094" />
-<TGConnectingPoint num="27" id="5095" />
-<TGConnectingPoint num="28" id="5096" />
-<TGConnectingPoint num="29" id="5097" />
-<TGConnectingPoint num="30" id="5098" />
-<TGConnectingPoint num="31" id="5099" />
-<TGConnectingPoint num="32" id="5100" />
-<TGConnectingPoint num="33" id="5101" />
-<TGConnectingPoint num="34" id="5102" />
-<TGConnectingPoint num="35" id="5103" />
-<TGConnectingPoint num="36" id="5104" />
-<TGConnectingPoint num="37" id="5105" />
-<TGConnectingPoint num="38" id="5106" />
-<TGConnectingPoint num="39" id="5107" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="5124" >
+<TGConnectingPoint num="0" id="5240" />
+<TGConnectingPoint num="1" id="5241" />
+<TGConnectingPoint num="2" id="5242" />
+<TGConnectingPoint num="3" id="5243" />
+<TGConnectingPoint num="4" id="5244" />
+<TGConnectingPoint num="5" id="5245" />
+<TGConnectingPoint num="6" id="5246" />
+<TGConnectingPoint num="7" id="5247" />
+<TGConnectingPoint num="8" id="5248" />
+<TGConnectingPoint num="9" id="5249" />
+<TGConnectingPoint num="10" id="5250" />
+<TGConnectingPoint num="11" id="5251" />
+<TGConnectingPoint num="12" id="5252" />
+<TGConnectingPoint num="13" id="5253" />
+<TGConnectingPoint num="14" id="5254" />
+<TGConnectingPoint num="15" id="5255" />
+<TGConnectingPoint num="16" id="5256" />
+<TGConnectingPoint num="17" id="5257" />
+<TGConnectingPoint num="18" id="5258" />
+<TGConnectingPoint num="19" id="5259" />
+<TGConnectingPoint num="20" id="5260" />
+<TGConnectingPoint num="21" id="5261" />
+<TGConnectingPoint num="22" id="5262" />
+<TGConnectingPoint num="23" id="5263" />
+<TGConnectingPoint num="24" id="5264" />
+<TGConnectingPoint num="25" id="5265" />
+<TGConnectingPoint num="26" id="5266" />
+<TGConnectingPoint num="27" id="5267" />
+<TGConnectingPoint num="28" id="5268" />
+<TGConnectingPoint num="29" id="5269" />
+<TGConnectingPoint num="30" id="5270" />
+<TGConnectingPoint num="31" id="5271" />
+<TGConnectingPoint num="32" id="5272" />
+<TGConnectingPoint num="33" id="5273" />
+<TGConnectingPoint num="34" id="5274" />
+<TGConnectingPoint num="35" id="5275" />
+<TGConnectingPoint num="36" id="5276" />
+<TGConnectingPoint num="37" id="5277" />
+<TGConnectingPoint num="38" id="5278" />
+<TGConnectingPoint num="39" id="5279" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="5296" >
 <cdparam x="377" y="348" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="5109" />
-<TGConnectingPoint num="1" id="5110" />
-<TGConnectingPoint num="2" id="5111" />
-<TGConnectingPoint num="3" id="5112" />
-<TGConnectingPoint num="4" id="5113" />
-<TGConnectingPoint num="5" id="5114" />
-<TGConnectingPoint num="6" id="5115" />
-<TGConnectingPoint num="7" id="5116" />
-<TGConnectingPoint num="8" id="5117" />
-<TGConnectingPoint num="9" id="5118" />
-<TGConnectingPoint num="10" id="5119" />
-<TGConnectingPoint num="11" id="5120" />
-<TGConnectingPoint num="12" id="5121" />
-<TGConnectingPoint num="13" id="5122" />
-<TGConnectingPoint num="14" id="5123" />
-</COMPONENT>
-
-<COMPONENT type="5108" id="5127" >
+<TGConnectingPoint num="0" id="5281" />
+<TGConnectingPoint num="1" id="5282" />
+<TGConnectingPoint num="2" id="5283" />
+<TGConnectingPoint num="3" id="5284" />
+<TGConnectingPoint num="4" id="5285" />
+<TGConnectingPoint num="5" id="5286" />
+<TGConnectingPoint num="6" id="5287" />
+<TGConnectingPoint num="7" id="5288" />
+<TGConnectingPoint num="8" id="5289" />
+<TGConnectingPoint num="9" id="5290" />
+<TGConnectingPoint num="10" id="5291" />
+<TGConnectingPoint num="11" id="5292" />
+<TGConnectingPoint num="12" id="5293" />
+<TGConnectingPoint num="13" id="5294" />
+<TGConnectingPoint num="14" id="5295" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="5299" >
 <cdparam x="310" y="286" />
 <sizeparam width="165" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="5125" />
-<TGConnectingPoint num="1" id="5126" />
+<TGConnectingPoint num="0" id="5297" />
+<TGConnectingPoint num="1" id="5298" />
 <extraparam>
 <Data variable="foundI" minValue="1" maxValue="10" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5104" id="5138" >
+<COMPONENT type="5104" id="5310" >
 <cdparam x="350" y="224" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="compute(p)" />
-<TGConnectingPoint num="0" id="5128" />
-<TGConnectingPoint num="1" id="5129" />
-<TGConnectingPoint num="2" id="5130" />
-<TGConnectingPoint num="3" id="5131" />
-<TGConnectingPoint num="4" id="5132" />
-<TGConnectingPoint num="5" id="5133" />
-<TGConnectingPoint num="6" id="5134" />
-<TGConnectingPoint num="7" id="5135" />
-<TGConnectingPoint num="8" id="5136" />
-<TGConnectingPoint num="9" id="5137" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="5179" >
+<TGConnectingPoint num="0" id="5300" />
+<TGConnectingPoint num="1" id="5301" />
+<TGConnectingPoint num="2" id="5302" />
+<TGConnectingPoint num="3" id="5303" />
+<TGConnectingPoint num="4" id="5304" />
+<TGConnectingPoint num="5" id="5305" />
+<TGConnectingPoint num="6" id="5306" />
+<TGConnectingPoint num="7" id="5307" />
+<TGConnectingPoint num="8" id="5308" />
+<TGConnectingPoint num="9" id="5309" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="5351" >
 <cdparam x="310" y="148" />
 <sizeparam width="164" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForPicture" />
-<TGConnectingPoint num="0" id="5139" />
-<TGConnectingPoint num="1" id="5140" />
-<TGConnectingPoint num="2" id="5141" />
-<TGConnectingPoint num="3" id="5142" />
-<TGConnectingPoint num="4" id="5143" />
-<TGConnectingPoint num="5" id="5144" />
-<TGConnectingPoint num="6" id="5145" />
-<TGConnectingPoint num="7" id="5146" />
-<TGConnectingPoint num="8" id="5147" />
-<TGConnectingPoint num="9" id="5148" />
-<TGConnectingPoint num="10" id="5149" />
-<TGConnectingPoint num="11" id="5150" />
-<TGConnectingPoint num="12" id="5151" />
-<TGConnectingPoint num="13" id="5152" />
-<TGConnectingPoint num="14" id="5153" />
-<TGConnectingPoint num="15" id="5154" />
-<TGConnectingPoint num="16" id="5155" />
-<TGConnectingPoint num="17" id="5156" />
-<TGConnectingPoint num="18" id="5157" />
-<TGConnectingPoint num="19" id="5158" />
-<TGConnectingPoint num="20" id="5159" />
-<TGConnectingPoint num="21" id="5160" />
-<TGConnectingPoint num="22" id="5161" />
-<TGConnectingPoint num="23" id="5162" />
-<TGConnectingPoint num="24" id="5163" />
-<TGConnectingPoint num="25" id="5164" />
-<TGConnectingPoint num="26" id="5165" />
-<TGConnectingPoint num="27" id="5166" />
-<TGConnectingPoint num="28" id="5167" />
-<TGConnectingPoint num="29" id="5168" />
-<TGConnectingPoint num="30" id="5169" />
-<TGConnectingPoint num="31" id="5170" />
-<TGConnectingPoint num="32" id="5171" />
-<TGConnectingPoint num="33" id="5172" />
-<TGConnectingPoint num="34" id="5173" />
-<TGConnectingPoint num="35" id="5174" />
-<TGConnectingPoint num="36" id="5175" />
-<TGConnectingPoint num="37" id="5176" />
-<TGConnectingPoint num="38" id="5177" />
-<TGConnectingPoint num="39" id="5178" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="5181" >
+<TGConnectingPoint num="0" id="5311" />
+<TGConnectingPoint num="1" id="5312" />
+<TGConnectingPoint num="2" id="5313" />
+<TGConnectingPoint num="3" id="5314" />
+<TGConnectingPoint num="4" id="5315" />
+<TGConnectingPoint num="5" id="5316" />
+<TGConnectingPoint num="6" id="5317" />
+<TGConnectingPoint num="7" id="5318" />
+<TGConnectingPoint num="8" id="5319" />
+<TGConnectingPoint num="9" id="5320" />
+<TGConnectingPoint num="10" id="5321" />
+<TGConnectingPoint num="11" id="5322" />
+<TGConnectingPoint num="12" id="5323" />
+<TGConnectingPoint num="13" id="5324" />
+<TGConnectingPoint num="14" id="5325" />
+<TGConnectingPoint num="15" id="5326" />
+<TGConnectingPoint num="16" id="5327" />
+<TGConnectingPoint num="17" id="5328" />
+<TGConnectingPoint num="18" id="5329" />
+<TGConnectingPoint num="19" id="5330" />
+<TGConnectingPoint num="20" id="5331" />
+<TGConnectingPoint num="21" id="5332" />
+<TGConnectingPoint num="22" id="5333" />
+<TGConnectingPoint num="23" id="5334" />
+<TGConnectingPoint num="24" id="5335" />
+<TGConnectingPoint num="25" id="5336" />
+<TGConnectingPoint num="26" id="5337" />
+<TGConnectingPoint num="27" id="5338" />
+<TGConnectingPoint num="28" id="5339" />
+<TGConnectingPoint num="29" id="5340" />
+<TGConnectingPoint num="30" id="5341" />
+<TGConnectingPoint num="31" id="5342" />
+<TGConnectingPoint num="32" id="5343" />
+<TGConnectingPoint num="33" id="5344" />
+<TGConnectingPoint num="34" id="5345" />
+<TGConnectingPoint num="35" id="5346" />
+<TGConnectingPoint num="36" id="5347" />
+<TGConnectingPoint num="37" id="5348" />
+<TGConnectingPoint num="38" id="5349" />
+<TGConnectingPoint num="39" id="5350" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="5353" >
 <cdparam x="385" y="98" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="5180" />
+<TGConnectingPoint num="0" id="5352" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="MainController" minX="10" maxX="2400" minY="10" maxY="1400" >
-<CONNECTOR type="5102" id="5188" >
+<CONNECTOR type="5102" id="5360" >
 <cdparam x="279" y="475" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5187" />
-<P1  x="279" y="475" id="5469" />
-<P2  x="444" y="617" id="5951" />
+<TGConnectingPoint num="0" id="5359" />
+<P1  x="279" y="475" id="5641" />
+<P2  x="444" y="617" id="6123" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5186" >
-<father id="5188" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5358" >
+<father id="5360" num="0" />
 <cdparam x="279" y="515" />
 <sizeparam width="101" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5182" />
-<TGConnectingPoint num="1" id="5183" />
-<TGConnectingPoint num="2" id="5184" />
-<TGConnectingPoint num="3" id="5185" />
+<TGConnectingPoint num="0" id="5354" />
+<TGConnectingPoint num="1" id="5355" />
+<TGConnectingPoint num="2" id="5356" />
+<TGConnectingPoint num="3" id="5357" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12202,35 +12202,35 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5197" >
+<CONNECTOR type="5102" id="5369" >
 <cdparam x="511" y="599" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="5195" />
-<TGConnectingPoint num="1" id="5196" />
-<P1  x="511" y="599" id="5946" />
-<P2  x="279" y="445" id="5468" />
+<TGConnectingPoint num="0" id="5367" />
+<TGConnectingPoint num="1" id="5368" />
+<P1  x="511" y="599" id="6118" />
+<P2  x="279" y="445" id="5640" />
 <Point x="398" y="385" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5189" >
-<father id="5197" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5361" >
+<father id="5369" num="0" />
 <cdparam x="398" y="385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="5194" >
-<father id="5197" num="1" />
+<SUBCOMPONENT type="-1" id="5366" >
+<father id="5369" num="1" />
 <cdparam x="511" y="639" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5190" />
-<TGConnectingPoint num="1" id="5191" />
-<TGConnectingPoint num="2" id="5192" />
-<TGConnectingPoint num="3" id="5193" />
+<TGConnectingPoint num="0" id="5362" />
+<TGConnectingPoint num="1" id="5363" />
+<TGConnectingPoint num="2" id="5364" />
+<TGConnectingPoint num="3" id="5365" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12240,25 +12240,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5204" >
+<CONNECTOR type="5102" id="5376" >
 <cdparam x="1197" y="514" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5203" />
-<P1  x="1192" y="524" id="5734" />
-<P2  x="1008" y="599" id="5932" />
+<TGConnectingPoint num="0" id="5375" />
+<P1  x="1192" y="524" id="5906" />
+<P2  x="1008" y="599" id="6104" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5202" >
-<father id="5204" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5374" >
+<father id="5376" num="0" />
 <cdparam x="1197" y="554" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5198" />
-<TGConnectingPoint num="1" id="5199" />
-<TGConnectingPoint num="2" id="5200" />
-<TGConnectingPoint num="3" id="5201" />
+<TGConnectingPoint num="0" id="5370" />
+<TGConnectingPoint num="1" id="5371" />
+<TGConnectingPoint num="2" id="5372" />
+<TGConnectingPoint num="3" id="5373" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12268,25 +12268,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5211" >
+<CONNECTOR type="5102" id="5383" >
 <cdparam x="1192" y="471" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5210" />
-<P1  x="1192" y="471" id="5508" />
-<P2  x="1192" y="494" id="5733" />
+<TGConnectingPoint num="0" id="5382" />
+<P1  x="1192" y="471" id="5680" />
+<P2  x="1192" y="494" id="5905" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5209" >
-<father id="5211" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5381" >
+<father id="5383" num="0" />
 <cdparam x="1192" y="511" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5205" />
-<TGConnectingPoint num="1" id="5206" />
-<TGConnectingPoint num="2" id="5207" />
-<TGConnectingPoint num="3" id="5208" />
+<TGConnectingPoint num="0" id="5377" />
+<TGConnectingPoint num="1" id="5378" />
+<TGConnectingPoint num="2" id="5379" />
+<TGConnectingPoint num="3" id="5380" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12296,25 +12296,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5218" >
+<CONNECTOR type="5102" id="5390" >
 <cdparam x="652" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5217" />
-<P1  x="652" y="649" id="5959" />
-<P2  x="483" y="834" id="5711" />
+<TGConnectingPoint num="0" id="5389" />
+<P1  x="652" y="649" id="6131" />
+<P2  x="483" y="834" id="5883" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5216" >
-<father id="5218" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5388" >
+<father id="5390" num="0" />
 <cdparam x="251" y="757" />
 <sizeparam width="506" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5212" />
-<TGConnectingPoint num="1" id="5213" />
-<TGConnectingPoint num="2" id="5214" />
-<TGConnectingPoint num="3" id="5215" />
+<TGConnectingPoint num="0" id="5384" />
+<TGConnectingPoint num="1" id="5385" />
+<TGConnectingPoint num="2" id="5386" />
+<TGConnectingPoint num="3" id="5387" />
 <extraparam>
 <guard value="[ (hasCurrentPicture == true) and ((currentPicture.bottom == false) and (mode == 2))]" />
 <afterMin value="" />
@@ -12324,25 +12324,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5225" >
+<CONNECTOR type="5102" id="5397" >
 <cdparam x="1719" y="948" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5224" />
-<P1  x="1720" y="948" id="5519" />
-<P2  x="1720" y="962" id="5586" />
+<TGConnectingPoint num="0" id="5396" />
+<P1  x="1720" y="948" id="5691" />
+<P2  x="1720" y="962" id="5758" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5223" >
-<father id="5225" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5395" >
+<father id="5397" num="0" />
 <cdparam x="1719" y="988" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5219" />
-<TGConnectingPoint num="1" id="5220" />
-<TGConnectingPoint num="2" id="5221" />
-<TGConnectingPoint num="3" id="5222" />
+<TGConnectingPoint num="0" id="5391" />
+<TGConnectingPoint num="1" id="5392" />
+<TGConnectingPoint num="2" id="5393" />
+<TGConnectingPoint num="3" id="5394" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12352,25 +12352,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5232" >
+<CONNECTOR type="5102" id="5404" >
 <cdparam x="1719" y="910" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5231" />
-<P1  x="1720" y="909" id="5575" />
-<P2  x="1720" y="918" id="5518" />
+<TGConnectingPoint num="0" id="5403" />
+<P1  x="1720" y="909" id="5747" />
+<P2  x="1720" y="918" id="5690" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5230" >
-<father id="5232" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5402" >
+<father id="5404" num="0" />
 <cdparam x="1844" y="908" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5226" />
-<TGConnectingPoint num="1" id="5227" />
-<TGConnectingPoint num="2" id="5228" />
-<TGConnectingPoint num="3" id="5229" />
+<TGConnectingPoint num="0" id="5398" />
+<TGConnectingPoint num="1" id="5399" />
+<TGConnectingPoint num="2" id="5400" />
+<TGConnectingPoint num="3" id="5401" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12380,25 +12380,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5239" >
+<CONNECTOR type="5102" id="5411" >
 <cdparam x="1725" y="798" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="5238" />
-<P1  x="1725" y="798" id="5531" />
-<P2  x="1775" y="859" id="5564" />
+<TGConnectingPoint num="0" id="5410" />
+<P1  x="1725" y="798" id="5703" />
+<P2  x="1775" y="859" id="5736" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5237" >
-<father id="5239" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5409" >
+<father id="5411" num="0" />
 <cdparam x="1753" y="811" />
 <sizeparam width="105" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5233" />
-<TGConnectingPoint num="1" id="5234" />
-<TGConnectingPoint num="2" id="5235" />
-<TGConnectingPoint num="3" id="5236" />
+<TGConnectingPoint num="0" id="5405" />
+<TGConnectingPoint num="1" id="5406" />
+<TGConnectingPoint num="2" id="5407" />
+<TGConnectingPoint num="3" id="5408" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12410,35 +12410,35 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5248" >
+<CONNECTOR type="5102" id="5420" >
 <cdparam x="1604" y="802" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="5246" />
-<TGConnectingPoint num="1" id="5247" />
-<P1  x="1561" y="718" id="5598" />
-<P2  x="1103" y="991" id="5915" />
+<TGConnectingPoint num="0" id="5418" />
+<TGConnectingPoint num="1" id="5419" />
+<P1  x="1561" y="718" id="5770" />
+<P2  x="1103" y="991" id="6087" />
 <Point x="1561" y="991" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5240" >
-<father id="5248" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5412" >
+<father id="5420" num="0" />
 <cdparam x="1561" y="991" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="5245" >
-<father id="5248" num="1" />
+<SUBCOMPONENT type="-1" id="5417" >
+<father id="5420" num="1" />
 <cdparam x="1513" y="826" />
 <sizeparam width="39" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5241" />
-<TGConnectingPoint num="1" id="5242" />
-<TGConnectingPoint num="2" id="5243" />
-<TGConnectingPoint num="3" id="5244" />
+<TGConnectingPoint num="0" id="5413" />
+<TGConnectingPoint num="1" id="5414" />
+<TGConnectingPoint num="2" id="5415" />
+<TGConnectingPoint num="3" id="5416" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -12448,35 +12448,35 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5257" >
+<CONNECTOR type="5102" id="5429" >
 <cdparam x="1720" y="902" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5255" />
-<TGConnectingPoint num="1" id="5256" />
-<P1  x="1720" y="992" id="5587" />
-<P2  x="1103" y="1003" id="5916" />
+<TGConnectingPoint num="0" id="5427" />
+<TGConnectingPoint num="1" id="5428" />
+<P1  x="1720" y="992" id="5759" />
+<P2  x="1103" y="1003" id="6088" />
 <Point x="1720" y="1003" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5249" >
-<father id="5257" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5421" >
+<father id="5429" num="0" />
 <cdparam x="1720" y="1003" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="5254" >
-<father id="5257" num="1" />
+<SUBCOMPONENT type="-1" id="5426" >
+<father id="5429" num="1" />
 <cdparam x="1720" y="942" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5250" />
-<TGConnectingPoint num="1" id="5251" />
-<TGConnectingPoint num="2" id="5252" />
-<TGConnectingPoint num="3" id="5253" />
+<TGConnectingPoint num="0" id="5422" />
+<TGConnectingPoint num="1" id="5423" />
+<TGConnectingPoint num="2" id="5424" />
+<TGConnectingPoint num="3" id="5425" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12486,25 +12486,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5264" >
+<CONNECTOR type="5102" id="5436" >
 <cdparam x="1654" y="802" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5263" />
-<P1  x="1611" y="718" id="5599" />
-<P2  x="1700" y="773" id="5529" />
+<TGConnectingPoint num="0" id="5435" />
+<P1  x="1611" y="718" id="5771" />
+<P2  x="1700" y="773" id="5701" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5262" >
-<father id="5264" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5434" >
+<father id="5436" num="0" />
 <cdparam x="1703" y="704" />
 <sizeparam width="207" height="75" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5258" />
-<TGConnectingPoint num="1" id="5259" />
-<TGConnectingPoint num="2" id="5260" />
-<TGConnectingPoint num="3" id="5261" />
+<TGConnectingPoint num="0" id="5430" />
+<TGConnectingPoint num="1" id="5431" />
+<TGConnectingPoint num="2" id="5432" />
+<TGConnectingPoint num="3" id="5433" />
 <extraparam>
 <guard value="[ (found==true) and (mode == 2)]" />
 <afterMin value="" />
@@ -12518,25 +12518,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5271" >
+<CONNECTOR type="5102" id="5443" >
 <cdparam x="1008" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="5270" />
-<P1  x="1008" y="649" id="5937" />
-<P2  x="1586" y="649" id="5613" />
+<TGConnectingPoint num="0" id="5442" />
+<P1  x="1008" y="649" id="6109" />
+<P2  x="1586" y="649" id="5785" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5269" >
-<father id="5271" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5441" >
+<father id="5443" num="0" />
 <cdparam x="1008" y="689" />
 <sizeparam width="81" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5265" />
-<TGConnectingPoint num="1" id="5266" />
-<TGConnectingPoint num="2" id="5267" />
-<TGConnectingPoint num="3" id="5268" />
+<TGConnectingPoint num="0" id="5437" />
+<TGConnectingPoint num="1" id="5438" />
+<TGConnectingPoint num="2" id="5439" />
+<TGConnectingPoint num="3" id="5440" />
 <extraparam>
 <guard value="[ mode == 2]" />
 <afterMin value="" />
@@ -12546,25 +12546,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5278" >
+<CONNECTOR type="5102" id="5450" >
 <cdparam x="1249" y="982" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5277" />
-<P1  x="1249" y="985" id="5641" />
-<P2  x="1103" y="985" id="5893" />
+<TGConnectingPoint num="0" id="5449" />
+<P1  x="1249" y="985" id="5813" />
+<P2  x="1103" y="985" id="6065" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5276" >
-<father id="5278" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5448" >
+<father id="5450" num="0" />
 <cdparam x="1249" y="1022" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5272" />
-<TGConnectingPoint num="1" id="5273" />
-<TGConnectingPoint num="2" id="5274" />
-<TGConnectingPoint num="3" id="5275" />
+<TGConnectingPoint num="0" id="5444" />
+<TGConnectingPoint num="1" id="5445" />
+<TGConnectingPoint num="2" id="5446" />
+<TGConnectingPoint num="3" id="5447" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12574,25 +12574,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5285" >
+<CONNECTOR type="5102" id="5457" >
 <cdparam x="1249" y="814" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5284" />
-<P1  x="1249" y="814" id="5627" />
-<P2  x="1249" y="955" id="5640" />
+<TGConnectingPoint num="0" id="5456" />
+<P1  x="1249" y="814" id="5799" />
+<P2  x="1249" y="955" id="5812" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5283" >
-<father id="5285" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5455" >
+<father id="5457" num="0" />
 <cdparam x="1258" y="833" />
 <sizeparam width="215" height="75" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5279" />
-<TGConnectingPoint num="1" id="5280" />
-<TGConnectingPoint num="2" id="5281" />
-<TGConnectingPoint num="3" id="5282" />
+<TGConnectingPoint num="0" id="5451" />
+<TGConnectingPoint num="1" id="5452" />
+<TGConnectingPoint num="2" id="5453" />
+<TGConnectingPoint num="3" id="5454" />
 <extraparam>
 <guard value="[ (found == true) and (mode == 2) ]" />
 <afterMin value="" />
@@ -12606,25 +12606,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5292" >
+<CONNECTOR type="5102" id="5464" >
 <cdparam x="725" y="791" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="5291" />
-<P1  x="725" y="791" id="5665" />
-<P2  x="853" y="960" id="5898" />
+<TGConnectingPoint num="0" id="5463" />
+<P1  x="725" y="791" id="5837" />
+<P2  x="853" y="960" id="6070" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5290" >
-<father id="5292" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5462" >
+<father id="5464" num="0" />
 <cdparam x="715" y="853" />
 <sizeparam width="190" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5286" />
-<TGConnectingPoint num="1" id="5287" />
-<TGConnectingPoint num="2" id="5288" />
-<TGConnectingPoint num="3" id="5289" />
+<TGConnectingPoint num="0" id="5458" />
+<TGConnectingPoint num="1" id="5459" />
+<TGConnectingPoint num="2" id="5460" />
+<TGConnectingPoint num="3" id="5461" />
 <extraparam>
 <guard value="[ (mode == 2) or (mode == 4) ]" />
 <afterMin value="" />
@@ -12634,25 +12634,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5299" >
+<CONNECTOR type="5102" id="5471" >
 <cdparam x="750" y="766" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="5298" />
-<P1  x="750" y="766" id="5664" />
-<P2  x="991" y="858" id="5972" />
+<TGConnectingPoint num="0" id="5470" />
+<P1  x="750" y="766" id="5836" />
+<P2  x="991" y="858" id="6144" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5297" >
-<father id="5299" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5469" >
+<father id="5471" num="0" />
 <cdparam x="790" y="767" />
 <sizeparam width="81" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5293" />
-<TGConnectingPoint num="1" id="5294" />
-<TGConnectingPoint num="2" id="5295" />
-<TGConnectingPoint num="3" id="5296" />
+<TGConnectingPoint num="0" id="5465" />
+<TGConnectingPoint num="1" id="5466" />
+<TGConnectingPoint num="2" id="5467" />
+<TGConnectingPoint num="3" id="5468" />
 <extraparam>
 <guard value="[ mode == 3]" />
 <afterMin value="" />
@@ -12663,25 +12663,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5306" >
+<CONNECTOR type="5102" id="5478" >
 <cdparam x="882" y="767" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="5305" />
-<P1  x="700" y="766" id="5663" />
-<P2  x="603" y="960" id="5890" />
+<TGConnectingPoint num="0" id="5477" />
+<P1  x="700" y="766" id="5835" />
+<P2  x="603" y="960" id="6062" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5304" >
-<father id="5306" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5476" >
+<father id="5478" num="0" />
 <cdparam x="531" y="815" />
 <sizeparam width="291" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5300" />
-<TGConnectingPoint num="1" id="5301" />
-<TGConnectingPoint num="2" id="5302" />
-<TGConnectingPoint num="3" id="5303" />
+<TGConnectingPoint num="0" id="5472" />
+<TGConnectingPoint num="1" id="5473" />
+<TGConnectingPoint num="2" id="5474" />
+<TGConnectingPoint num="3" id="5475" />
 <extraparam>
 <guard value="[ (mode == 1) or ((mode == 5) or (mode == 6))]" />
 <afterMin value="" />
@@ -12692,25 +12692,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5313" >
+<CONNECTOR type="5102" id="5485" >
 <cdparam x="726" y="378" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5312" />
-<P1  x="726" y="400" id="5690" />
-<P2  x="726" y="457" id="5814" />
+<TGConnectingPoint num="0" id="5484" />
+<P1  x="726" y="400" id="5862" />
+<P2  x="726" y="457" id="5986" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5311" >
-<father id="5313" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5483" >
+<father id="5485" num="0" />
 <cdparam x="726" y="418" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5307" />
-<TGConnectingPoint num="1" id="5308" />
-<TGConnectingPoint num="2" id="5309" />
-<TGConnectingPoint num="3" id="5310" />
+<TGConnectingPoint num="0" id="5479" />
+<TGConnectingPoint num="1" id="5480" />
+<TGConnectingPoint num="2" id="5481" />
+<TGConnectingPoint num="3" id="5482" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12720,25 +12720,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5320" >
+<CONNECTOR type="5102" id="5492" >
 <cdparam x="473" y="864" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5319" />
-<P1  x="483" y="864" id="5712" />
-<P2  x="473" y="960" id="5906" />
+<TGConnectingPoint num="0" id="5491" />
+<P1  x="483" y="864" id="5884" />
+<P2  x="473" y="960" id="6078" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5318" >
-<father id="5320" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5490" >
+<father id="5492" num="0" />
 <cdparam x="445" y="902" />
 <sizeparam width="147" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5314" />
-<TGConnectingPoint num="1" id="5315" />
-<TGConnectingPoint num="2" id="5316" />
-<TGConnectingPoint num="3" id="5317" />
+<TGConnectingPoint num="0" id="5486" />
+<TGConnectingPoint num="1" id="5487" />
+<TGConnectingPoint num="2" id="5488" />
+<TGConnectingPoint num="3" id="5489" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12749,25 +12749,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5327" >
+<CONNECTOR type="5102" id="5499" >
 <cdparam x="212" y="864" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5326" />
-<P1  x="223" y="865" id="5723" />
-<P2  x="223" y="960" id="5905" />
+<TGConnectingPoint num="0" id="5498" />
+<P1  x="223" y="865" id="5895" />
+<P2  x="223" y="960" id="6077" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5325" >
-<father id="5327" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5497" >
+<father id="5499" num="0" />
 <cdparam x="212" y="904" />
 <sizeparam width="147" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5321" />
-<TGConnectingPoint num="1" id="5322" />
-<TGConnectingPoint num="2" id="5323" />
-<TGConnectingPoint num="3" id="5324" />
+<TGConnectingPoint num="0" id="5493" />
+<TGConnectingPoint num="1" id="5494" />
+<TGConnectingPoint num="2" id="5495" />
+<TGConnectingPoint num="3" id="5496" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12778,25 +12778,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5334" >
+<CONNECTOR type="5102" id="5506" >
 <cdparam x="778" y="482" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="5333" />
-<P1  x="776" y="482" id="5817" />
-<P2  x="1106" y="370" id="5775" />
+<TGConnectingPoint num="0" id="5505" />
+<P1  x="776" y="482" id="5989" />
+<P2  x="1106" y="370" id="5947" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5332" >
-<father id="5334" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5504" >
+<father id="5506" num="0" />
 <cdparam x="937" y="456" />
 <sizeparam width="59" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5328" />
-<TGConnectingPoint num="1" id="5329" />
-<TGConnectingPoint num="2" id="5330" />
-<TGConnectingPoint num="3" id="5331" />
+<TGConnectingPoint num="0" id="5500" />
+<TGConnectingPoint num="1" id="5501" />
+<TGConnectingPoint num="2" id="5502" />
+<TGConnectingPoint num="3" id="5503" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -12807,25 +12807,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5341" >
+<CONNECTOR type="5102" id="5513" >
 <cdparam x="727" y="37" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="5340" />
-<P1  x="727" y="37" id="5887" />
-<P2  x="727" y="75" id="6013" />
+<TGConnectingPoint num="0" id="5512" />
+<P1  x="727" y="37" id="6059" />
+<P2  x="727" y="75" id="6185" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5339" >
-<father id="5341" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5511" >
+<father id="5513" num="0" />
 <cdparam x="733" y="59" />
 <sizeparam width="59" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5335" />
-<TGConnectingPoint num="1" id="5336" />
-<TGConnectingPoint num="2" id="5337" />
-<TGConnectingPoint num="3" id="5338" />
+<TGConnectingPoint num="0" id="5507" />
+<TGConnectingPoint num="1" id="5508" />
+<TGConnectingPoint num="2" id="5509" />
+<TGConnectingPoint num="3" id="5510" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12836,25 +12836,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5348" >
+<CONNECTOR type="5102" id="5520" >
 <cdparam x="745" y="119" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="5347" />
-<P1  x="727" y="125" id="6018" />
-<P2  x="727" y="150" id="5876" />
+<TGConnectingPoint num="0" id="5519" />
+<P1  x="727" y="125" id="6190" />
+<P2  x="727" y="150" id="6048" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5346" >
-<father id="5348" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5518" >
+<father id="5520" num="0" />
 <cdparam x="745" y="159" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5342" />
-<TGConnectingPoint num="1" id="5343" />
-<TGConnectingPoint num="2" id="5344" />
-<TGConnectingPoint num="3" id="5345" />
+<TGConnectingPoint num="0" id="5514" />
+<TGConnectingPoint num="1" id="5515" />
+<TGConnectingPoint num="2" id="5516" />
+<TGConnectingPoint num="3" id="5517" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12864,25 +12864,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5355" >
+<CONNECTOR type="5102" id="5527" >
 <cdparam x="727" y="257" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5354" />
-<P1  x="727" y="180" id="5877" />
-<P2  x="727" y="204" id="5865" />
+<TGConnectingPoint num="0" id="5526" />
+<P1  x="727" y="180" id="6049" />
+<P2  x="727" y="204" id="6037" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5353" >
-<father id="5355" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5525" >
+<father id="5527" num="0" />
 <cdparam x="746" y="191" />
 <sizeparam width="147" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5349" />
-<TGConnectingPoint num="1" id="5350" />
-<TGConnectingPoint num="2" id="5351" />
-<TGConnectingPoint num="3" id="5352" />
+<TGConnectingPoint num="0" id="5521" />
+<TGConnectingPoint num="1" id="5522" />
+<TGConnectingPoint num="2" id="5523" />
+<TGConnectingPoint num="3" id="5524" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12894,25 +12894,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5362" >
+<CONNECTOR type="5102" id="5534" >
 <cdparam x="728" y="308" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5361" />
-<P1  x="727" y="234" id="5866" />
-<P2  x="726" y="254" id="5700" />
+<TGConnectingPoint num="0" id="5533" />
+<P1  x="727" y="234" id="6038" />
+<P2  x="726" y="254" id="5872" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5360" >
-<father id="5362" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5532" >
+<father id="5534" num="0" />
 <cdparam x="728" y="348" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5356" />
-<TGConnectingPoint num="1" id="5357" />
-<TGConnectingPoint num="2" id="5358" />
-<TGConnectingPoint num="3" id="5359" />
+<TGConnectingPoint num="0" id="5528" />
+<TGConnectingPoint num="1" id="5529" />
+<TGConnectingPoint num="2" id="5530" />
+<TGConnectingPoint num="3" id="5531" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -12922,25 +12922,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5369" >
+<CONNECTOR type="5102" id="5541" >
 <cdparam x="447" y="644" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="5368" />
-<P1  x="511" y="649" id="5958" />
-<P2  x="246" y="710" id="5854" />
+<TGConnectingPoint num="0" id="5540" />
+<P1  x="511" y="649" id="6130" />
+<P2  x="246" y="710" id="6026" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5367" >
-<father id="5369" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5539" >
+<father id="5541" num="0" />
 <cdparam x="122" y="687" />
 <sizeparam width="276" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5363" />
-<TGConnectingPoint num="1" id="5364" />
-<TGConnectingPoint num="2" id="5365" />
-<TGConnectingPoint num="3" id="5366" />
+<TGConnectingPoint num="0" id="5535" />
+<TGConnectingPoint num="1" id="5536" />
+<TGConnectingPoint num="2" id="5537" />
+<TGConnectingPoint num="3" id="5538" />
 <extraparam>
 <guard value="[ (mode == 2) and (hasCurrentPicture==false)]" />
 <afterMin value="" />
@@ -12950,25 +12950,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5376" >
+<CONNECTOR type="5102" id="5548" >
 <cdparam x="833" y="512" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="5375" />
-<P1  x="726" y="507" id="5819" />
-<P2  x="726" y="599" id="5931" />
+<TGConnectingPoint num="0" id="5547" />
+<P1  x="726" y="507" id="5991" />
+<P2  x="726" y="599" id="6103" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5374" >
-<father id="5376" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5546" >
+<father id="5548" num="0" />
 <cdparam x="735" y="553" />
 <sizeparam width="121" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5370" />
-<TGConnectingPoint num="1" id="5371" />
-<TGConnectingPoint num="2" id="5372" />
-<TGConnectingPoint num="3" id="5373" />
+<TGConnectingPoint num="0" id="5542" />
+<TGConnectingPoint num="1" id="5543" />
+<TGConnectingPoint num="2" id="5544" />
+<TGConnectingPoint num="3" id="5545" />
 <extraparam>
 <guard value="[nbOfCrossings &gt; 0 ]" />
 <afterMin value="" />
@@ -12978,25 +12978,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5383" >
+<CONNECTOR type="5102" id="5555" >
 <cdparam x="1192" y="395" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5382" />
-<P1  x="1192" y="395" id="5778" />
-<P2  x="1192" y="406" id="5761" />
+<TGConnectingPoint num="0" id="5554" />
+<P1  x="1192" y="395" id="5950" />
+<P2  x="1192" y="406" id="5933" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5381" >
-<father id="5383" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5553" >
+<father id="5555" num="0" />
 <cdparam x="1192" y="434" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5377" />
-<TGConnectingPoint num="1" id="5378" />
-<TGConnectingPoint num="2" id="5379" />
-<TGConnectingPoint num="3" id="5380" />
+<TGConnectingPoint num="0" id="5549" />
+<TGConnectingPoint num="1" id="5550" />
+<TGConnectingPoint num="2" id="5551" />
+<TGConnectingPoint num="3" id="5552" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13006,25 +13006,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5390" >
+<CONNECTOR type="5102" id="5562" >
 <cdparam x="1192" y="454" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5389" />
-<P1  x="1192" y="436" id="5762" />
-<P2  x="1192" y="441" id="5507" />
+<TGConnectingPoint num="0" id="5561" />
+<P1  x="1192" y="436" id="5934" />
+<P2  x="1192" y="441" id="5679" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5388" >
-<father id="5390" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5560" >
+<father id="5562" num="0" />
 <cdparam x="1242" y="483" />
 <sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5384" />
-<TGConnectingPoint num="1" id="5385" />
-<TGConnectingPoint num="2" id="5386" />
-<TGConnectingPoint num="3" id="5387" />
+<TGConnectingPoint num="0" id="5556" />
+<TGConnectingPoint num="1" id="5557" />
+<TGConnectingPoint num="2" id="5558" />
+<TGConnectingPoint num="3" id="5559" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13035,25 +13035,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5397" >
+<CONNECTOR type="5102" id="5569" >
 <cdparam x="358" y="739" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to choice" value="null" />
-<TGConnectingPoint num="0" id="5396" />
-<P1  x="246" y="740" id="5855" />
-<P2  x="103" y="960" id="5889" />
+<TGConnectingPoint num="0" id="5568" />
+<P1  x="246" y="740" id="6027" />
+<P2  x="103" y="960" id="6061" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5395" >
-<father id="5397" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5567" >
+<father id="5569" num="0" />
 <cdparam x="64" y="819" />
 <sizeparam width="143" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5391" />
-<TGConnectingPoint num="1" id="5392" />
-<TGConnectingPoint num="2" id="5393" />
-<TGConnectingPoint num="3" id="5394" />
+<TGConnectingPoint num="0" id="5563" />
+<TGConnectingPoint num="1" id="5564" />
+<TGConnectingPoint num="2" id="5565" />
+<TGConnectingPoint num="3" id="5566" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13064,25 +13064,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5404" >
+<CONNECTOR type="5102" id="5576" >
 <cdparam x="333" y="792" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5403" />
-<P1  x="585" y="649" id="5944" />
-<P2  x="223" y="835" id="5722" />
+<TGConnectingPoint num="0" id="5575" />
+<P1  x="585" y="649" id="6116" />
+<P2  x="223" y="835" id="5894" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5402" >
-<father id="5404" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5574" >
+<father id="5576" num="0" />
 <cdparam x="82" y="789" />
 <sizeparam width="502" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5398" />
-<TGConnectingPoint num="1" id="5399" />
-<TGConnectingPoint num="2" id="5400" />
-<TGConnectingPoint num="3" id="5401" />
+<TGConnectingPoint num="0" id="5570" />
+<TGConnectingPoint num="1" id="5571" />
+<TGConnectingPoint num="2" id="5572" />
+<TGConnectingPoint num="3" id="5573" />
 <extraparam>
 <guard value="[ (hasCurrentPicture == true) and ((currentPicture.bottom == true) and (mode == 2))]" />
 <afterMin value="" />
@@ -13092,25 +13092,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5411" >
+<CONNECTOR type="5102" id="5583" >
 <cdparam x="726" y="284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Set timer to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5410" />
-<P1  x="726" y="284" id="5701" />
-<P2  x="726" y="370" id="5689" />
+<TGConnectingPoint num="0" id="5582" />
+<P1  x="726" y="284" id="5873" />
+<P2  x="726" y="370" id="5861" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5409" >
-<father id="5411" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5581" >
+<father id="5583" num="0" />
 <cdparam x="733" y="319" />
 <sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5405" />
-<TGConnectingPoint num="1" id="5406" />
-<TGConnectingPoint num="2" id="5407" />
-<TGConnectingPoint num="3" id="5408" />
+<TGConnectingPoint num="0" id="5577" />
+<TGConnectingPoint num="1" id="5578" />
+<TGConnectingPoint num="2" id="5579" />
+<TGConnectingPoint num="3" id="5580" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13121,25 +13121,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5418" >
+<CONNECTOR type="5102" id="5590" >
 <cdparam x="867" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Reset timer" value="null" />
-<TGConnectingPoint num="0" id="5417" />
-<P1  x="726" y="649" id="5936" />
-<P2  x="726" y="693" id="5678" />
+<TGConnectingPoint num="0" id="5589" />
+<P1  x="726" y="649" id="6108" />
+<P2  x="726" y="693" id="5850" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5416" >
-<father id="5418" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5588" >
+<father id="5590" num="0" />
 <cdparam x="867" y="689" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5412" />
-<TGConnectingPoint num="1" id="5413" />
-<TGConnectingPoint num="2" id="5414" />
-<TGConnectingPoint num="3" id="5415" />
+<TGConnectingPoint num="0" id="5584" />
+<TGConnectingPoint num="1" id="5585" />
+<TGConnectingPoint num="2" id="5586" />
+<TGConnectingPoint num="3" id="5587" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13149,25 +13149,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5425" >
+<CONNECTOR type="5102" id="5597" >
 <cdparam x="907" y="725" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Reset timer to choice" value="null" />
-<TGConnectingPoint num="0" id="5424" />
-<P1  x="726" y="723" id="5679" />
-<P2  x="725" y="741" id="5662" />
+<TGConnectingPoint num="0" id="5596" />
+<P1  x="726" y="723" id="5851" />
+<P2  x="725" y="741" id="5834" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5423" >
-<father id="5425" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5595" >
+<father id="5597" num="0" />
 <cdparam x="907" y="765" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5419" />
-<TGConnectingPoint num="1" id="5420" />
-<TGConnectingPoint num="2" id="5421" />
-<TGConnectingPoint num="3" id="5422" />
+<TGConnectingPoint num="0" id="5591" />
+<TGConnectingPoint num="1" id="5592" />
+<TGConnectingPoint num="2" id="5593" />
+<TGConnectingPoint num="3" id="5594" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13177,25 +13177,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5432" >
+<CONNECTOR type="5102" id="5604" >
 <cdparam x="1008" y="649" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="5431" />
-<P1  x="934" y="649" id="5961" />
-<P2  x="1250" y="706" id="5651" />
+<TGConnectingPoint num="0" id="5603" />
+<P1  x="934" y="649" id="6133" />
+<P2  x="1250" y="706" id="5823" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5430" >
-<father id="5432" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5602" >
+<father id="5604" num="0" />
 <cdparam x="1008" y="689" />
 <sizeparam width="81" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5426" />
-<TGConnectingPoint num="1" id="5427" />
-<TGConnectingPoint num="2" id="5428" />
-<TGConnectingPoint num="3" id="5429" />
+<TGConnectingPoint num="0" id="5598" />
+<TGConnectingPoint num="1" id="5599" />
+<TGConnectingPoint num="2" id="5600" />
+<TGConnectingPoint num="3" id="5601" />
 <extraparam>
 <guard value="[ mode == 2]" />
 <afterMin value="" />
@@ -13205,25 +13205,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5439" >
+<CONNECTOR type="5102" id="5611" >
 <cdparam x="1250" y="736" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5438" />
-<P1  x="1250" y="736" id="5652" />
-<P2  x="1249" y="764" id="5624" />
+<TGConnectingPoint num="0" id="5610" />
+<P1  x="1250" y="736" id="5824" />
+<P2  x="1249" y="764" id="5796" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5437" >
-<father id="5439" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5609" >
+<father id="5611" num="0" />
 <cdparam x="1250" y="776" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5433" />
-<TGConnectingPoint num="1" id="5434" />
-<TGConnectingPoint num="2" id="5435" />
-<TGConnectingPoint num="3" id="5436" />
+<TGConnectingPoint num="0" id="5605" />
+<TGConnectingPoint num="1" id="5606" />
+<TGConnectingPoint num="2" id="5607" />
+<TGConnectingPoint num="3" id="5608" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13233,25 +13233,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5446" >
+<CONNECTOR type="5102" id="5618" >
 <cdparam x="1585" y="734" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to choice" value="null" />
-<TGConnectingPoint num="0" id="5445" />
-<P1  x="1586" y="679" id="5614" />
-<P2  x="1586" y="693" id="5597" />
+<TGConnectingPoint num="0" id="5617" />
+<P1  x="1586" y="679" id="5786" />
+<P2  x="1586" y="693" id="5769" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5444" >
-<father id="5446" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5616" >
+<father id="5618" num="0" />
 <cdparam x="1585" y="774" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5440" />
-<TGConnectingPoint num="1" id="5441" />
-<TGConnectingPoint num="2" id="5442" />
-<TGConnectingPoint num="3" id="5443" />
+<TGConnectingPoint num="0" id="5612" />
+<TGConnectingPoint num="1" id="5613" />
+<TGConnectingPoint num="2" id="5614" />
+<TGConnectingPoint num="3" id="5615" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13261,25 +13261,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5453" >
+<CONNECTOR type="5102" id="5625" >
 <cdparam x="1728" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5452" />
-<P1  x="1675" y="798" id="5530" />
-<P2  x="1639" y="859" id="5553" />
+<TGConnectingPoint num="0" id="5624" />
+<P1  x="1675" y="798" id="5702" />
+<P2  x="1639" y="859" id="5725" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5451" >
-<father id="5453" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5623" >
+<father id="5625" num="0" />
 <cdparam x="1555" y="813" />
 <sizeparam width="105" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5447" />
-<TGConnectingPoint num="1" id="5448" />
-<TGConnectingPoint num="2" id="5449" />
-<TGConnectingPoint num="3" id="5450" />
+<TGConnectingPoint num="0" id="5619" />
+<TGConnectingPoint num="1" id="5620" />
+<TGConnectingPoint num="2" id="5621" />
+<TGConnectingPoint num="3" id="5622" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13291,25 +13291,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5460" >
+<CONNECTOR type="5102" id="5632" >
 <cdparam x="1224" y="789" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to Send signal" value="null" />
-<TGConnectingPoint num="0" id="5459" />
-<P1  x="1224" y="789" id="5628" />
-<P2  x="1163" y="858" id="5479" />
+<TGConnectingPoint num="0" id="5631" />
+<P1  x="1224" y="789" id="5800" />
+<P2  x="1163" y="858" id="5651" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5458" >
-<father id="5460" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5630" >
+<father id="5632" num="0" />
 <cdparam x="1149" y="830" />
 <sizeparam width="39" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5454" />
-<TGConnectingPoint num="1" id="5455" />
-<TGConnectingPoint num="2" id="5456" />
-<TGConnectingPoint num="3" id="5457" />
+<TGConnectingPoint num="0" id="5626" />
+<TGConnectingPoint num="1" id="5627" />
+<TGConnectingPoint num="2" id="5628" />
+<TGConnectingPoint num="3" id="5629" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -13319,25 +13319,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="5467" >
+<CONNECTOR type="5102" id="5639" >
 <cdparam x="1163" y="888" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="5466" />
-<P1  x="1163" y="888" id="5480" />
-<P2  x="973" y="960" id="5908" />
+<TGConnectingPoint num="0" id="5638" />
+<P1  x="1163" y="888" id="5652" />
+<P2  x="973" y="960" id="6080" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5465" >
-<father id="5467" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5637" >
+<father id="5639" num="0" />
 <cdparam x="1093" y="924" />
 <sizeparam width="101" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="5461" />
-<TGConnectingPoint num="1" id="5462" />
-<TGConnectingPoint num="2" id="5463" />
-<TGConnectingPoint num="3" id="5464" />
+<TGConnectingPoint num="0" id="5633" />
+<TGConnectingPoint num="1" id="5634" />
+<TGConnectingPoint num="2" id="5635" />
+<TGConnectingPoint num="3" id="5636" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -13349,429 +13349,429 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="5478" >
+<COMPONENT type="5104" id="5650" >
 <cdparam x="228" y="450" />
 <sizeparam width="102" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="doorHandled()" />
-<TGConnectingPoint num="0" id="5468" />
-<TGConnectingPoint num="1" id="5469" />
-<TGConnectingPoint num="2" id="5470" />
-<TGConnectingPoint num="3" id="5471" />
-<TGConnectingPoint num="4" id="5472" />
-<TGConnectingPoint num="5" id="5473" />
-<TGConnectingPoint num="6" id="5474" />
-<TGConnectingPoint num="7" id="5475" />
-<TGConnectingPoint num="8" id="5476" />
-<TGConnectingPoint num="9" id="5477" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="5489" >
+<TGConnectingPoint num="0" id="5640" />
+<TGConnectingPoint num="1" id="5641" />
+<TGConnectingPoint num="2" id="5642" />
+<TGConnectingPoint num="3" id="5643" />
+<TGConnectingPoint num="4" id="5644" />
+<TGConnectingPoint num="5" id="5645" />
+<TGConnectingPoint num="6" id="5646" />
+<TGConnectingPoint num="7" id="5647" />
+<TGConnectingPoint num="8" id="5648" />
+<TGConnectingPoint num="9" id="5649" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="5661" >
 <cdparam x="1115" y="863" />
 <sizeparam width="97" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="doorDetected()" />
-<TGConnectingPoint num="0" id="5479" />
-<TGConnectingPoint num="1" id="5480" />
-<TGConnectingPoint num="2" id="5481" />
-<TGConnectingPoint num="3" id="5482" />
-<TGConnectingPoint num="4" id="5483" />
-<TGConnectingPoint num="5" id="5484" />
-<TGConnectingPoint num="6" id="5485" />
-<TGConnectingPoint num="7" id="5486" />
-<TGConnectingPoint num="8" id="5487" />
-<TGConnectingPoint num="9" id="5488" />
+<TGConnectingPoint num="0" id="5651" />
+<TGConnectingPoint num="1" id="5652" />
+<TGConnectingPoint num="2" id="5653" />
+<TGConnectingPoint num="3" id="5654" />
+<TGConnectingPoint num="4" id="5655" />
+<TGConnectingPoint num="5" id="5656" />
+<TGConnectingPoint num="6" id="5657" />
+<TGConnectingPoint num="7" id="5658" />
+<TGConnectingPoint num="8" id="5659" />
+<TGConnectingPoint num="9" id="5660" />
 </COMPONENT>
 
-<COMPONENT type="301" id="5506" >
+<COMPONENT type="301" id="5678" >
 <cdparam x="1097" y="777" />
 <sizeparam width="70" height="35" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="UML Note" value="Obstacle
 " />
-<TGConnectingPoint num="0" id="5490" />
-<TGConnectingPoint num="1" id="5491" />
-<TGConnectingPoint num="2" id="5492" />
-<TGConnectingPoint num="3" id="5493" />
-<TGConnectingPoint num="4" id="5494" />
-<TGConnectingPoint num="5" id="5495" />
-<TGConnectingPoint num="6" id="5496" />
-<TGConnectingPoint num="7" id="5497" />
-<TGConnectingPoint num="8" id="5498" />
-<TGConnectingPoint num="9" id="5499" />
-<TGConnectingPoint num="10" id="5500" />
-<TGConnectingPoint num="11" id="5501" />
-<TGConnectingPoint num="12" id="5502" />
-<TGConnectingPoint num="13" id="5503" />
-<TGConnectingPoint num="14" id="5504" />
-<TGConnectingPoint num="15" id="5505" />
+<TGConnectingPoint num="0" id="5662" />
+<TGConnectingPoint num="1" id="5663" />
+<TGConnectingPoint num="2" id="5664" />
+<TGConnectingPoint num="3" id="5665" />
+<TGConnectingPoint num="4" id="5666" />
+<TGConnectingPoint num="5" id="5667" />
+<TGConnectingPoint num="6" id="5668" />
+<TGConnectingPoint num="7" id="5669" />
+<TGConnectingPoint num="8" id="5670" />
+<TGConnectingPoint num="9" id="5671" />
+<TGConnectingPoint num="10" id="5672" />
+<TGConnectingPoint num="11" id="5673" />
+<TGConnectingPoint num="12" id="5674" />
+<TGConnectingPoint num="13" id="5675" />
+<TGConnectingPoint num="14" id="5676" />
+<TGConnectingPoint num="15" id="5677" />
 <extraparam>
 <Line value="Obstacle" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5109" id="5517" >
+<COMPONENT type="5109" id="5689" >
 <cdparam x="1063" y="446" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="5507" />
-<TGConnectingPoint num="1" id="5508" />
-<TGConnectingPoint num="2" id="5509" />
-<TGConnectingPoint num="3" id="5510" />
-<TGConnectingPoint num="4" id="5511" />
-<TGConnectingPoint num="5" id="5512" />
-<TGConnectingPoint num="6" id="5513" />
-<TGConnectingPoint num="7" id="5514" />
-<TGConnectingPoint num="8" id="5515" />
-<TGConnectingPoint num="9" id="5516" />
-</COMPONENT>
-
-<COMPONENT type="5109" id="5528" >
+<TGConnectingPoint num="0" id="5679" />
+<TGConnectingPoint num="1" id="5680" />
+<TGConnectingPoint num="2" id="5681" />
+<TGConnectingPoint num="3" id="5682" />
+<TGConnectingPoint num="4" id="5683" />
+<TGConnectingPoint num="5" id="5684" />
+<TGConnectingPoint num="6" id="5685" />
+<TGConnectingPoint num="7" id="5686" />
+<TGConnectingPoint num="8" id="5687" />
+<TGConnectingPoint num="9" id="5688" />
+</COMPONENT>
+
+<COMPONENT type="5109" id="5700" >
 <cdparam x="1591" y="923" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="5518" />
-<TGConnectingPoint num="1" id="5519" />
-<TGConnectingPoint num="2" id="5520" />
-<TGConnectingPoint num="3" id="5521" />
-<TGConnectingPoint num="4" id="5522" />
-<TGConnectingPoint num="5" id="5523" />
-<TGConnectingPoint num="6" id="5524" />
-<TGConnectingPoint num="7" id="5525" />
-<TGConnectingPoint num="8" id="5526" />
-<TGConnectingPoint num="9" id="5527" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="5544" >
+<TGConnectingPoint num="0" id="5690" />
+<TGConnectingPoint num="1" id="5691" />
+<TGConnectingPoint num="2" id="5692" />
+<TGConnectingPoint num="3" id="5693" />
+<TGConnectingPoint num="4" id="5694" />
+<TGConnectingPoint num="5" id="5695" />
+<TGConnectingPoint num="6" id="5696" />
+<TGConnectingPoint num="7" id="5697" />
+<TGConnectingPoint num="8" id="5698" />
+<TGConnectingPoint num="9" id="5699" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="5716" >
 <cdparam x="1685" y="783" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="5529" />
-<TGConnectingPoint num="1" id="5530" />
-<TGConnectingPoint num="2" id="5531" />
-<TGConnectingPoint num="3" id="5532" />
-<TGConnectingPoint num="4" id="5533" />
-<TGConnectingPoint num="5" id="5534" />
-<TGConnectingPoint num="6" id="5535" />
-<TGConnectingPoint num="7" id="5536" />
-<TGConnectingPoint num="8" id="5537" />
-<TGConnectingPoint num="9" id="5538" />
-<TGConnectingPoint num="10" id="5539" />
-<TGConnectingPoint num="11" id="5540" />
-<TGConnectingPoint num="12" id="5541" />
-<TGConnectingPoint num="13" id="5542" />
-<TGConnectingPoint num="14" id="5543" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="5585" >
+<TGConnectingPoint num="0" id="5701" />
+<TGConnectingPoint num="1" id="5702" />
+<TGConnectingPoint num="2" id="5703" />
+<TGConnectingPoint num="3" id="5704" />
+<TGConnectingPoint num="4" id="5705" />
+<TGConnectingPoint num="5" id="5706" />
+<TGConnectingPoint num="6" id="5707" />
+<TGConnectingPoint num="7" id="5708" />
+<TGConnectingPoint num="8" id="5709" />
+<TGConnectingPoint num="9" id="5710" />
+<TGConnectingPoint num="10" id="5711" />
+<TGConnectingPoint num="11" id="5712" />
+<TGConnectingPoint num="12" id="5713" />
+<TGConnectingPoint num="13" id="5714" />
+<TGConnectingPoint num="14" id="5715" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="5757" >
 <cdparam x="1585" y="859" />
 <sizeparam width="219" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="SendingTurnCommand" />
-<TGConnectingPoint num="0" id="5545" />
-<TGConnectingPoint num="1" id="5546" />
-<TGConnectingPoint num="2" id="5547" />
-<TGConnectingPoint num="3" id="5548" />
-<TGConnectingPoint num="4" id="5549" />
-<TGConnectingPoint num="5" id="5550" />
-<TGConnectingPoint num="6" id="5551" />
-<TGConnectingPoint num="7" id="5552" />
-<TGConnectingPoint num="8" id="5553" />
-<TGConnectingPoint num="9" id="5554" />
-<TGConnectingPoint num="10" id="5555" />
-<TGConnectingPoint num="11" id="5556" />
-<TGConnectingPoint num="12" id="5557" />
-<TGConnectingPoint num="13" id="5558" />
-<TGConnectingPoint num="14" id="5559" />
-<TGConnectingPoint num="15" id="5560" />
-<TGConnectingPoint num="16" id="5561" />
-<TGConnectingPoint num="17" id="5562" />
-<TGConnectingPoint num="18" id="5563" />
-<TGConnectingPoint num="19" id="5564" />
-<TGConnectingPoint num="20" id="5565" />
-<TGConnectingPoint num="21" id="5566" />
-<TGConnectingPoint num="22" id="5567" />
-<TGConnectingPoint num="23" id="5568" />
-<TGConnectingPoint num="24" id="5569" />
-<TGConnectingPoint num="25" id="5570" />
-<TGConnectingPoint num="26" id="5571" />
-<TGConnectingPoint num="27" id="5572" />
-<TGConnectingPoint num="28" id="5573" />
-<TGConnectingPoint num="29" id="5574" />
-<TGConnectingPoint num="30" id="5575" />
-<TGConnectingPoint num="31" id="5576" />
-<TGConnectingPoint num="32" id="5577" />
-<TGConnectingPoint num="33" id="5578" />
-<TGConnectingPoint num="34" id="5579" />
-<TGConnectingPoint num="35" id="5580" />
-<TGConnectingPoint num="36" id="5581" />
-<TGConnectingPoint num="37" id="5582" />
-<TGConnectingPoint num="38" id="5583" />
-<TGConnectingPoint num="39" id="5584" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="5596" >
+<TGConnectingPoint num="0" id="5717" />
+<TGConnectingPoint num="1" id="5718" />
+<TGConnectingPoint num="2" id="5719" />
+<TGConnectingPoint num="3" id="5720" />
+<TGConnectingPoint num="4" id="5721" />
+<TGConnectingPoint num="5" id="5722" />
+<TGConnectingPoint num="6" id="5723" />
+<TGConnectingPoint num="7" id="5724" />
+<TGConnectingPoint num="8" id="5725" />
+<TGConnectingPoint num="9" id="5726" />
+<TGConnectingPoint num="10" id="5727" />
+<TGConnectingPoint num="11" id="5728" />
+<TGConnectingPoint num="12" id="5729" />
+<TGConnectingPoint num="13" id="5730" />
+<TGConnectingPoint num="14" id="5731" />
+<TGConnectingPoint num="15" id="5732" />
+<TGConnectingPoint num="16" id="5733" />
+<TGConnectingPoint num="17" id="5734" />
+<TGConnectingPoint num="18" id="5735" />
+<TGConnectingPoint num="19" id="5736" />
+<TGConnectingPoint num="20" id="5737" />
+<TGConnectingPoint num="21" id="5738" />
+<TGConnectingPoint num="22" id="5739" />
+<TGConnectingPoint num="23" id="5740" />
+<TGConnectingPoint num="24" id="5741" />
+<TGConnectingPoint num="25" id="5742" />
+<TGConnectingPoint num="26" id="5743" />
+<TGConnectingPoint num="27" id="5744" />
+<TGConnectingPoint num="28" id="5745" />
+<TGConnectingPoint num="29" id="5746" />
+<TGConnectingPoint num="30" id="5747" />
+<TGConnectingPoint num="31" id="5748" />
+<TGConnectingPoint num="32" id="5749" />
+<TGConnectingPoint num="33" id="5750" />
+<TGConnectingPoint num="34" id="5751" />
+<TGConnectingPoint num="35" id="5752" />
+<TGConnectingPoint num="36" id="5753" />
+<TGConnectingPoint num="37" id="5754" />
+<TGConnectingPoint num="38" id="5755" />
+<TGConnectingPoint num="39" id="5756" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="5768" >
 <cdparam x="1639" y="967" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="5586" />
-<TGConnectingPoint num="1" id="5587" />
-<TGConnectingPoint num="2" id="5588" />
-<TGConnectingPoint num="3" id="5589" />
-<TGConnectingPoint num="4" id="5590" />
-<TGConnectingPoint num="5" id="5591" />
-<TGConnectingPoint num="6" id="5592" />
-<TGConnectingPoint num="7" id="5593" />
-<TGConnectingPoint num="8" id="5594" />
-<TGConnectingPoint num="9" id="5595" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="5612" >
+<TGConnectingPoint num="0" id="5758" />
+<TGConnectingPoint num="1" id="5759" />
+<TGConnectingPoint num="2" id="5760" />
+<TGConnectingPoint num="3" id="5761" />
+<TGConnectingPoint num="4" id="5762" />
+<TGConnectingPoint num="5" id="5763" />
+<TGConnectingPoint num="6" id="5764" />
+<TGConnectingPoint num="7" id="5765" />
+<TGConnectingPoint num="8" id="5766" />
+<TGConnectingPoint num="9" id="5767" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="5784" >
 <cdparam x="1571" y="703" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="5597" />
-<TGConnectingPoint num="1" id="5598" />
-<TGConnectingPoint num="2" id="5599" />
-<TGConnectingPoint num="3" id="5600" />
-<TGConnectingPoint num="4" id="5601" />
-<TGConnectingPoint num="5" id="5602" />
-<TGConnectingPoint num="6" id="5603" />
-<TGConnectingPoint num="7" id="5604" />
-<TGConnectingPoint num="8" id="5605" />
-<TGConnectingPoint num="9" id="5606" />
-<TGConnectingPoint num="10" id="5607" />
-<TGConnectingPoint num="11" id="5608" />
-<TGConnectingPoint num="12" id="5609" />
-<TGConnectingPoint num="13" id="5610" />
-<TGConnectingPoint num="14" id="5611" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="5623" >
+<TGConnectingPoint num="0" id="5769" />
+<TGConnectingPoint num="1" id="5770" />
+<TGConnectingPoint num="2" id="5771" />
+<TGConnectingPoint num="3" id="5772" />
+<TGConnectingPoint num="4" id="5773" />
+<TGConnectingPoint num="5" id="5774" />
+<TGConnectingPoint num="6" id="5775" />
+<TGConnectingPoint num="7" id="5776" />
+<TGConnectingPoint num="8" id="5777" />
+<TGConnectingPoint num="9" id="5778" />
+<TGConnectingPoint num="10" id="5779" />
+<TGConnectingPoint num="11" id="5780" />
+<TGConnectingPoint num="12" id="5781" />
+<TGConnectingPoint num="13" id="5782" />
+<TGConnectingPoint num="14" id="5783" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="5795" >
 <cdparam x="1483" y="654" />
 <sizeparam width="206" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="resultCrossingRecognition(found)" />
-<TGConnectingPoint num="0" id="5613" />
-<TGConnectingPoint num="1" id="5614" />
-<TGConnectingPoint num="2" id="5615" />
-<TGConnectingPoint num="3" id="5616" />
-<TGConnectingPoint num="4" id="5617" />
-<TGConnectingPoint num="5" id="5618" />
-<TGConnectingPoint num="6" id="5619" />
-<TGConnectingPoint num="7" id="5620" />
-<TGConnectingPoint num="8" id="5621" />
-<TGConnectingPoint num="9" id="5622" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="5639" >
+<TGConnectingPoint num="0" id="5785" />
+<TGConnectingPoint num="1" id="5786" />
+<TGConnectingPoint num="2" id="5787" />
+<TGConnectingPoint num="3" id="5788" />
+<TGConnectingPoint num="4" id="5789" />
+<TGConnectingPoint num="5" id="5790" />
+<TGConnectingPoint num="6" id="5791" />
+<TGConnectingPoint num="7" id="5792" />
+<TGConnectingPoint num="8" id="5793" />
+<TGConnectingPoint num="9" id="5794" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="5811" >
 <cdparam x="1234" y="774" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="5624" />
-<TGConnectingPoint num="1" id="5625" />
-<TGConnectingPoint num="2" id="5626" />
-<TGConnectingPoint num="3" id="5627" />
-<TGConnectingPoint num="4" id="5628" />
-<TGConnectingPoint num="5" id="5629" />
-<TGConnectingPoint num="6" id="5630" />
-<TGConnectingPoint num="7" id="5631" />
-<TGConnectingPoint num="8" id="5632" />
-<TGConnectingPoint num="9" id="5633" />
-<TGConnectingPoint num="10" id="5634" />
-<TGConnectingPoint num="11" id="5635" />
-<TGConnectingPoint num="12" id="5636" />
-<TGConnectingPoint num="13" id="5637" />
-<TGConnectingPoint num="14" id="5638" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="5650" >
+<TGConnectingPoint num="0" id="5796" />
+<TGConnectingPoint num="1" id="5797" />
+<TGConnectingPoint num="2" id="5798" />
+<TGConnectingPoint num="3" id="5799" />
+<TGConnectingPoint num="4" id="5800" />
+<TGConnectingPoint num="5" id="5801" />
+<TGConnectingPoint num="6" id="5802" />
+<TGConnectingPoint num="7" id="5803" />
+<TGConnectingPoint num="8" id="5804" />
+<TGConnectingPoint num="9" id="5805" />
+<TGConnectingPoint num="10" id="5806" />
+<TGConnectingPoint num="11" id="5807" />
+<TGConnectingPoint num="12" id="5808" />
+<TGConnectingPoint num="13" id="5809" />
+<TGConnectingPoint num="14" id="5810" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="5822" >
 <cdparam x="1168" y="960" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="5640" />
-<TGConnectingPoint num="1" id="5641" />
-<TGConnectingPoint num="2" id="5642" />
-<TGConnectingPoint num="3" id="5643" />
-<TGConnectingPoint num="4" id="5644" />
-<TGConnectingPoint num="5" id="5645" />
-<TGConnectingPoint num="6" id="5646" />
-<TGConnectingPoint num="7" id="5647" />
-<TGConnectingPoint num="8" id="5648" />
-<TGConnectingPoint num="9" id="5649" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="5661" >
+<TGConnectingPoint num="0" id="5812" />
+<TGConnectingPoint num="1" id="5813" />
+<TGConnectingPoint num="2" id="5814" />
+<TGConnectingPoint num="3" id="5815" />
+<TGConnectingPoint num="4" id="5816" />
+<TGConnectingPoint num="5" id="5817" />
+<TGConnectingPoint num="6" id="5818" />
+<TGConnectingPoint num="7" id="5819" />
+<TGConnectingPoint num="8" id="5820" />
+<TGConnectingPoint num="9" id="5821" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="5833" >
 <cdparam x="1145" y="711" />
 <sizeparam width="210" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="resultRecognition(found, position)" />
-<TGConnectingPoint num="0" id="5651" />
-<TGConnectingPoint num="1" id="5652" />
-<TGConnectingPoint num="2" id="5653" />
-<TGConnectingPoint num="3" id="5654" />
-<TGConnectingPoint num="4" id="5655" />
-<TGConnectingPoint num="5" id="5656" />
-<TGConnectingPoint num="6" id="5657" />
-<TGConnectingPoint num="7" id="5658" />
-<TGConnectingPoint num="8" id="5659" />
-<TGConnectingPoint num="9" id="5660" />
-</COMPONENT>
-
-<COMPONENT type="5107" id="5677" >
+<TGConnectingPoint num="0" id="5823" />
+<TGConnectingPoint num="1" id="5824" />
+<TGConnectingPoint num="2" id="5825" />
+<TGConnectingPoint num="3" id="5826" />
+<TGConnectingPoint num="4" id="5827" />
+<TGConnectingPoint num="5" id="5828" />
+<TGConnectingPoint num="6" id="5829" />
+<TGConnectingPoint num="7" id="5830" />
+<TGConnectingPoint num="8" id="5831" />
+<TGConnectingPoint num="9" id="5832" />
+</COMPONENT>
+
+<COMPONENT type="5107" id="5849" >
 <cdparam x="710" y="751" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="5662" />
-<TGConnectingPoint num="1" id="5663" />
-<TGConnectingPoint num="2" id="5664" />
-<TGConnectingPoint num="3" id="5665" />
-<TGConnectingPoint num="4" id="5666" />
-<TGConnectingPoint num="5" id="5667" />
-<TGConnectingPoint num="6" id="5668" />
-<TGConnectingPoint num="7" id="5669" />
-<TGConnectingPoint num="8" id="5670" />
-<TGConnectingPoint num="9" id="5671" />
-<TGConnectingPoint num="10" id="5672" />
-<TGConnectingPoint num="11" id="5673" />
-<TGConnectingPoint num="12" id="5674" />
-<TGConnectingPoint num="13" id="5675" />
-<TGConnectingPoint num="14" id="5676" />
-</COMPONENT>
-
-<COMPONENT type="5111" id="5688" >
+<TGConnectingPoint num="0" id="5834" />
+<TGConnectingPoint num="1" id="5835" />
+<TGConnectingPoint num="2" id="5836" />
+<TGConnectingPoint num="3" id="5837" />
+<TGConnectingPoint num="4" id="5838" />
+<TGConnectingPoint num="5" id="5839" />
+<TGConnectingPoint num="6" id="5840" />
+<TGConnectingPoint num="7" id="5841" />
+<TGConnectingPoint num="8" id="5842" />
+<TGConnectingPoint num="9" id="5843" />
+<TGConnectingPoint num="10" id="5844" />
+<TGConnectingPoint num="11" id="5845" />
+<TGConnectingPoint num="12" id="5846" />
+<TGConnectingPoint num="13" id="5847" />
+<TGConnectingPoint num="14" id="5848" />
+</COMPONENT>
+
+<COMPONENT type="5111" id="5860" >
 <cdparam x="647" y="698" />
 <sizeparam width="159" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Reset timer" value="expire(movementTimer)" />
-<TGConnectingPoint num="0" id="5678" />
-<TGConnectingPoint num="1" id="5679" />
-<TGConnectingPoint num="2" id="5680" />
-<TGConnectingPoint num="3" id="5681" />
-<TGConnectingPoint num="4" id="5682" />
-<TGConnectingPoint num="5" id="5683" />
-<TGConnectingPoint num="6" id="5684" />
-<TGConnectingPoint num="7" id="5685" />
-<TGConnectingPoint num="8" id="5686" />
-<TGConnectingPoint num="9" id="5687" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="5699" >
+<TGConnectingPoint num="0" id="5850" />
+<TGConnectingPoint num="1" id="5851" />
+<TGConnectingPoint num="2" id="5852" />
+<TGConnectingPoint num="3" id="5853" />
+<TGConnectingPoint num="4" id="5854" />
+<TGConnectingPoint num="5" id="5855" />
+<TGConnectingPoint num="6" id="5856" />
+<TGConnectingPoint num="7" id="5857" />
+<TGConnectingPoint num="8" id="5858" />
+<TGConnectingPoint num="9" id="5859" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="5871" >
 <cdparam x="645" y="375" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="5689" />
-<TGConnectingPoint num="1" id="5690" />
-<TGConnectingPoint num="2" id="5691" />
-<TGConnectingPoint num="3" id="5692" />
-<TGConnectingPoint num="4" id="5693" />
-<TGConnectingPoint num="5" id="5694" />
-<TGConnectingPoint num="6" id="5695" />
-<TGConnectingPoint num="7" id="5696" />
-<TGConnectingPoint num="8" id="5697" />
-<TGConnectingPoint num="9" id="5698" />
-</COMPONENT>
-
-<COMPONENT type="5109" id="5710" >
+<TGConnectingPoint num="0" id="5861" />
+<TGConnectingPoint num="1" id="5862" />
+<TGConnectingPoint num="2" id="5863" />
+<TGConnectingPoint num="3" id="5864" />
+<TGConnectingPoint num="4" id="5865" />
+<TGConnectingPoint num="5" id="5866" />
+<TGConnectingPoint num="6" id="5867" />
+<TGConnectingPoint num="7" id="5868" />
+<TGConnectingPoint num="8" id="5869" />
+<TGConnectingPoint num="9" id="5870" />
+</COMPONENT>
+
+<COMPONENT type="5109" id="5882" >
 <cdparam x="597" y="259" />
 <sizeparam width="259" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Set timer" value="setTimer(movementTimer,movementDelay)" />
-<TGConnectingPoint num="0" id="5700" />
-<TGConnectingPoint num="1" id="5701" />
-<TGConnectingPoint num="2" id="5702" />
-<TGConnectingPoint num="3" id="5703" />
-<TGConnectingPoint num="4" id="5704" />
-<TGConnectingPoint num="5" id="5705" />
-<TGConnectingPoint num="6" id="5706" />
-<TGConnectingPoint num="7" id="5707" />
-<TGConnectingPoint num="8" id="5708" />
-<TGConnectingPoint num="9" id="5709" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="5721" >
+<TGConnectingPoint num="0" id="5872" />
+<TGConnectingPoint num="1" id="5873" />
+<TGConnectingPoint num="2" id="5874" />
+<TGConnectingPoint num="3" id="5875" />
+<TGConnectingPoint num="4" id="5876" />
+<TGConnectingPoint num="5" id="5877" />
+<TGConnectingPoint num="6" id="5878" />
+<TGConnectingPoint num="7" id="5879" />
+<TGConnectingPoint num="8" id="5880" />
+<TGConnectingPoint num="9" id="5881" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="5893" >
 <cdparam x="352" y="839" />
 <sizeparam width="263" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="computeCrossingRecognition(currentPicture)" />
-<TGConnectingPoint num="0" id="5711" />
-<TGConnectingPoint num="1" id="5712" />
-<TGConnectingPoint num="2" id="5713" />
-<TGConnectingPoint num="3" id="5714" />
-<TGConnectingPoint num="4" id="5715" />
-<TGConnectingPoint num="5" id="5716" />
-<TGConnectingPoint num="6" id="5717" />
-<TGConnectingPoint num="7" id="5718" />
-<TGConnectingPoint num="8" id="5719" />
-<TGConnectingPoint num="9" id="5720" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="5732" >
+<TGConnectingPoint num="0" id="5883" />
+<TGConnectingPoint num="1" id="5884" />
+<TGConnectingPoint num="2" id="5885" />
+<TGConnectingPoint num="3" id="5886" />
+<TGConnectingPoint num="4" id="5887" />
+<TGConnectingPoint num="5" id="5888" />
+<TGConnectingPoint num="6" id="5889" />
+<TGConnectingPoint num="7" id="5890" />
+<TGConnectingPoint num="8" id="5891" />
+<TGConnectingPoint num="9" id="5892" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="5904" >
 <cdparam x="105" y="840" />
 <sizeparam width="237" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="computeLineRecognition(currentPicture)" />
-<TGConnectingPoint num="0" id="5722" />
-<TGConnectingPoint num="1" id="5723" />
-<TGConnectingPoint num="2" id="5724" />
-<TGConnectingPoint num="3" id="5725" />
-<TGConnectingPoint num="4" id="5726" />
-<TGConnectingPoint num="5" id="5727" />
-<TGConnectingPoint num="6" id="5728" />
-<TGConnectingPoint num="7" id="5729" />
-<TGConnectingPoint num="8" id="5730" />
-<TGConnectingPoint num="9" id="5731" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="5743" >
+<TGConnectingPoint num="0" id="5894" />
+<TGConnectingPoint num="1" id="5895" />
+<TGConnectingPoint num="2" id="5896" />
+<TGConnectingPoint num="3" id="5897" />
+<TGConnectingPoint num="4" id="5898" />
+<TGConnectingPoint num="5" id="5899" />
+<TGConnectingPoint num="6" id="5900" />
+<TGConnectingPoint num="7" id="5901" />
+<TGConnectingPoint num="8" id="5902" />
+<TGConnectingPoint num="9" id="5903" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="5915" >
 <cdparam x="1111" y="499" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="sendCommand(command)" />
-<TGConnectingPoint num="0" id="5733" />
-<TGConnectingPoint num="1" id="5734" />
-<TGConnectingPoint num="2" id="5735" />
-<TGConnectingPoint num="3" id="5736" />
-<TGConnectingPoint num="4" id="5737" />
-<TGConnectingPoint num="5" id="5738" />
-<TGConnectingPoint num="6" id="5739" />
-<TGConnectingPoint num="7" id="5740" />
-<TGConnectingPoint num="8" id="5741" />
-<TGConnectingPoint num="9" id="5742" />
-</COMPONENT>
-
-<COMPONENT type="301" id="5760" >
+<TGConnectingPoint num="0" id="5905" />
+<TGConnectingPoint num="1" id="5906" />
+<TGConnectingPoint num="2" id="5907" />
+<TGConnectingPoint num="3" id="5908" />
+<TGConnectingPoint num="4" id="5909" />
+<TGConnectingPoint num="5" id="5910" />
+<TGConnectingPoint num="6" id="5911" />
+<TGConnectingPoint num="7" id="5912" />
+<TGConnectingPoint num="8" id="5913" />
+<TGConnectingPoint num="9" id="5914" />
+</COMPONENT>
+
+<COMPONENT type="301" id="5932" >
 <cdparam x="423" y="58" />
 <sizeparam width="150" height="170" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -13787,22 +13787,22 @@ pitch, roll and yaw
 6: turning right
 7: Handling door
 " />
-<TGConnectingPoint num="0" id="5744" />
-<TGConnectingPoint num="1" id="5745" />
-<TGConnectingPoint num="2" id="5746" />
-<TGConnectingPoint num="3" id="5747" />
-<TGConnectingPoint num="4" id="5748" />
-<TGConnectingPoint num="5" id="5749" />
-<TGConnectingPoint num="6" id="5750" />
-<TGConnectingPoint num="7" id="5751" />
-<TGConnectingPoint num="8" id="5752" />
-<TGConnectingPoint num="9" id="5753" />
-<TGConnectingPoint num="10" id="5754" />
-<TGConnectingPoint num="11" id="5755" />
-<TGConnectingPoint num="12" id="5756" />
-<TGConnectingPoint num="13" id="5757" />
-<TGConnectingPoint num="14" id="5758" />
-<TGConnectingPoint num="15" id="5759" />
+<TGConnectingPoint num="0" id="5916" />
+<TGConnectingPoint num="1" id="5917" />
+<TGConnectingPoint num="2" id="5918" />
+<TGConnectingPoint num="3" id="5919" />
+<TGConnectingPoint num="4" id="5920" />
+<TGConnectingPoint num="5" id="5921" />
+<TGConnectingPoint num="6" id="5922" />
+<TGConnectingPoint num="7" id="5923" />
+<TGConnectingPoint num="8" id="5924" />
+<TGConnectingPoint num="9" id="5925" />
+<TGConnectingPoint num="10" id="5926" />
+<TGConnectingPoint num="11" id="5927" />
+<TGConnectingPoint num="12" id="5928" />
+<TGConnectingPoint num="13" id="5929" />
+<TGConnectingPoint num="14" id="5930" />
+<TGConnectingPoint num="15" id="5931" />
 <extraparam>
 <Line value="Modes:" />
 <Line value="---------" />
@@ -13817,383 +13817,383 @@ pitch, roll and yaw
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="5771" >
+<COMPONENT type="5103" id="5943" >
 <cdparam x="1148" y="411" />
 <sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="stopCamera()" />
-<TGConnectingPoint num="0" id="5761" />
-<TGConnectingPoint num="1" id="5762" />
-<TGConnectingPoint num="2" id="5763" />
-<TGConnectingPoint num="3" id="5764" />
-<TGConnectingPoint num="4" id="5765" />
-<TGConnectingPoint num="5" id="5766" />
-<TGConnectingPoint num="6" id="5767" />
-<TGConnectingPoint num="7" id="5768" />
-<TGConnectingPoint num="8" id="5769" />
-<TGConnectingPoint num="9" id="5770" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="5812" >
+<TGConnectingPoint num="0" id="5933" />
+<TGConnectingPoint num="1" id="5934" />
+<TGConnectingPoint num="2" id="5935" />
+<TGConnectingPoint num="3" id="5936" />
+<TGConnectingPoint num="4" id="5937" />
+<TGConnectingPoint num="5" id="5938" />
+<TGConnectingPoint num="6" id="5939" />
+<TGConnectingPoint num="7" id="5940" />
+<TGConnectingPoint num="8" id="5941" />
+<TGConnectingPoint num="9" id="5942" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="5984" >
 <cdparam x="1106" y="345" />
 <sizeparam width="173" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="DestinationReached" />
-<TGConnectingPoint num="0" id="5772" />
-<TGConnectingPoint num="1" id="5773" />
-<TGConnectingPoint num="2" id="5774" />
-<TGConnectingPoint num="3" id="5775" />
-<TGConnectingPoint num="4" id="5776" />
-<TGConnectingPoint num="5" id="5777" />
-<TGConnectingPoint num="6" id="5778" />
-<TGConnectingPoint num="7" id="5779" />
-<TGConnectingPoint num="8" id="5780" />
-<TGConnectingPoint num="9" id="5781" />
-<TGConnectingPoint num="10" id="5782" />
-<TGConnectingPoint num="11" id="5783" />
-<TGConnectingPoint num="12" id="5784" />
-<TGConnectingPoint num="13" id="5785" />
-<TGConnectingPoint num="14" id="5786" />
-<TGConnectingPoint num="15" id="5787" />
-<TGConnectingPoint num="16" id="5788" />
-<TGConnectingPoint num="17" id="5789" />
-<TGConnectingPoint num="18" id="5790" />
-<TGConnectingPoint num="19" id="5791" />
-<TGConnectingPoint num="20" id="5792" />
-<TGConnectingPoint num="21" id="5793" />
-<TGConnectingPoint num="22" id="5794" />
-<TGConnectingPoint num="23" id="5795" />
-<TGConnectingPoint num="24" id="5796" />
-<TGConnectingPoint num="25" id="5797" />
-<TGConnectingPoint num="26" id="5798" />
-<TGConnectingPoint num="27" id="5799" />
-<TGConnectingPoint num="28" id="5800" />
-<TGConnectingPoint num="29" id="5801" />
-<TGConnectingPoint num="30" id="5802" />
-<TGConnectingPoint num="31" id="5803" />
-<TGConnectingPoint num="32" id="5804" />
-<TGConnectingPoint num="33" id="5805" />
-<TGConnectingPoint num="34" id="5806" />
-<TGConnectingPoint num="35" id="5807" />
-<TGConnectingPoint num="36" id="5808" />
-<TGConnectingPoint num="37" id="5809" />
-<TGConnectingPoint num="38" id="5810" />
-<TGConnectingPoint num="39" id="5811" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="5853" >
+<TGConnectingPoint num="0" id="5944" />
+<TGConnectingPoint num="1" id="5945" />
+<TGConnectingPoint num="2" id="5946" />
+<TGConnectingPoint num="3" id="5947" />
+<TGConnectingPoint num="4" id="5948" />
+<TGConnectingPoint num="5" id="5949" />
+<TGConnectingPoint num="6" id="5950" />
+<TGConnectingPoint num="7" id="5951" />
+<TGConnectingPoint num="8" id="5952" />
+<TGConnectingPoint num="9" id="5953" />
+<TGConnectingPoint num="10" id="5954" />
+<TGConnectingPoint num="11" id="5955" />
+<TGConnectingPoint num="12" id="5956" />
+<TGConnectingPoint num="13" id="5957" />
+<TGConnectingPoint num="14" id="5958" />
+<TGConnectingPoint num="15" id="5959" />
+<TGConnectingPoint num="16" id="5960" />
+<TGConnectingPoint num="17" id="5961" />
+<TGConnectingPoint num="18" id="5962" />
+<TGConnectingPoint num="19" id="5963" />
+<TGConnectingPoint num="20" id="5964" />
+<TGConnectingPoint num="21" id="5965" />
+<TGConnectingPoint num="22" id="5966" />
+<TGConnectingPoint num="23" id="5967" />
+<TGConnectingPoint num="24" id="5968" />
+<TGConnectingPoint num="25" id="5969" />
+<TGConnectingPoint num="26" id="5970" />
+<TGConnectingPoint num="27" id="5971" />
+<TGConnectingPoint num="28" id="5972" />
+<TGConnectingPoint num="29" id="5973" />
+<TGConnectingPoint num="30" id="5974" />
+<TGConnectingPoint num="31" id="5975" />
+<TGConnectingPoint num="32" id="5976" />
+<TGConnectingPoint num="33" id="5977" />
+<TGConnectingPoint num="34" id="5978" />
+<TGConnectingPoint num="35" id="5979" />
+<TGConnectingPoint num="36" id="5980" />
+<TGConnectingPoint num="37" id="5981" />
+<TGConnectingPoint num="38" id="5982" />
+<TGConnectingPoint num="39" id="5983" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="6025" >
 <cdparam x="676" y="457" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="CrossingCheck" />
-<TGConnectingPoint num="0" id="5813" />
-<TGConnectingPoint num="1" id="5814" />
-<TGConnectingPoint num="2" id="5815" />
-<TGConnectingPoint num="3" id="5816" />
-<TGConnectingPoint num="4" id="5817" />
-<TGConnectingPoint num="5" id="5818" />
-<TGConnectingPoint num="6" id="5819" />
-<TGConnectingPoint num="7" id="5820" />
-<TGConnectingPoint num="8" id="5821" />
-<TGConnectingPoint num="9" id="5822" />
-<TGConnectingPoint num="10" id="5823" />
-<TGConnectingPoint num="11" id="5824" />
-<TGConnectingPoint num="12" id="5825" />
-<TGConnectingPoint num="13" id="5826" />
-<TGConnectingPoint num="14" id="5827" />
-<TGConnectingPoint num="15" id="5828" />
-<TGConnectingPoint num="16" id="5829" />
-<TGConnectingPoint num="17" id="5830" />
-<TGConnectingPoint num="18" id="5831" />
-<TGConnectingPoint num="19" id="5832" />
-<TGConnectingPoint num="20" id="5833" />
-<TGConnectingPoint num="21" id="5834" />
-<TGConnectingPoint num="22" id="5835" />
-<TGConnectingPoint num="23" id="5836" />
-<TGConnectingPoint num="24" id="5837" />
-<TGConnectingPoint num="25" id="5838" />
-<TGConnectingPoint num="26" id="5839" />
-<TGConnectingPoint num="27" id="5840" />
-<TGConnectingPoint num="28" id="5841" />
-<TGConnectingPoint num="29" id="5842" />
-<TGConnectingPoint num="30" id="5843" />
-<TGConnectingPoint num="31" id="5844" />
-<TGConnectingPoint num="32" id="5845" />
-<TGConnectingPoint num="33" id="5846" />
-<TGConnectingPoint num="34" id="5847" />
-<TGConnectingPoint num="35" id="5848" />
-<TGConnectingPoint num="36" id="5849" />
-<TGConnectingPoint num="37" id="5850" />
-<TGConnectingPoint num="38" id="5851" />
-<TGConnectingPoint num="39" id="5852" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="5864" >
+<TGConnectingPoint num="0" id="5985" />
+<TGConnectingPoint num="1" id="5986" />
+<TGConnectingPoint num="2" id="5987" />
+<TGConnectingPoint num="3" id="5988" />
+<TGConnectingPoint num="4" id="5989" />
+<TGConnectingPoint num="5" id="5990" />
+<TGConnectingPoint num="6" id="5991" />
+<TGConnectingPoint num="7" id="5992" />
+<TGConnectingPoint num="8" id="5993" />
+<TGConnectingPoint num="9" id="5994" />
+<TGConnectingPoint num="10" id="5995" />
+<TGConnectingPoint num="11" id="5996" />
+<TGConnectingPoint num="12" id="5997" />
+<TGConnectingPoint num="13" id="5998" />
+<TGConnectingPoint num="14" id="5999" />
+<TGConnectingPoint num="15" id="6000" />
+<TGConnectingPoint num="16" id="6001" />
+<TGConnectingPoint num="17" id="6002" />
+<TGConnectingPoint num="18" id="6003" />
+<TGConnectingPoint num="19" id="6004" />
+<TGConnectingPoint num="20" id="6005" />
+<TGConnectingPoint num="21" id="6006" />
+<TGConnectingPoint num="22" id="6007" />
+<TGConnectingPoint num="23" id="6008" />
+<TGConnectingPoint num="24" id="6009" />
+<TGConnectingPoint num="25" id="6010" />
+<TGConnectingPoint num="26" id="6011" />
+<TGConnectingPoint num="27" id="6012" />
+<TGConnectingPoint num="28" id="6013" />
+<TGConnectingPoint num="29" id="6014" />
+<TGConnectingPoint num="30" id="6015" />
+<TGConnectingPoint num="31" id="6016" />
+<TGConnectingPoint num="32" id="6017" />
+<TGConnectingPoint num="33" id="6018" />
+<TGConnectingPoint num="34" id="6019" />
+<TGConnectingPoint num="35" id="6020" />
+<TGConnectingPoint num="36" id="6021" />
+<TGConnectingPoint num="37" id="6022" />
+<TGConnectingPoint num="38" id="6023" />
+<TGConnectingPoint num="39" id="6024" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="6036" >
 <cdparam x="147" y="715" />
 <sizeparam width="199" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="readNextPicture(currentPicture)" />
-<TGConnectingPoint num="0" id="5854" />
-<TGConnectingPoint num="1" id="5855" />
-<TGConnectingPoint num="2" id="5856" />
-<TGConnectingPoint num="3" id="5857" />
-<TGConnectingPoint num="4" id="5858" />
-<TGConnectingPoint num="5" id="5859" />
-<TGConnectingPoint num="6" id="5860" />
-<TGConnectingPoint num="7" id="5861" />
-<TGConnectingPoint num="8" id="5862" />
-<TGConnectingPoint num="9" id="5863" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="5875" >
+<TGConnectingPoint num="0" id="6026" />
+<TGConnectingPoint num="1" id="6027" />
+<TGConnectingPoint num="2" id="6028" />
+<TGConnectingPoint num="3" id="6029" />
+<TGConnectingPoint num="4" id="6030" />
+<TGConnectingPoint num="5" id="6031" />
+<TGConnectingPoint num="6" id="6032" />
+<TGConnectingPoint num="7" id="6033" />
+<TGConnectingPoint num="8" id="6034" />
+<TGConnectingPoint num="9" id="6035" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="6047" >
 <cdparam x="683" y="209" />
 <sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Send signal" value="startCamera()" />
-<TGConnectingPoint num="0" id="5865" />
-<TGConnectingPoint num="1" id="5866" />
-<TGConnectingPoint num="2" id="5867" />
-<TGConnectingPoint num="3" id="5868" />
-<TGConnectingPoint num="4" id="5869" />
-<TGConnectingPoint num="5" id="5870" />
-<TGConnectingPoint num="6" id="5871" />
-<TGConnectingPoint num="7" id="5872" />
-<TGConnectingPoint num="8" id="5873" />
-<TGConnectingPoint num="9" id="5874" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="5886" >
+<TGConnectingPoint num="0" id="6037" />
+<TGConnectingPoint num="1" id="6038" />
+<TGConnectingPoint num="2" id="6039" />
+<TGConnectingPoint num="3" id="6040" />
+<TGConnectingPoint num="4" id="6041" />
+<TGConnectingPoint num="5" id="6042" />
+<TGConnectingPoint num="6" id="6043" />
+<TGConnectingPoint num="7" id="6044" />
+<TGConnectingPoint num="8" id="6045" />
+<TGConnectingPoint num="9" id="6046" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="6058" >
 <cdparam x="657" y="155" />
 <sizeparam width="141" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="Receive signal" value="reach(nbOfCrossings)" />
-<TGConnectingPoint num="0" id="5876" />
-<TGConnectingPoint num="1" id="5877" />
-<TGConnectingPoint num="2" id="5878" />
-<TGConnectingPoint num="3" id="5879" />
-<TGConnectingPoint num="4" id="5880" />
-<TGConnectingPoint num="5" id="5881" />
-<TGConnectingPoint num="6" id="5882" />
-<TGConnectingPoint num="7" id="5883" />
-<TGConnectingPoint num="8" id="5884" />
-<TGConnectingPoint num="9" id="5885" />
-</COMPONENT>
-
-<COMPONENT type="5100" id="5888" >
+<TGConnectingPoint num="0" id="6048" />
+<TGConnectingPoint num="1" id="6049" />
+<TGConnectingPoint num="2" id="6050" />
+<TGConnectingPoint num="3" id="6051" />
+<TGConnectingPoint num="4" id="6052" />
+<TGConnectingPoint num="5" id="6053" />
+<TGConnectingPoint num="6" id="6054" />
+<TGConnectingPoint num="7" id="6055" />
+<TGConnectingPoint num="8" id="6056" />
+<TGConnectingPoint num="9" id="6057" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="6060" >
 <cdparam x="720" y="17" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="5887" />
+<TGConnectingPoint num="0" id="6059" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="5929" >
+<COMPONENT type="5106" id="6101" >
 <cdparam x="103" y="960" />
 <sizeparam width="1000" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="CrossingCheck" />
-<TGConnectingPoint num="0" id="5889" />
-<TGConnectingPoint num="1" id="5890" />
-<TGConnectingPoint num="2" id="5891" />
-<TGConnectingPoint num="3" id="5892" />
-<TGConnectingPoint num="4" id="5893" />
-<TGConnectingPoint num="5" id="5894" />
-<TGConnectingPoint num="6" id="5895" />
-<TGConnectingPoint num="7" id="5896" />
-<TGConnectingPoint num="8" id="5897" />
-<TGConnectingPoint num="9" id="5898" />
-<TGConnectingPoint num="10" id="5899" />
-<TGConnectingPoint num="11" id="5900" />
-<TGConnectingPoint num="12" id="5901" />
-<TGConnectingPoint num="13" id="5902" />
-<TGConnectingPoint num="14" id="5903" />
-<TGConnectingPoint num="15" id="5904" />
-<TGConnectingPoint num="16" id="5905" />
-<TGConnectingPoint num="17" id="5906" />
-<TGConnectingPoint num="18" id="5907" />
-<TGConnectingPoint num="19" id="5908" />
-<TGConnectingPoint num="20" id="5909" />
-<TGConnectingPoint num="21" id="5910" />
-<TGConnectingPoint num="22" id="5911" />
-<TGConnectingPoint num="23" id="5912" />
-<TGConnectingPoint num="24" id="5913" />
-<TGConnectingPoint num="25" id="5914" />
-<TGConnectingPoint num="26" id="5915" />
-<TGConnectingPoint num="27" id="5916" />
-<TGConnectingPoint num="28" id="5917" />
-<TGConnectingPoint num="29" id="5918" />
-<TGConnectingPoint num="30" id="5919" />
-<TGConnectingPoint num="31" id="5920" />
-<TGConnectingPoint num="32" id="5921" />
-<TGConnectingPoint num="33" id="5922" />
-<TGConnectingPoint num="34" id="5923" />
-<TGConnectingPoint num="35" id="5924" />
-<TGConnectingPoint num="36" id="5925" />
-<TGConnectingPoint num="37" id="5926" />
-<TGConnectingPoint num="38" id="5927" />
-<TGConnectingPoint num="39" id="5928" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="5970" >
+<TGConnectingPoint num="0" id="6061" />
+<TGConnectingPoint num="1" id="6062" />
+<TGConnectingPoint num="2" id="6063" />
+<TGConnectingPoint num="3" id="6064" />
+<TGConnectingPoint num="4" id="6065" />
+<TGConnectingPoint num="5" id="6066" />
+<TGConnectingPoint num="6" id="6067" />
+<TGConnectingPoint num="7" id="6068" />
+<TGConnectingPoint num="8" id="6069" />
+<TGConnectingPoint num="9" id="6070" />
+<TGConnectingPoint num="10" id="6071" />
+<TGConnectingPoint num="11" id="6072" />
+<TGConnectingPoint num="12" id="6073" />
+<TGConnectingPoint num="13" id="6074" />
+<TGConnectingPoint num="14" id="6075" />
+<TGConnectingPoint num="15" id="6076" />
+<TGConnectingPoint num="16" id="6077" />
+<TGConnectingPoint num="17" id="6078" />
+<TGConnectingPoint num="18" id="6079" />
+<TGConnectingPoint num="19" id="6080" />
+<TGConnectingPoint num="20" id="6081" />
+<TGConnectingPoint num="21" id="6082" />
+<TGConnectingPoint num="22" id="6083" />
+<TGConnectingPoint num="23" id="6084" />
+<TGConnectingPoint num="24" id="6085" />
+<TGConnectingPoint num="25" id="6086" />
+<TGConnectingPoint num="26" id="6087" />
+<TGConnectingPoint num="27" id="6088" />
+<TGConnectingPoint num="28" id="6089" />
+<TGConnectingPoint num="29" id="6090" />
+<TGConnectingPoint num="30" id="6091" />
+<TGConnectingPoint num="31" id="6092" />
+<TGConnectingPoint num="32" id="6093" />
+<TGConnectingPoint num="33" id="6094" />
+<TGConnectingPoint num="34" id="6095" />
+<TGConnectingPoint num="35" id="6096" />
+<TGConnectingPoint num="36" id="6097" />
+<TGConnectingPoint num="37" id="6098" />
+<TGConnectingPoint num="38" id="6099" />
+<TGConnectingPoint num="39" id="6100" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="6142" >
 <cdparam x="444" y="599" />
 <sizeparam width="564" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="mainLoop" />
-<TGConnectingPoint num="0" id="5930" />
-<TGConnectingPoint num="1" id="5931" />
-<TGConnectingPoint num="2" id="5932" />
-<TGConnectingPoint num="3" id="5933" />
-<TGConnectingPoint num="4" id="5934" />
-<TGConnectingPoint num="5" id="5935" />
-<TGConnectingPoint num="6" id="5936" />
-<TGConnectingPoint num="7" id="5937" />
-<TGConnectingPoint num="8" id="5938" />
-<TGConnectingPoint num="9" id="5939" />
-<TGConnectingPoint num="10" id="5940" />
-<TGConnectingPoint num="11" id="5941" />
-<TGConnectingPoint num="12" id="5942" />
-<TGConnectingPoint num="13" id="5943" />
-<TGConnectingPoint num="14" id="5944" />
-<TGConnectingPoint num="15" id="5945" />
-<TGConnectingPoint num="16" id="5946" />
-<TGConnectingPoint num="17" id="5947" />
-<TGConnectingPoint num="18" id="5948" />
-<TGConnectingPoint num="19" id="5949" />
-<TGConnectingPoint num="20" id="5950" />
-<TGConnectingPoint num="21" id="5951" />
-<TGConnectingPoint num="22" id="5952" />
-<TGConnectingPoint num="23" id="5953" />
-<TGConnectingPoint num="24" id="5954" />
-<TGConnectingPoint num="25" id="5955" />
-<TGConnectingPoint num="26" id="5956" />
-<TGConnectingPoint num="27" id="5957" />
-<TGConnectingPoint num="28" id="5958" />
-<TGConnectingPoint num="29" id="5959" />
-<TGConnectingPoint num="30" id="5960" />
-<TGConnectingPoint num="31" id="5961" />
-<TGConnectingPoint num="32" id="5962" />
-<TGConnectingPoint num="33" id="5963" />
-<TGConnectingPoint num="34" id="5964" />
-<TGConnectingPoint num="35" id="5965" />
-<TGConnectingPoint num="36" id="5966" />
-<TGConnectingPoint num="37" id="5967" />
-<TGConnectingPoint num="38" id="5968" />
-<TGConnectingPoint num="39" id="5969" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="6011" >
+<TGConnectingPoint num="0" id="6102" />
+<TGConnectingPoint num="1" id="6103" />
+<TGConnectingPoint num="2" id="6104" />
+<TGConnectingPoint num="3" id="6105" />
+<TGConnectingPoint num="4" id="6106" />
+<TGConnectingPoint num="5" id="6107" />
+<TGConnectingPoint num="6" id="6108" />
+<TGConnectingPoint num="7" id="6109" />
+<TGConnectingPoint num="8" id="6110" />
+<TGConnectingPoint num="9" id="6111" />
+<TGConnectingPoint num="10" id="6112" />
+<TGConnectingPoint num="11" id="6113" />
+<TGConnectingPoint num="12" id="6114" />
+<TGConnectingPoint num="13" id="6115" />
+<TGConnectingPoint num="14" id="6116" />
+<TGConnectingPoint num="15" id="6117" />
+<TGConnectingPoint num="16" id="6118" />
+<TGConnectingPoint num="17" id="6119" />
+<TGConnectingPoint num="18" id="6120" />
+<TGConnectingPoint num="19" id="6121" />
+<TGConnectingPoint num="20" id="6122" />
+<TGConnectingPoint num="21" id="6123" />
+<TGConnectingPoint num="22" id="6124" />
+<TGConnectingPoint num="23" id="6125" />
+<TGConnectingPoint num="24" id="6126" />
+<TGConnectingPoint num="25" id="6127" />
+<TGConnectingPoint num="26" id="6128" />
+<TGConnectingPoint num="27" id="6129" />
+<TGConnectingPoint num="28" id="6130" />
+<TGConnectingPoint num="29" id="6131" />
+<TGConnectingPoint num="30" id="6132" />
+<TGConnectingPoint num="31" id="6133" />
+<TGConnectingPoint num="32" id="6134" />
+<TGConnectingPoint num="33" id="6135" />
+<TGConnectingPoint num="34" id="6136" />
+<TGConnectingPoint num="35" id="6137" />
+<TGConnectingPoint num="36" id="6138" />
+<TGConnectingPoint num="37" id="6139" />
+<TGConnectingPoint num="38" id="6140" />
+<TGConnectingPoint num="39" id="6141" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="6183" >
 <cdparam x="914" y="858" />
 <sizeparam width="154" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="WaitingForMission" />
-<TGConnectingPoint num="0" id="5971" />
-<TGConnectingPoint num="1" id="5972" />
-<TGConnectingPoint num="2" id="5973" />
-<TGConnectingPoint num="3" id="5974" />
-<TGConnectingPoint num="4" id="5975" />
-<TGConnectingPoint num="5" id="5976" />
-<TGConnectingPoint num="6" id="5977" />
-<TGConnectingPoint num="7" id="5978" />
-<TGConnectingPoint num="8" id="5979" />
-<TGConnectingPoint num="9" id="5980" />
-<TGConnectingPoint num="10" id="5981" />
-<TGConnectingPoint num="11" id="5982" />
-<TGConnectingPoint num="12" id="5983" />
-<TGConnectingPoint num="13" id="5984" />
-<TGConnectingPoint num="14" id="5985" />
-<TGConnectingPoint num="15" id="5986" />
-<TGConnectingPoint num="16" id="5987" />
-<TGConnectingPoint num="17" id="5988" />
-<TGConnectingPoint num="18" id="5989" />
-<TGConnectingPoint num="19" id="5990" />
-<TGConnectingPoint num="20" id="5991" />
-<TGConnectingPoint num="21" id="5992" />
-<TGConnectingPoint num="22" id="5993" />
-<TGConnectingPoint num="23" id="5994" />
-<TGConnectingPoint num="24" id="5995" />
-<TGConnectingPoint num="25" id="5996" />
-<TGConnectingPoint num="26" id="5997" />
-<TGConnectingPoint num="27" id="5998" />
-<TGConnectingPoint num="28" id="5999" />
-<TGConnectingPoint num="29" id="6000" />
-<TGConnectingPoint num="30" id="6001" />
-<TGConnectingPoint num="31" id="6002" />
-<TGConnectingPoint num="32" id="6003" />
-<TGConnectingPoint num="33" id="6004" />
-<TGConnectingPoint num="34" id="6005" />
-<TGConnectingPoint num="35" id="6006" />
-<TGConnectingPoint num="36" id="6007" />
-<TGConnectingPoint num="37" id="6008" />
-<TGConnectingPoint num="38" id="6009" />
-<TGConnectingPoint num="39" id="6010" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="6052" >
+<TGConnectingPoint num="0" id="6143" />
+<TGConnectingPoint num="1" id="6144" />
+<TGConnectingPoint num="2" id="6145" />
+<TGConnectingPoint num="3" id="6146" />
+<TGConnectingPoint num="4" id="6147" />
+<TGConnectingPoint num="5" id="6148" />
+<TGConnectingPoint num="6" id="6149" />
+<TGConnectingPoint num="7" id="6150" />
+<TGConnectingPoint num="8" id="6151" />
+<TGConnectingPoint num="9" id="6152" />
+<TGConnectingPoint num="10" id="6153" />
+<TGConnectingPoint num="11" id="6154" />
+<TGConnectingPoint num="12" id="6155" />
+<TGConnectingPoint num="13" id="6156" />
+<TGConnectingPoint num="14" id="6157" />
+<TGConnectingPoint num="15" id="6158" />
+<TGConnectingPoint num="16" id="6159" />
+<TGConnectingPoint num="17" id="6160" />
+<TGConnectingPoint num="18" id="6161" />
+<TGConnectingPoint num="19" id="6162" />
+<TGConnectingPoint num="20" id="6163" />
+<TGConnectingPoint num="21" id="6164" />
+<TGConnectingPoint num="22" id="6165" />
+<TGConnectingPoint num="23" id="6166" />
+<TGConnectingPoint num="24" id="6167" />
+<TGConnectingPoint num="25" id="6168" />
+<TGConnectingPoint num="26" id="6169" />
+<TGConnectingPoint num="27" id="6170" />
+<TGConnectingPoint num="28" id="6171" />
+<TGConnectingPoint num="29" id="6172" />
+<TGConnectingPoint num="30" id="6173" />
+<TGConnectingPoint num="31" id="6174" />
+<TGConnectingPoint num="32" id="6175" />
+<TGConnectingPoint num="33" id="6176" />
+<TGConnectingPoint num="34" id="6177" />
+<TGConnectingPoint num="35" id="6178" />
+<TGConnectingPoint num="36" id="6179" />
+<TGConnectingPoint num="37" id="6180" />
+<TGConnectingPoint num="38" id="6181" />
+<TGConnectingPoint num="39" id="6182" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="6224" >
 <cdparam x="650" y="75" />
 <sizeparam width="154" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1400" />
 <infoparam name="state0" value="WaitingForMission" />
-<TGConnectingPoint num="0" id="6012" />
-<TGConnectingPoint num="1" id="6013" />
-<TGConnectingPoint num="2" id="6014" />
-<TGConnectingPoint num="3" id="6015" />
-<TGConnectingPoint num="4" id="6016" />
-<TGConnectingPoint num="5" id="6017" />
-<TGConnectingPoint num="6" id="6018" />
-<TGConnectingPoint num="7" id="6019" />
-<TGConnectingPoint num="8" id="6020" />
-<TGConnectingPoint num="9" id="6021" />
-<TGConnectingPoint num="10" id="6022" />
-<TGConnectingPoint num="11" id="6023" />
-<TGConnectingPoint num="12" id="6024" />
-<TGConnectingPoint num="13" id="6025" />
-<TGConnectingPoint num="14" id="6026" />
-<TGConnectingPoint num="15" id="6027" />
-<TGConnectingPoint num="16" id="6028" />
-<TGConnectingPoint num="17" id="6029" />
-<TGConnectingPoint num="18" id="6030" />
-<TGConnectingPoint num="19" id="6031" />
-<TGConnectingPoint num="20" id="6032" />
-<TGConnectingPoint num="21" id="6033" />
-<TGConnectingPoint num="22" id="6034" />
-<TGConnectingPoint num="23" id="6035" />
-<TGConnectingPoint num="24" id="6036" />
-<TGConnectingPoint num="25" id="6037" />
-<TGConnectingPoint num="26" id="6038" />
-<TGConnectingPoint num="27" id="6039" />
-<TGConnectingPoint num="28" id="6040" />
-<TGConnectingPoint num="29" id="6041" />
-<TGConnectingPoint num="30" id="6042" />
-<TGConnectingPoint num="31" id="6043" />
-<TGConnectingPoint num="32" id="6044" />
-<TGConnectingPoint num="33" id="6045" />
-<TGConnectingPoint num="34" id="6046" />
-<TGConnectingPoint num="35" id="6047" />
-<TGConnectingPoint num="36" id="6048" />
-<TGConnectingPoint num="37" id="6049" />
-<TGConnectingPoint num="38" id="6050" />
-<TGConnectingPoint num="39" id="6051" />
+<TGConnectingPoint num="0" id="6184" />
+<TGConnectingPoint num="1" id="6185" />
+<TGConnectingPoint num="2" id="6186" />
+<TGConnectingPoint num="3" id="6187" />
+<TGConnectingPoint num="4" id="6188" />
+<TGConnectingPoint num="5" id="6189" />
+<TGConnectingPoint num="6" id="6190" />
+<TGConnectingPoint num="7" id="6191" />
+<TGConnectingPoint num="8" id="6192" />
+<TGConnectingPoint num="9" id="6193" />
+<TGConnectingPoint num="10" id="6194" />
+<TGConnectingPoint num="11" id="6195" />
+<TGConnectingPoint num="12" id="6196" />
+<TGConnectingPoint num="13" id="6197" />
+<TGConnectingPoint num="14" id="6198" />
+<TGConnectingPoint num="15" id="6199" />
+<TGConnectingPoint num="16" id="6200" />
+<TGConnectingPoint num="17" id="6201" />
+<TGConnectingPoint num="18" id="6202" />
+<TGConnectingPoint num="19" id="6203" />
+<TGConnectingPoint num="20" id="6204" />
+<TGConnectingPoint num="21" id="6205" />
+<TGConnectingPoint num="22" id="6206" />
+<TGConnectingPoint num="23" id="6207" />
+<TGConnectingPoint num="24" id="6208" />
+<TGConnectingPoint num="25" id="6209" />
+<TGConnectingPoint num="26" id="6210" />
+<TGConnectingPoint num="27" id="6211" />
+<TGConnectingPoint num="28" id="6212" />
+<TGConnectingPoint num="29" id="6213" />
+<TGConnectingPoint num="30" id="6214" />
+<TGConnectingPoint num="31" id="6215" />
+<TGConnectingPoint num="32" id="6216" />
+<TGConnectingPoint num="33" id="6217" />
+<TGConnectingPoint num="34" id="6218" />
+<TGConnectingPoint num="35" id="6219" />
+<TGConnectingPoint num="36" id="6220" />
+<TGConnectingPoint num="37" id="6221" />
+<TGConnectingPoint num="38" id="6222" />
+<TGConnectingPoint num="39" id="6223" />
 <extraparam>
 </extraparam>
 </COMPONENT>
@@ -14202,55 +14202,55 @@ pitch, roll and yaw
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="EngineController" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="6065" >
+<CONNECTOR type="5102" id="6237" >
 <cdparam x="492" y="280" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="6061" />
-<TGConnectingPoint num="1" id="6062" />
-<TGConnectingPoint num="2" id="6063" />
-<TGConnectingPoint num="3" id="6064" />
-<P1  x="492" y="280" id="6081" />
-<P2  x="563" y="198" id="6095" />
+<TGConnectingPoint num="0" id="6233" />
+<TGConnectingPoint num="1" id="6234" />
+<TGConnectingPoint num="2" id="6235" />
+<TGConnectingPoint num="3" id="6236" />
+<P1  x="492" y="280" id="6253" />
+<P2  x="563" y="198" id="6267" />
 <Point x="494" y="328" />
 <Point x="589" y="330" />
 <Point x="590" y="196" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6053" >
-<father id="6065" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6225" >
+<father id="6237" num="0" />
 <cdparam x="494" y="328" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6054" >
-<father id="6065" num="1" />
+<SUBCOMPONENT type="-1" id="6226" >
+<father id="6237" num="1" />
 <cdparam x="589" y="330" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6055" >
-<father id="6065" num="2" />
+<SUBCOMPONENT type="-1" id="6227" >
+<father id="6237" num="2" />
 <cdparam x="590" y="196" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6060" >
-<father id="6065" num="3" />
+<SUBCOMPONENT type="-1" id="6232" >
+<father id="6237" num="3" />
 <cdparam x="492" y="320" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6056" />
-<TGConnectingPoint num="1" id="6057" />
-<TGConnectingPoint num="2" id="6058" />
-<TGConnectingPoint num="3" id="6059" />
+<TGConnectingPoint num="0" id="6228" />
+<TGConnectingPoint num="1" id="6229" />
+<TGConnectingPoint num="2" id="6230" />
+<TGConnectingPoint num="3" id="6231" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14260,25 +14260,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6072" >
+<CONNECTOR type="5102" id="6244" >
 <cdparam x="435" y="119" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="6071" />
-<P1  x="435" y="119" id="6132" />
-<P2  x="458" y="173" id="6092" />
+<TGConnectingPoint num="0" id="6243" />
+<P1  x="435" y="119" id="6304" />
+<P2  x="458" y="173" id="6264" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6070" >
-<father id="6072" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6242" >
+<father id="6244" num="0" />
 <cdparam x="455" y="138" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6066" />
-<TGConnectingPoint num="1" id="6067" />
-<TGConnectingPoint num="2" id="6068" />
-<TGConnectingPoint num="3" id="6069" />
+<TGConnectingPoint num="0" id="6238" />
+<TGConnectingPoint num="1" id="6239" />
+<TGConnectingPoint num="2" id="6240" />
+<TGConnectingPoint num="3" id="6241" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14288,25 +14288,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6079" >
+<CONNECTOR type="5102" id="6251" >
 <cdparam x="483" y="223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="6078" />
-<P1  x="483" y="223" id="6121" />
-<P2  x="492" y="250" id="6080" />
+<TGConnectingPoint num="0" id="6250" />
+<P1  x="483" y="223" id="6293" />
+<P2  x="492" y="250" id="6252" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6077" >
-<father id="6079" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6249" >
+<father id="6251" num="0" />
 <cdparam x="483" y="263" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6073" />
-<TGConnectingPoint num="1" id="6074" />
-<TGConnectingPoint num="2" id="6075" />
-<TGConnectingPoint num="3" id="6076" />
+<TGConnectingPoint num="0" id="6245" />
+<TGConnectingPoint num="1" id="6246" />
+<TGConnectingPoint num="2" id="6247" />
+<TGConnectingPoint num="3" id="6248" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14316,106 +14316,106 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="6090" >
+<COMPONENT type="5104" id="6262" >
 <cdparam x="401" y="255" />
 <sizeparam width="182" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="getCommand(lastCommand)" />
-<TGConnectingPoint num="0" id="6080" />
-<TGConnectingPoint num="1" id="6081" />
-<TGConnectingPoint num="2" id="6082" />
-<TGConnectingPoint num="3" id="6083" />
-<TGConnectingPoint num="4" id="6084" />
-<TGConnectingPoint num="5" id="6085" />
-<TGConnectingPoint num="6" id="6086" />
-<TGConnectingPoint num="7" id="6087" />
-<TGConnectingPoint num="8" id="6088" />
-<TGConnectingPoint num="9" id="6089" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="6131" >
+<TGConnectingPoint num="0" id="6252" />
+<TGConnectingPoint num="1" id="6253" />
+<TGConnectingPoint num="2" id="6254" />
+<TGConnectingPoint num="3" id="6255" />
+<TGConnectingPoint num="4" id="6256" />
+<TGConnectingPoint num="5" id="6257" />
+<TGConnectingPoint num="6" id="6258" />
+<TGConnectingPoint num="7" id="6259" />
+<TGConnectingPoint num="8" id="6260" />
+<TGConnectingPoint num="9" id="6261" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="6303" >
 <cdparam x="353" y="173" />
 <sizeparam width="210" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForCommand" />
-<TGConnectingPoint num="0" id="6091" />
-<TGConnectingPoint num="1" id="6092" />
-<TGConnectingPoint num="2" id="6093" />
-<TGConnectingPoint num="3" id="6094" />
-<TGConnectingPoint num="4" id="6095" />
-<TGConnectingPoint num="5" id="6096" />
-<TGConnectingPoint num="6" id="6097" />
-<TGConnectingPoint num="7" id="6098" />
-<TGConnectingPoint num="8" id="6099" />
-<TGConnectingPoint num="9" id="6100" />
-<TGConnectingPoint num="10" id="6101" />
-<TGConnectingPoint num="11" id="6102" />
-<TGConnectingPoint num="12" id="6103" />
-<TGConnectingPoint num="13" id="6104" />
-<TGConnectingPoint num="14" id="6105" />
-<TGConnectingPoint num="15" id="6106" />
-<TGConnectingPoint num="16" id="6107" />
-<TGConnectingPoint num="17" id="6108" />
-<TGConnectingPoint num="18" id="6109" />
-<TGConnectingPoint num="19" id="6110" />
-<TGConnectingPoint num="20" id="6111" />
-<TGConnectingPoint num="21" id="6112" />
-<TGConnectingPoint num="22" id="6113" />
-<TGConnectingPoint num="23" id="6114" />
-<TGConnectingPoint num="24" id="6115" />
-<TGConnectingPoint num="25" id="6116" />
-<TGConnectingPoint num="26" id="6117" />
-<TGConnectingPoint num="27" id="6118" />
-<TGConnectingPoint num="28" id="6119" />
-<TGConnectingPoint num="29" id="6120" />
-<TGConnectingPoint num="30" id="6121" />
-<TGConnectingPoint num="31" id="6122" />
-<TGConnectingPoint num="32" id="6123" />
-<TGConnectingPoint num="33" id="6124" />
-<TGConnectingPoint num="34" id="6125" />
-<TGConnectingPoint num="35" id="6126" />
-<TGConnectingPoint num="36" id="6127" />
-<TGConnectingPoint num="37" id="6128" />
-<TGConnectingPoint num="38" id="6129" />
-<TGConnectingPoint num="39" id="6130" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="6133" >
+<TGConnectingPoint num="0" id="6263" />
+<TGConnectingPoint num="1" id="6264" />
+<TGConnectingPoint num="2" id="6265" />
+<TGConnectingPoint num="3" id="6266" />
+<TGConnectingPoint num="4" id="6267" />
+<TGConnectingPoint num="5" id="6268" />
+<TGConnectingPoint num="6" id="6269" />
+<TGConnectingPoint num="7" id="6270" />
+<TGConnectingPoint num="8" id="6271" />
+<TGConnectingPoint num="9" id="6272" />
+<TGConnectingPoint num="10" id="6273" />
+<TGConnectingPoint num="11" id="6274" />
+<TGConnectingPoint num="12" id="6275" />
+<TGConnectingPoint num="13" id="6276" />
+<TGConnectingPoint num="14" id="6277" />
+<TGConnectingPoint num="15" id="6278" />
+<TGConnectingPoint num="16" id="6279" />
+<TGConnectingPoint num="17" id="6280" />
+<TGConnectingPoint num="18" id="6281" />
+<TGConnectingPoint num="19" id="6282" />
+<TGConnectingPoint num="20" id="6283" />
+<TGConnectingPoint num="21" id="6284" />
+<TGConnectingPoint num="22" id="6285" />
+<TGConnectingPoint num="23" id="6286" />
+<TGConnectingPoint num="24" id="6287" />
+<TGConnectingPoint num="25" id="6288" />
+<TGConnectingPoint num="26" id="6289" />
+<TGConnectingPoint num="27" id="6290" />
+<TGConnectingPoint num="28" id="6291" />
+<TGConnectingPoint num="29" id="6292" />
+<TGConnectingPoint num="30" id="6293" />
+<TGConnectingPoint num="31" id="6294" />
+<TGConnectingPoint num="32" id="6295" />
+<TGConnectingPoint num="33" id="6296" />
+<TGConnectingPoint num="34" id="6297" />
+<TGConnectingPoint num="35" id="6298" />
+<TGConnectingPoint num="36" id="6299" />
+<TGConnectingPoint num="37" id="6300" />
+<TGConnectingPoint num="38" id="6301" />
+<TGConnectingPoint num="39" id="6302" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="6305" >
 <cdparam x="428" y="99" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="6132" />
+<TGConnectingPoint num="0" id="6304" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Camera" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="6140" >
+<CONNECTOR type="5102" id="6312" >
 <cdparam x="482" y="481" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="6139" />
-<P1  x="482" y="481" id="6264" />
-<P2  x="495" y="596" id="6240" />
+<TGConnectingPoint num="0" id="6311" />
+<P1  x="482" y="481" id="6436" />
+<P2  x="495" y="596" id="6412" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6138" >
-<father id="6140" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6310" >
+<father id="6312" num="0" />
 <cdparam x="502" y="512" />
 <sizeparam width="82" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6134" />
-<TGConnectingPoint num="1" id="6135" />
-<TGConnectingPoint num="2" id="6136" />
-<TGConnectingPoint num="3" id="6137" />
+<TGConnectingPoint num="0" id="6306" />
+<TGConnectingPoint num="1" id="6307" />
+<TGConnectingPoint num="2" id="6308" />
+<TGConnectingPoint num="3" id="6309" />
 <extraparam>
 <guard value="[ else ]" />
 <afterMin value="" />
@@ -14426,55 +14426,55 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6153" >
+<CONNECTOR type="5102" id="6325" >
 <cdparam x="144" y="428" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="6149" />
-<TGConnectingPoint num="1" id="6150" />
-<TGConnectingPoint num="2" id="6151" />
-<TGConnectingPoint num="3" id="6152" />
-<P1  x="144" y="428" id="6279" />
-<P2  x="337" y="133" id="6320" />
+<TGConnectingPoint num="0" id="6321" />
+<TGConnectingPoint num="1" id="6322" />
+<TGConnectingPoint num="2" id="6323" />
+<TGConnectingPoint num="3" id="6324" />
+<P1  x="144" y="428" id="6451" />
+<P2  x="337" y="133" id="6492" />
 <Point x="144" y="462" />
 <Point x="86" y="462" />
 <Point x="86" y="133" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6141" >
-<father id="6153" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6313" >
+<father id="6325" num="0" />
 <cdparam x="144" y="462" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6142" >
-<father id="6153" num="1" />
+<SUBCOMPONENT type="-1" id="6314" >
+<father id="6325" num="1" />
 <cdparam x="86" y="462" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6143" >
-<father id="6153" num="2" />
+<SUBCOMPONENT type="-1" id="6315" >
+<father id="6325" num="2" />
 <cdparam x="86" y="133" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6148" >
-<father id="6153" num="3" />
+<SUBCOMPONENT type="-1" id="6320" >
+<father id="6325" num="3" />
 <cdparam x="144" y="468" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6144" />
-<TGConnectingPoint num="1" id="6145" />
-<TGConnectingPoint num="2" id="6146" />
-<TGConnectingPoint num="3" id="6147" />
+<TGConnectingPoint num="0" id="6316" />
+<TGConnectingPoint num="1" id="6317" />
+<TGConnectingPoint num="2" id="6318" />
+<TGConnectingPoint num="3" id="6319" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14484,25 +14484,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6160" >
+<CONNECTOR type="5102" id="6332" >
 <cdparam x="378" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to Receive signal" value="null" />
-<TGConnectingPoint num="0" id="6159" />
-<P1  x="378" y="398" id="6358" />
-<P2  x="144" y="398" id="6278" />
+<TGConnectingPoint num="0" id="6331" />
+<P1  x="378" y="398" id="6530" />
+<P2  x="144" y="398" id="6450" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6158" >
-<father id="6160" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6330" >
+<father id="6332" num="0" />
 <cdparam x="378" y="438" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6154" />
-<TGConnectingPoint num="1" id="6155" />
-<TGConnectingPoint num="2" id="6156" />
-<TGConnectingPoint num="3" id="6157" />
+<TGConnectingPoint num="0" id="6326" />
+<TGConnectingPoint num="1" id="6327" />
+<TGConnectingPoint num="2" id="6328" />
+<TGConnectingPoint num="3" id="6329" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14512,45 +14512,45 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6171" >
+<CONNECTOR type="5102" id="6343" >
 <cdparam x="457" y="578" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="6168" />
-<TGConnectingPoint num="1" id="6169" />
-<TGConnectingPoint num="2" id="6170" />
-<P1  x="458" y="795" id="6345" />
-<P2  x="536" y="398" id="6359" />
+<TGConnectingPoint num="0" id="6340" />
+<TGConnectingPoint num="1" id="6341" />
+<TGConnectingPoint num="2" id="6342" />
+<P1  x="458" y="795" id="6517" />
+<P2  x="536" y="398" id="6531" />
 <Point x="661" y="795" />
 <Point x="661" y="398" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6161" >
-<father id="6171" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6333" >
+<father id="6343" num="0" />
 <cdparam x="661" y="795" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6162" >
-<father id="6171" num="1" />
+<SUBCOMPONENT type="-1" id="6334" >
+<father id="6343" num="1" />
 <cdparam x="661" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="6167" >
-<father id="6171" num="2" />
+<SUBCOMPONENT type="-1" id="6339" >
+<father id="6343" num="2" />
 <cdparam x="623" y="527" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6163" />
-<TGConnectingPoint num="1" id="6164" />
-<TGConnectingPoint num="2" id="6165" />
-<TGConnectingPoint num="3" id="6166" />
+<TGConnectingPoint num="0" id="6335" />
+<TGConnectingPoint num="1" id="6336" />
+<TGConnectingPoint num="2" id="6337" />
+<TGConnectingPoint num="3" id="6338" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14560,25 +14560,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6178" >
+<CONNECTOR type="5102" id="6350" >
 <cdparam x="460" y="674" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to Send signal" value="null" />
-<TGConnectingPoint num="0" id="6177" />
-<P1  x="458" y="703" id="6342" />
-<P2  x="458" y="765" id="6344" />
+<TGConnectingPoint num="0" id="6349" />
+<P1  x="458" y="703" id="6514" />
+<P2  x="458" y="765" id="6516" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6176" >
-<father id="6178" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6348" >
+<father id="6350" num="0" />
 <cdparam x="474" y="718" />
 <sizeparam width="112" height="60" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6172" />
-<TGConnectingPoint num="1" id="6173" />
-<TGConnectingPoint num="2" id="6174" />
-<TGConnectingPoint num="3" id="6175" />
+<TGConnectingPoint num="0" id="6344" />
+<TGConnectingPoint num="1" id="6345" />
+<TGConnectingPoint num="2" id="6346" />
+<TGConnectingPoint num="3" id="6347" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14592,25 +14592,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6185" >
+<CONNECTOR type="5102" id="6357" >
 <cdparam x="410" y="247" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="6184" />
-<P1  x="387" y="91" id="6396" />
-<P2  x="387" y="127" id="6301" />
+<TGConnectingPoint num="0" id="6356" />
+<P1  x="387" y="91" id="6568" />
+<P2  x="387" y="127" id="6473" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6183" >
-<father id="6185" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6355" >
+<father id="6357" num="0" />
 <cdparam x="410" y="287" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6179" />
-<TGConnectingPoint num="1" id="6180" />
-<TGConnectingPoint num="2" id="6181" />
-<TGConnectingPoint num="3" id="6182" />
+<TGConnectingPoint num="0" id="6351" />
+<TGConnectingPoint num="1" id="6352" />
+<TGConnectingPoint num="2" id="6353" />
+<TGConnectingPoint num="3" id="6354" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14620,25 +14620,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6192" >
+<CONNECTOR type="5102" id="6364" >
 <cdparam x="536" y="423" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="6191" />
-<P1  x="457" y="423" id="6361" />
-<P2  x="457" y="456" id="6262" />
+<TGConnectingPoint num="0" id="6363" />
+<P1  x="457" y="423" id="6533" />
+<P2  x="457" y="456" id="6434" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6190" >
-<father id="6192" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6362" >
+<father id="6364" num="0" />
 <cdparam x="228" y="450" />
 <sizeparam width="227" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6186" />
-<TGConnectingPoint num="1" id="6187" />
-<TGConnectingPoint num="2" id="6188" />
-<TGConnectingPoint num="3" id="6189" />
+<TGConnectingPoint num="0" id="6358" />
+<TGConnectingPoint num="1" id="6359" />
+<TGConnectingPoint num="2" id="6360" />
+<TGConnectingPoint num="3" id="6361" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="interframeDelay" />
@@ -14648,25 +14648,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6199" >
+<CONNECTOR type="5102" id="6371" >
 <cdparam x="491" y="198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="6198" />
-<P1  x="374" y="177" id="6329" />
-<P2  x="374" y="208" id="6289" />
+<TGConnectingPoint num="0" id="6370" />
+<P1  x="374" y="177" id="6501" />
+<P2  x="374" y="208" id="6461" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6197" >
-<father id="6199" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6369" >
+<father id="6371" num="0" />
 <cdparam x="491" y="238" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6193" />
-<TGConnectingPoint num="1" id="6194" />
-<TGConnectingPoint num="2" id="6195" />
-<TGConnectingPoint num="3" id="6196" />
+<TGConnectingPoint num="0" id="6365" />
+<TGConnectingPoint num="1" id="6366" />
+<TGConnectingPoint num="2" id="6367" />
+<TGConnectingPoint num="3" id="6368" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14676,25 +14676,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6206" >
+<CONNECTOR type="5102" id="6378" >
 <cdparam x="568" y="205" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Receive signal to state0" value="null" />
-<TGConnectingPoint num="0" id="6205" />
-<P1  x="374" y="238" id="6290" />
-<P2  x="436" y="373" id="6372" />
+<TGConnectingPoint num="0" id="6377" />
+<P1  x="374" y="238" id="6462" />
+<P2  x="436" y="373" id="6544" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6204" >
-<father id="6206" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6376" >
+<father id="6378" num="0" />
 <cdparam x="568" y="245" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6200" />
-<TGConnectingPoint num="1" id="6201" />
-<TGConnectingPoint num="2" id="6202" />
-<TGConnectingPoint num="3" id="6203" />
+<TGConnectingPoint num="0" id="6372" />
+<TGConnectingPoint num="1" id="6373" />
+<TGConnectingPoint num="2" id="6374" />
+<TGConnectingPoint num="3" id="6375" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14704,25 +14704,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6213" >
+<CONNECTOR type="5102" id="6385" >
 <cdparam x="457" y="506" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to state0" value="null" />
-<TGConnectingPoint num="0" id="6212" />
-<P1  x="432" y="481" id="6263" />
-<P2  x="420" y="596" id="6237" />
+<TGConnectingPoint num="0" id="6384" />
+<P1  x="432" y="481" id="6435" />
+<P2  x="420" y="596" id="6409" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6211" >
-<father id="6213" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6383" >
+<father id="6385" num="0" />
 <cdparam x="324" y="530" />
 <sizeparam width="86" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6207" />
-<TGConnectingPoint num="1" id="6208" />
-<TGConnectingPoint num="2" id="6209" />
-<TGConnectingPoint num="3" id="6210" />
+<TGConnectingPoint num="0" id="6379" />
+<TGConnectingPoint num="1" id="6380" />
+<TGConnectingPoint num="2" id="6381" />
+<TGConnectingPoint num="3" id="6382" />
 <extraparam>
 <guard value="[ bottom ]" />
 <afterMin value="" />
@@ -14733,25 +14733,25 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="6220" >
+<CONNECTOR type="5102" id="6392" >
 <cdparam x="417" y="574" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from state0 to TGComponent" value="null" />
-<TGConnectingPoint num="0" id="6219" />
-<P1  x="458" y="646" id="6227" />
-<P2  x="458" y="673" id="6341" />
+<TGConnectingPoint num="0" id="6391" />
+<P1  x="458" y="646" id="6399" />
+<P2  x="458" y="673" id="6513" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="6218" >
-<father id="6220" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="6390" >
+<father id="6392" num="0" />
 <cdparam x="417" y="614" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="6214" />
-<TGConnectingPoint num="1" id="6215" />
-<TGConnectingPoint num="2" id="6216" />
-<TGConnectingPoint num="3" id="6217" />
+<TGConnectingPoint num="0" id="6386" />
+<TGConnectingPoint num="1" id="6387" />
+<TGConnectingPoint num="2" id="6388" />
+<TGConnectingPoint num="3" id="6389" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -14761,301 +14761,301 @@ pitch, roll and yaw
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5106" id="6261" >
+<COMPONENT type="5106" id="6433" >
 <cdparam x="408" y="596" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="ComputingData" />
-<TGConnectingPoint num="0" id="6221" />
-<TGConnectingPoint num="1" id="6222" />
-<TGConnectingPoint num="2" id="6223" />
-<TGConnectingPoint num="3" id="6224" />
-<TGConnectingPoint num="4" id="6225" />
-<TGConnectingPoint num="5" id="6226" />
-<TGConnectingPoint num="6" id="6227" />
-<TGConnectingPoint num="7" id="6228" />
-<TGConnectingPoint num="8" id="6229" />
-<TGConnectingPoint num="9" id="6230" />
-<TGConnectingPoint num="10" id="6231" />
-<TGConnectingPoint num="11" id="6232" />
-<TGConnectingPoint num="12" id="6233" />
-<TGConnectingPoint num="13" id="6234" />
-<TGConnectingPoint num="14" id="6235" />
-<TGConnectingPoint num="15" id="6236" />
-<TGConnectingPoint num="16" id="6237" />
-<TGConnectingPoint num="17" id="6238" />
-<TGConnectingPoint num="18" id="6239" />
-<TGConnectingPoint num="19" id="6240" />
-<TGConnectingPoint num="20" id="6241" />
-<TGConnectingPoint num="21" id="6242" />
-<TGConnectingPoint num="22" id="6243" />
-<TGConnectingPoint num="23" id="6244" />
-<TGConnectingPoint num="24" id="6245" />
-<TGConnectingPoint num="25" id="6246" />
-<TGConnectingPoint num="26" id="6247" />
-<TGConnectingPoint num="27" id="6248" />
-<TGConnectingPoint num="28" id="6249" />
-<TGConnectingPoint num="29" id="6250" />
-<TGConnectingPoint num="30" id="6251" />
-<TGConnectingPoint num="31" id="6252" />
-<TGConnectingPoint num="32" id="6253" />
-<TGConnectingPoint num="33" id="6254" />
-<TGConnectingPoint num="34" id="6255" />
-<TGConnectingPoint num="35" id="6256" />
-<TGConnectingPoint num="36" id="6257" />
-<TGConnectingPoint num="37" id="6258" />
-<TGConnectingPoint num="38" id="6259" />
-<TGConnectingPoint num="39" id="6260" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="6277" >
+<TGConnectingPoint num="0" id="6393" />
+<TGConnectingPoint num="1" id="6394" />
+<TGConnectingPoint num="2" id="6395" />
+<TGConnectingPoint num="3" id="6396" />
+<TGConnectingPoint num="4" id="6397" />
+<TGConnectingPoint num="5" id="6398" />
+<TGConnectingPoint num="6" id="6399" />
+<TGConnectingPoint num="7" id="6400" />
+<TGConnectingPoint num="8" id="6401" />
+<TGConnectingPoint num="9" id="6402" />
+<TGConnectingPoint num="10" id="6403" />
+<TGConnectingPoint num="11" id="6404" />
+<TGConnectingPoint num="12" id="6405" />
+<TGConnectingPoint num="13" id="6406" />
+<TGConnectingPoint num="14" id="6407" />
+<TGConnectingPoint num="15" id="6408" />
+<TGConnectingPoint num="16" id="6409" />
+<TGConnectingPoint num="17" id="6410" />
+<TGConnectingPoint num="18" id="6411" />
+<TGConnectingPoint num="19" id="6412" />
+<TGConnectingPoint num="20" id="6413" />
+<TGConnectingPoint num="21" id="6414" />
+<TGConnectingPoint num="22" id="6415" />
+<TGConnectingPoint num="23" id="6416" />
+<TGConnectingPoint num="24" id="6417" />
+<TGConnectingPoint num="25" id="6418" />
+<TGConnectingPoint num="26" id="6419" />
+<TGConnectingPoint num="27" id="6420" />
+<TGConnectingPoint num="28" id="6421" />
+<TGConnectingPoint num="29" id="6422" />
+<TGConnectingPoint num="30" id="6423" />
+<TGConnectingPoint num="31" id="6424" />
+<TGConnectingPoint num="32" id="6425" />
+<TGConnectingPoint num="33" id="6426" />
+<TGConnectingPoint num="34" id="6427" />
+<TGConnectingPoint num="35" id="6428" />
+<TGConnectingPoint num="36" id="6429" />
+<TGConnectingPoint num="37" id="6430" />
+<TGConnectingPoint num="38" id="6431" />
+<TGConnectingPoint num="39" id="6432" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="6449" >
 <cdparam x="442" y="466" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="6262" />
-<TGConnectingPoint num="1" id="6263" />
-<TGConnectingPoint num="2" id="6264" />
-<TGConnectingPoint num="3" id="6265" />
-<TGConnectingPoint num="4" id="6266" />
-<TGConnectingPoint num="5" id="6267" />
-<TGConnectingPoint num="6" id="6268" />
-<TGConnectingPoint num="7" id="6269" />
-<TGConnectingPoint num="8" id="6270" />
-<TGConnectingPoint num="9" id="6271" />
-<TGConnectingPoint num="10" id="6272" />
-<TGConnectingPoint num="11" id="6273" />
-<TGConnectingPoint num="12" id="6274" />
-<TGConnectingPoint num="13" id="6275" />
-<TGConnectingPoint num="14" id="6276" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="6288" >
+<TGConnectingPoint num="0" id="6434" />
+<TGConnectingPoint num="1" id="6435" />
+<TGConnectingPoint num="2" id="6436" />
+<TGConnectingPoint num="3" id="6437" />
+<TGConnectingPoint num="4" id="6438" />
+<TGConnectingPoint num="5" id="6439" />
+<TGConnectingPoint num="6" id="6440" />
+<TGConnectingPoint num="7" id="6441" />
+<TGConnectingPoint num="8" id="6442" />
+<TGConnectingPoint num="9" id="6443" />
+<TGConnectingPoint num="10" id="6444" />
+<TGConnectingPoint num="11" id="6445" />
+<TGConnectingPoint num="12" id="6446" />
+<TGConnectingPoint num="13" id="6447" />
+<TGConnectingPoint num="14" id="6448" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="6460" >
 <cdparam x="110" y="403" />
 <sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="stopMe()" />
-<TGConnectingPoint num="0" id="6278" />
-<TGConnectingPoint num="1" id="6279" />
-<TGConnectingPoint num="2" id="6280" />
-<TGConnectingPoint num="3" id="6281" />
-<TGConnectingPoint num="4" id="6282" />
-<TGConnectingPoint num="5" id="6283" />
-<TGConnectingPoint num="6" id="6284" />
-<TGConnectingPoint num="7" id="6285" />
-<TGConnectingPoint num="8" id="6286" />
-<TGConnectingPoint num="9" id="6287" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="6299" >
+<TGConnectingPoint num="0" id="6450" />
+<TGConnectingPoint num="1" id="6451" />
+<TGConnectingPoint num="2" id="6452" />
+<TGConnectingPoint num="3" id="6453" />
+<TGConnectingPoint num="4" id="6454" />
+<TGConnectingPoint num="5" id="6455" />
+<TGConnectingPoint num="6" id="6456" />
+<TGConnectingPoint num="7" id="6457" />
+<TGConnectingPoint num="8" id="6458" />
+<TGConnectingPoint num="9" id="6459" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="6471" >
 <cdparam x="340" y="213" />
 <sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="startMe()" />
-<TGConnectingPoint num="0" id="6289" />
-<TGConnectingPoint num="1" id="6290" />
-<TGConnectingPoint num="2" id="6291" />
-<TGConnectingPoint num="3" id="6292" />
-<TGConnectingPoint num="4" id="6293" />
-<TGConnectingPoint num="5" id="6294" />
-<TGConnectingPoint num="6" id="6295" />
-<TGConnectingPoint num="7" id="6296" />
-<TGConnectingPoint num="8" id="6297" />
-<TGConnectingPoint num="9" id="6298" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="6340" >
+<TGConnectingPoint num="0" id="6461" />
+<TGConnectingPoint num="1" id="6462" />
+<TGConnectingPoint num="2" id="6463" />
+<TGConnectingPoint num="3" id="6464" />
+<TGConnectingPoint num="4" id="6465" />
+<TGConnectingPoint num="5" id="6466" />
+<TGConnectingPoint num="6" id="6467" />
+<TGConnectingPoint num="7" id="6468" />
+<TGConnectingPoint num="8" id="6469" />
+<TGConnectingPoint num="9" id="6470" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="6512" >
 <cdparam x="337" y="127" />
 <sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitForStart" />
-<TGConnectingPoint num="0" id="6300" />
-<TGConnectingPoint num="1" id="6301" />
-<TGConnectingPoint num="2" id="6302" />
-<TGConnectingPoint num="3" id="6303" />
-<TGConnectingPoint num="4" id="6304" />
-<TGConnectingPoint num="5" id="6305" />
-<TGConnectingPoint num="6" id="6306" />
-<TGConnectingPoint num="7" id="6307" />
-<TGConnectingPoint num="8" id="6308" />
-<TGConnectingPoint num="9" id="6309" />
-<TGConnectingPoint num="10" id="6310" />
-<TGConnectingPoint num="11" id="6311" />
-<TGConnectingPoint num="12" id="6312" />
-<TGConnectingPoint num="13" id="6313" />
-<TGConnectingPoint num="14" id="6314" />
-<TGConnectingPoint num="15" id="6315" />
-<TGConnectingPoint num="16" id="6316" />
-<TGConnectingPoint num="17" id="6317" />
-<TGConnectingPoint num="18" id="6318" />
-<TGConnectingPoint num="19" id="6319" />
-<TGConnectingPoint num="20" id="6320" />
-<TGConnectingPoint num="21" id="6321" />
-<TGConnectingPoint num="22" id="6322" />
-<TGConnectingPoint num="23" id="6323" />
-<TGConnectingPoint num="24" id="6324" />
-<TGConnectingPoint num="25" id="6325" />
-<TGConnectingPoint num="26" id="6326" />
-<TGConnectingPoint num="27" id="6327" />
-<TGConnectingPoint num="28" id="6328" />
-<TGConnectingPoint num="29" id="6329" />
-<TGConnectingPoint num="30" id="6330" />
-<TGConnectingPoint num="31" id="6331" />
-<TGConnectingPoint num="32" id="6332" />
-<TGConnectingPoint num="33" id="6333" />
-<TGConnectingPoint num="34" id="6334" />
-<TGConnectingPoint num="35" id="6335" />
-<TGConnectingPoint num="36" id="6336" />
-<TGConnectingPoint num="37" id="6337" />
-<TGConnectingPoint num="38" id="6338" />
-<TGConnectingPoint num="39" id="6339" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5108" id="6343" >
+<TGConnectingPoint num="0" id="6472" />
+<TGConnectingPoint num="1" id="6473" />
+<TGConnectingPoint num="2" id="6474" />
+<TGConnectingPoint num="3" id="6475" />
+<TGConnectingPoint num="4" id="6476" />
+<TGConnectingPoint num="5" id="6477" />
+<TGConnectingPoint num="6" id="6478" />
+<TGConnectingPoint num="7" id="6479" />
+<TGConnectingPoint num="8" id="6480" />
+<TGConnectingPoint num="9" id="6481" />
+<TGConnectingPoint num="10" id="6482" />
+<TGConnectingPoint num="11" id="6483" />
+<TGConnectingPoint num="12" id="6484" />
+<TGConnectingPoint num="13" id="6485" />
+<TGConnectingPoint num="14" id="6486" />
+<TGConnectingPoint num="15" id="6487" />
+<TGConnectingPoint num="16" id="6488" />
+<TGConnectingPoint num="17" id="6489" />
+<TGConnectingPoint num="18" id="6490" />
+<TGConnectingPoint num="19" id="6491" />
+<TGConnectingPoint num="20" id="6492" />
+<TGConnectingPoint num="21" id="6493" />
+<TGConnectingPoint num="22" id="6494" />
+<TGConnectingPoint num="23" id="6495" />
+<TGConnectingPoint num="24" id="6496" />
+<TGConnectingPoint num="25" id="6497" />
+<TGConnectingPoint num="26" id="6498" />
+<TGConnectingPoint num="27" id="6499" />
+<TGConnectingPoint num="28" id="6500" />
+<TGConnectingPoint num="29" id="6501" />
+<TGConnectingPoint num="30" id="6502" />
+<TGConnectingPoint num="31" id="6503" />
+<TGConnectingPoint num="32" id="6504" />
+<TGConnectingPoint num="33" id="6505" />
+<TGConnectingPoint num="34" id="6506" />
+<TGConnectingPoint num="35" id="6507" />
+<TGConnectingPoint num="36" id="6508" />
+<TGConnectingPoint num="37" id="6509" />
+<TGConnectingPoint num="38" id="6510" />
+<TGConnectingPoint num="39" id="6511" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5108" id="6515" >
 <cdparam x="390" y="678" />
 <sizeparam width="136" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="6341" />
-<TGConnectingPoint num="1" id="6342" />
+<TGConnectingPoint num="0" id="6513" />
+<TGConnectingPoint num="1" id="6514" />
 <extraparam>
 <Data variable="x" minValue="0" maxValue="10" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="6354" >
+<COMPONENT type="5103" id="6526" >
 <cdparam x="412" y="770" />
 <sizeparam width="93" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="sendPicture(p)" />
-<TGConnectingPoint num="0" id="6344" />
-<TGConnectingPoint num="1" id="6345" />
-<TGConnectingPoint num="2" id="6346" />
-<TGConnectingPoint num="3" id="6347" />
-<TGConnectingPoint num="4" id="6348" />
-<TGConnectingPoint num="5" id="6349" />
-<TGConnectingPoint num="6" id="6350" />
-<TGConnectingPoint num="7" id="6351" />
-<TGConnectingPoint num="8" id="6352" />
-<TGConnectingPoint num="9" id="6353" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="6395" >
+<TGConnectingPoint num="0" id="6516" />
+<TGConnectingPoint num="1" id="6517" />
+<TGConnectingPoint num="2" id="6518" />
+<TGConnectingPoint num="3" id="6519" />
+<TGConnectingPoint num="4" id="6520" />
+<TGConnectingPoint num="5" id="6521" />
+<TGConnectingPoint num="6" id="6522" />
+<TGConnectingPoint num="7" id="6523" />
+<TGConnectingPoint num="8" id="6524" />
+<TGConnectingPoint num="9" id="6525" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="6567" >
 <cdparam x="378" y="373" />
 <sizeparam width="158" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="WaitingForNextPicture" />
-<TGConnectingPoint num="0" id="6355" />
-<TGConnectingPoint num="1" id="6356" />
-<TGConnectingPoint num="2" id="6357" />
-<TGConnectingPoint num="3" id="6358" />
-<TGConnectingPoint num="4" id="6359" />
-<TGConnectingPoint num="5" id="6360" />
-<TGConnectingPoint num="6" id="6361" />
-<TGConnectingPoint num="7" id="6362" />
-<TGConnectingPoint num="8" id="6363" />
-<TGConnectingPoint num="9" id="6364" />
-<TGConnectingPoint num="10" id="6365" />
-<TGConnectingPoint num="11" id="6366" />
-<TGConnectingPoint num="12" id="6367" />
-<TGConnectingPoint num="13" id="6368" />
-<TGConnectingPoint num="14" id="6369" />
-<TGConnectingPoint num="15" id="6370" />
-<TGConnectingPoint num="16" id="6371" />
-<TGConnectingPoint num="17" id="6372" />
-<TGConnectingPoint num="18" id="6373" />
-<TGConnectingPoint num="19" id="6374" />
-<TGConnectingPoint num="20" id="6375" />
-<TGConnectingPoint num="21" id="6376" />
-<TGConnectingPoint num="22" id="6377" />
-<TGConnectingPoint num="23" id="6378" />
-<TGConnectingPoint num="24" id="6379" />
-<TGConnectingPoint num="25" id="6380" />
-<TGConnectingPoint num="26" id="6381" />
-<TGConnectingPoint num="27" id="6382" />
-<TGConnectingPoint num="28" id="6383" />
-<TGConnectingPoint num="29" id="6384" />
-<TGConnectingPoint num="30" id="6385" />
-<TGConnectingPoint num="31" id="6386" />
-<TGConnectingPoint num="32" id="6387" />
-<TGConnectingPoint num="33" id="6388" />
-<TGConnectingPoint num="34" id="6389" />
-<TGConnectingPoint num="35" id="6390" />
-<TGConnectingPoint num="36" id="6391" />
-<TGConnectingPoint num="37" id="6392" />
-<TGConnectingPoint num="38" id="6393" />
-<TGConnectingPoint num="39" id="6394" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="6397" >
+<TGConnectingPoint num="0" id="6527" />
+<TGConnectingPoint num="1" id="6528" />
+<TGConnectingPoint num="2" id="6529" />
+<TGConnectingPoint num="3" id="6530" />
+<TGConnectingPoint num="4" id="6531" />
+<TGConnectingPoint num="5" id="6532" />
+<TGConnectingPoint num="6" id="6533" />
+<TGConnectingPoint num="7" id="6534" />
+<TGConnectingPoint num="8" id="6535" />
+<TGConnectingPoint num="9" id="6536" />
+<TGConnectingPoint num="10" id="6537" />
+<TGConnectingPoint num="11" id="6538" />
+<TGConnectingPoint num="12" id="6539" />
+<TGConnectingPoint num="13" id="6540" />
+<TGConnectingPoint num="14" id="6541" />
+<TGConnectingPoint num="15" id="6542" />
+<TGConnectingPoint num="16" id="6543" />
+<TGConnectingPoint num="17" id="6544" />
+<TGConnectingPoint num="18" id="6545" />
+<TGConnectingPoint num="19" id="6546" />
+<TGConnectingPoint num="20" id="6547" />
+<TGConnectingPoint num="21" id="6548" />
+<TGConnectingPoint num="22" id="6549" />
+<TGConnectingPoint num="23" id="6550" />
+<TGConnectingPoint num="24" id="6551" />
+<TGConnectingPoint num="25" id="6552" />
+<TGConnectingPoint num="26" id="6553" />
+<TGConnectingPoint num="27" id="6554" />
+<TGConnectingPoint num="28" id="6555" />
+<TGConnectingPoint num="29" id="6556" />
+<TGConnectingPoint num="30" id="6557" />
+<TGConnectingPoint num="31" id="6558" />
+<TGConnectingPoint num="32" id="6559" />
+<TGConnectingPoint num="33" id="6560" />
+<TGConnectingPoint num="34" id="6561" />
+<TGConnectingPoint num="35" id="6562" />
+<TGConnectingPoint num="36" id="6563" />
+<TGConnectingPoint num="37" id="6564" />
+<TGConnectingPoint num="38" id="6565" />
+<TGConnectingPoint num="39" id="6566" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="6569" >
 <cdparam x="380" y="71" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="6396" />
+<TGConnectingPoint num="0" id="6568" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="6438" >
+<COMPONENT type="5106" id="6610" >
 <cdparam x="219" y="345" />
 <sizeparam width="485" height="494" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="Started" />
-<TGConnectingPoint num="0" id="6398" />
-<TGConnectingPoint num="1" id="6399" />
-<TGConnectingPoint num="2" id="6400" />
-<TGConnectingPoint num="3" id="6401" />
-<TGConnectingPoint num="4" id="6402" />
-<TGConnectingPoint num="5" id="6403" />
-<TGConnectingPoint num="6" id="6404" />
-<TGConnectingPoint num="7" id="6405" />
-<TGConnectingPoint num="8" id="6406" />
-<TGConnectingPoint num="9" id="6407" />
-<TGConnectingPoint num="10" id="6408" />
-<TGConnectingPoint num="11" id="6409" />
-<TGConnectingPoint num="12" id="6410" />
-<TGConnectingPoint num="13" id="6411" />
-<TGConnectingPoint num="14" id="6412" />
-<TGConnectingPoint num="15" id="6413" />
-<TGConnectingPoint num="16" id="6414" />
-<TGConnectingPoint num="17" id="6415" />
-<TGConnectingPoint num="18" id="6416" />
-<TGConnectingPoint num="19" id="6417" />
-<TGConnectingPoint num="20" id="6418" />
-<TGConnectingPoint num="21" id="6419" />
-<TGConnectingPoint num="22" id="6420" />
-<TGConnectingPoint num="23" id="6421" />
-<TGConnectingPoint num="24" id="6422" />
-<TGConnectingPoint num="25" id="6423" />
-<TGConnectingPoint num="26" id="6424" />
-<TGConnectingPoint num="27" id="6425" />
-<TGConnectingPoint num="28" id="6426" />
-<TGConnectingPoint num="29" id="6427" />
-<TGConnectingPoint num="30" id="6428" />
-<TGConnectingPoint num="31" id="6429" />
-<TGConnectingPoint num="32" id="6430" />
-<TGConnectingPoint num="33" id="6431" />
-<TGConnectingPoint num="34" id="6432" />
-<TGConnectingPoint num="35" id="6433" />
-<TGConnectingPoint num="36" id="6434" />
-<TGConnectingPoint num="37" id="6435" />
-<TGConnectingPoint num="38" id="6436" />
-<TGConnectingPoint num="39" id="6437" />
+<TGConnectingPoint num="0" id="6570" />
+<TGConnectingPoint num="1" id="6571" />
+<TGConnectingPoint num="2" id="6572" />
+<TGConnectingPoint num="3" id="6573" />
+<TGConnectingPoint num="4" id="6574" />
+<TGConnectingPoint num="5" id="6575" />
+<TGConnectingPoint num="6" id="6576" />
+<TGConnectingPoint num="7" id="6577" />
+<TGConnectingPoint num="8" id="6578" />
+<TGConnectingPoint num="9" id="6579" />
+<TGConnectingPoint num="10" id="6580" />
+<TGConnectingPoint num="11" id="6581" />
+<TGConnectingPoint num="12" id="6582" />
+<TGConnectingPoint num="13" id="6583" />
+<TGConnectingPoint num="14" id="6584" />
+<TGConnectingPoint num="15" id="6585" />
+<TGConnectingPoint num="16" id="6586" />
+<TGConnectingPoint num="17" id="6587" />
+<TGConnectingPoint num="18" id="6588" />
+<TGConnectingPoint num="19" id="6589" />
+<TGConnectingPoint num="20" id="6590" />
+<TGConnectingPoint num="21" id="6591" />
+<TGConnectingPoint num="22" id="6592" />
+<TGConnectingPoint num="23" id="6593" />
+<TGConnectingPoint num="24" id="6594" />
+<TGConnectingPoint num="25" id="6595" />
+<TGConnectingPoint num="26" id="6596" />
+<TGConnectingPoint num="27" id="6597" />
+<TGConnectingPoint num="28" id="6598" />
+<TGConnectingPoint num="29" id="6599" />
+<TGConnectingPoint num="30" id="6600" />
+<TGConnectingPoint num="31" id="6601" />
+<TGConnectingPoint num="32" id="6602" />
+<TGConnectingPoint num="33" id="6603" />
+<TGConnectingPoint num="34" id="6604" />
+<TGConnectingPoint num="35" id="6605" />
+<TGConnectingPoint num="36" id="6606" />
+<TGConnectingPoint num="37" id="6607" />
+<TGConnectingPoint num="38" id="6608" />
+<TGConnectingPoint num="39" id="6609" />
 <extraparam>
 </extraparam>
 </COMPONENT>
diff --git a/src/TMLTranslator.java b/src/TMLTranslator.java
index 3ca33cf18d..3bec0d1037 100755
--- a/src/TMLTranslator.java
+++ b/src/TMLTranslator.java
@@ -1,49 +1,49 @@
 /**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
 
-ludovic.apvrille AT telecom-paritech.fr
-andrea.enrici AT telecom-paristech.fr
-
-This software is a computer program whose purpose is to allow the 
-edition of TURTLE analysis, design and deployment diagrams, to 
-allow the generation of RT-LOTOS or Java code from this diagram, 
-and at last to allow the analysis of formal validation traces 
-obtained from external tools, e.g. RTL from LAAS-CNRS and CADP 
-from INRIA Rhone-Alpes.
-
-This software is governed by the CeCILL  license under French law and
-abiding by the rules of distribution of free software.  You can  use, 
-modify and/ or redistribute the software under the terms of the CeCILL
-license as circulated by CEA, CNRS and INRIA at the following URL
-"http://www.cecill.info". 
-
-As a counterpart to the access to the source code and  rights to copy,
-modify and redistribute granted by the license, users are provided only
-with a limited warranty  and the software's author,  the holder of the
-economic rights,  and the successive licensors  have only  limited
-liability. 
-
-In this respect, the user's attention is drawn to the risks associated
-with loading,  using,  modifying and/or developing or reproducing the
-software by the user in light of its specific status of free software,
-that may mean  that it is complicated to manipulate,  and  that  also
-therefore means  that it is reserved for developers  and  experienced
-professionals having in-depth computer knowledge. Users are therefore
-encouraged to load and test the software's suitability as regards their
-requirements in conditions enabling the security of their systems and/or 
-data to be ensured and,  more generally, to use and operate it in the 
-same conditions as regards security. 
-
-The fact that you are presently reading this means that you have had
-knowledge of the CeCILL license and that you accept its terms.
-
-/**
-* Class TIFTranslator
-* Linecommand application for translating TIF to other languages
-* Creation: 29/06/2007
-* @version 1.1 30/05/2014
-* @author Ludovic APVRILLE, Andrea ENRICI
-* @see
-*/
+   ludovic.apvrille AT telecom-paritech.fr
+   andrea.enrici AT telecom-paristech.fr
+
+   This software is a computer program whose purpose is to allow the
+   edition of TURTLE analysis, design and deployment diagrams, to
+   allow the generation of RT-LOTOS or Java code from this diagram,
+   and at last to allow the analysis of formal validation traces
+   obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
+   from INRIA Rhone-Alpes.
+
+   This software is governed by the CeCILL  license under French law and
+   abiding by the rules of distribution of free software.  You can  use,
+   modify and/ or redistribute the software under the terms of the CeCILL
+   license as circulated by CEA, CNRS and INRIA at the following URL
+   "http://www.cecill.info".
+
+   As a counterpart to the access to the source code and  rights to copy,
+   modify and redistribute granted by the license, users are provided only
+   with a limited warranty  and the software's author,  the holder of the
+   economic rights,  and the successive licensors  have only  limited
+   liability.
+
+   In this respect, the user's attention is drawn to the risks associated
+   with loading,  using,  modifying and/or developing or reproducing the
+   software by the user in light of its specific status of free software,
+   that may mean  that it is complicated to manipulate,  and  that  also
+   therefore means  that it is reserved for developers  and  experienced
+   professionals having in-depth computer knowledge. Users are therefore
+   encouraged to load and test the software's suitability as regards their
+   requirements in conditions enabling the security of their systems and/or
+   data to be ensured and,  more generally, to use and operate it in the
+   same conditions as regards security.
+
+   The fact that you are presently reading this means that you have had
+   knowledge of the CeCILL license and that you accept its terms.
+
+   /**
+   * Class TIFTranslator
+   * Linecommand application for translating TIF to other languages
+   * Creation: 29/06/2007
+   * @version 1.1 30/05/2014
+   * @author Ludovic APVRILLE, Andrea ENRICI
+   * @see
+   */
 
 import java.io.*;
 import java.util.*;
@@ -60,474 +60,473 @@ import myutil.*;
 //import uppaaldesc.*;
 
 public class TMLTranslator  {
-	// 0 -> LOTOS
-	// 1 -> UPPAAL
-	// 2 -> SystemC
-	// 3 -> SystemC2
-	// 4 -> TML
-	// 5 -> Systemc3
-	
-	public static int conversionType; 
-	public static File inputFile;
-	public static File outputFile;
-	public static String outputFileName;
-	public static String inputData;
-	public static String outputData;
-	public static TMLModeling tmlm;
-	public static TMLMapping tmap;
-	public static boolean debug = false;
-	public static boolean optimize = false;
-	
-	
-	public static void printCopyright() {
-		System.out.println("TMLTranslator: (C) GET/ENST, Ludovic APVRILLE, Andrea ENRICI\n{ludovic.apvrille, andrea.enrici}@telecom-paristech.fr");
-		System.out.println("TMLTranslator is released under a CECILL License. See http://www.cecill.info/index.en.html");
-		System.out.println("For more information on TURTLE related technologies, please consult http://ttool.telecom-paristech.fr/");
-		
-		System.out.println("Enjoy!!!\n");
-	}
-	
-	public static void printUsage() {
-		System.out.println("TMLTranlator: usage");
-		System.out.println("TMLTranlator <options> <language> <inputfile> [<outputfile> or <outputdirectory>]");
-		System.out.println("<options> are optional. There might be : -debug or -optimize");
-		System.out.println("<language> may be: LOTOS, UPPAAL, SystemC, SystemC2, TML");
-		System.out.println("LOTOS, UPPAAL: an output file must be provided");
-		System.out.println("For SystemC, SystemC2, TML: a target directory must be provided");
-		System.out.println("<inputfile> should be in TML format, and be readable");
-		System.out.println("<outputfile> or <outputdirectory> should be writeable");
-	}
-	
-	public static boolean checkArgs(String [] args) {
-		return !(args.length < 3);
-	}
-	
-	public static boolean hasDebug(String [] args) {
-		if (args[0].equals("-debug")) {
-			return true;
-		}
-		
-		if (args[1].equals("-debug")) {
-			return true;
-		}
-		
-		return false;
-	}
-	
-	public static boolean hasOptimize(String [] args) {
-		if (args[0].equals("-optimize")) {
-			return true;
-		}
-		
-		if (args[1].equals("-optimize")) {
-			return true;
-		}
-		
-		return false;
-	}
-	
-	public static boolean analyseArgs(String [] args) {
-		System.out.println("Converting to " + args[0]);
-		
-		if (args[0].toUpperCase().equals("LOTOS")) {
-			conversionType = 0;
-		} else if (args[0].toUpperCase().equals("UPPAAL")) {
-			conversionType = 1;
-		} else if (args[0].toUpperCase().equals("SYSTEMC")) {
-			conversionType = 2;
-		} else if (args[0].toUpperCase().equals("SYSTEMC2")) {
-			conversionType = 3;
-		} else if (args[0].toUpperCase().equals("TML")) {
-			conversionType = 4;
-		} else {
-			return false;
-		}
-		return true;
-	}
-	
-	public static boolean prepareFiles(String args[]) {
-		
-		inputFile = new File(args[1]);  
-		outputFile = new File(args[2]);
-		outputFileName = args[2];
-		try {
-			if (!FileUtils.checkFileForOpen(inputFile)) {
-				System.out.println("Cannot read file: " + args[1]);
-				return false;
-			}
-			
-			inputData = FileUtils.loadFileData(inputFile);
-			
-			if ((conversionType == 0) || (conversionType == 1)) {
-				if (!FileUtils.checkFileForSave(outputFile)) {
-					System.out.println("Cannot create / open file: " + args[1]);
-					return false;
-				}
-			}
-		} catch (Exception e) {
-			System.out.println("Exception: " + e.getMessage());
-			return false;
-		}
-		
-		return true;
-	}
-	
-	public static boolean checkSyntax(TMLSyntaxChecking syntax) {
-		System.out.println("Syntax checking phase");
-		syntax.checkSyntax();
-		return (syntax.hasErrors() == 0);
-	}
-	
-	public static boolean loadMapping(String title, String path) {
-		boolean ret = false;
-		//System.out.println("load");
-		TMLMappingTextSpecification spec = new TMLMappingTextSpecification(title);
-		ret = spec.makeTMLMapping(inputData, path);
-		System.out.println("load ended");
-		ArrayList<TMLError> warnings;
-		
-		if (!ret) {
-			System.out.println("Compilation:\n" + spec.printSummary());
-		}
-		
-		if (ret) {
-			//System.out.println("Format OK");
-			tmap = spec.getTMLMapping(); 
-			tmlm = tmap.getTMLModeling();
-			
-			//System.out.println("\n\n*** TML Modeling *** \n");
-			//TMLTextSpecification textspec = new TMLTextSpecification("toto");
-			//String s = textspec.toTextFormat(tmlm);
-			//System.out.println(s);
-			
-			// Checking syntax
-			System.out.println("--- Checking syntax of the whole specification (TML, TARCHI, TMAP)---");
-			TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap);
-			ret = checkSyntax(syntax);
-			
-			if (!ret) {
-				System.out.println("Compilation:\n" + syntax.printSummary());
-				return false;
-			}
-			
-			System.out.println("Compilation:\n" + spec.printSummary());
-			
-			
-			if (optimize) {
-				warnings = tmlm.optimize();
-				System.out.println(tmlm.printSummary(warnings));
-			}
-			//spec.toTextFormat(tmlm);
-			//System.out.println("TMLModeling=" + spec);
-		}
-		
-		return ret;
-	}
-	
-	public static boolean loadTML(String title) {
-		boolean ret = false;
-		ArrayList<TMLError> warnings;
-		//System.out.println("load");
-		TMLTextSpecification spec = new TMLTextSpecification(title, true);
-		ret = spec.makeTMLModeling(inputData);
-		//System.out.println("load ended");
-		tmlm = spec.getTMLModeling(); 
-		
-		if (!ret) {
-			System.out.println("Compilation:\n" + spec.printSummary());
-		}
-		
-		if (ret) {
-			//System.out.println("Format OK");
-			spec.toTextFormat(tmlm);
-			//System.out.println("TMLModeling=" + spec);
-			
-			TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmlm);
-			ret = checkSyntax(syntax);
-			
-			if (!ret) {
-				System.out.println("Compilation:\n" + syntax.printSummary());
-				return false;
-			}
-			
-			System.out.println("Compilation:\n" + spec.printSummary());
-			
-			if (optimize) {
-				warnings = tmlm.optimize();
-				System.out.println(tmlm.printSummary(warnings) + "\n");
-			}
-		}	
-		
-		return ret;
-	}
-	
-	public static boolean convertToLOTOSFromMapping() {
-		Mapping2TIF m2tif = new Mapping2TIF(tmap);
-		m2tif.setShowSampleChannels(false);
-		m2tif.setShowChannels(true);
-		m2tif.setShowEvents(true);
-		m2tif.setShowRequests(true);
-		m2tif.setShowExecs(false);
-		m2tif.setShowBusTransfers(false);
-		m2tif.setShowScheduling(false);
-		m2tif.setIsClocked(false);
-		m2tif.setTickValue("10");
-		m2tif.setIsEndClocked(false);
-		m2tif.setIsCountTick(true);
-		m2tif.hasMaxCountTick(false);
-		m2tif.setShowTaskState(false);
-		m2tif.setShowChannelState(false);
-		m2tif.setShowBlockedCPU(false);
-		m2tif.setShowTerminateCPUs(true);
-		m2tif.setShowBranching(false);
-		m2tif.setRandomTasks(false);
-		TURTLEModeling tm = m2tif.generateTURTLEModeling();
-		
-		TURTLETranslator tt = new TURTLETranslator(tm);
-		outputData = tt.generateLOTOS(true);
-		try {
-			FileOutputStream fos = new FileOutputStream(outputFile);
-			fos.write(outputData.getBytes());
-			fos.close();
-		} catch (Exception e) {
-			System.out.println("Error when writing LOTOS file");
-			return false;
-		}
-		return true;
-	}
-	
-	public static boolean convertToLOTOS() {
-		TML2TURTLE totif = new TML2TURTLE(tmlm);
-		TURTLEModeling tm = totif.generateTURTLEModeling();
-		TURTLETranslator tt = new TURTLETranslator(tm);
-		outputData = tt.generateLOTOS(true);
-		try {
-			FileOutputStream fos = new FileOutputStream(outputFile);
-			fos.write(outputData.getBytes());
-			fos.close();
-		} catch (Exception e) {
-			System.out.println("Error when writing LOTOS file");
-			return false;
-		}
-		return true;
-	}
-	
-	public static boolean convertToUPPAAL() {
-		TML2UPPAAL toup = new TML2UPPAAL(tmlm);
-		toup.generateUPPAAL(debug);
-		try {
-			toup.saveInPathFile(outputFileName);
-		} catch (Exception e) {
-			System.out.println("Error when writing UPPAAL specification: " + e.getMessage());
-			return false;
-		}
-		return true;
-	}
-	
-	public static boolean convertToSystemC() {
-		tmltranslator.tomappingsystemc.TML2MappingSystemC map;
-		if (tmap == null) {
-			map = new tmltranslator.tomappingsystemc.TML2MappingSystemC(tmlm);
-		} else {
-			map = new tmltranslator.tomappingsystemc.TML2MappingSystemC(tmap);
-		}
-		map.generateSystemC(debug, true);
-		try {
-			map.saveFile(outputFileName, "appmodel");
-		} catch (Exception e) {
-			System.out.println("SystemC generation failed: " + e.getMessage());
-			return false;
-		}
-		//System.out.println("SystemC conversion not yet implemented");
-		return true;
-	}
-	
-	public static boolean convertToSystemC2() {
-		//System.out.println("Converting to SystemC2 ... yo!");
-		tmltranslator.tomappingsystemc2.TML2MappingSystemC map;
-		if (tmap == null) {
-			map = new tmltranslator.tomappingsystemc2.TML2MappingSystemC(tmlm);
-		} else {
-			map = new tmltranslator.tomappingsystemc2.TML2MappingSystemC(tmap);
-		}
-		map.generateSystemC(debug, true);
-		try {
-			map.saveFile(outputFileName, "appmodel");
-		} catch (Exception e) {
-			System.out.println("SystemC generation failed: " + e.getMessage());
-			return false;
-		}
-		//System.out.println("SystemC conversion not yet implemented");
-		return true;
-	}
-
-	public static boolean convertToSystemC3() {
-
-		tmltranslator.tomappingsystemc3.TML2MappingSystemC map;	
-
-		System.out.println("Converting to SystemC3...");
-		if( tmap == null )	{
-			System.out.println("Taking TMLModeling...");
-			map = new tmltranslator.tomappingsystemc3.TML2MappingSystemC( tmlm );
-		}
-		else	{
-			System.out.println("Taking TMLMapping...");
-			map = new tmltranslator.tomappingsystemc3.TML2MappingSystemC( tmap );
-		}
-		map.generateSystemC( debug, true );
-		try {
-			map.saveFile( outputFileName, "appmodel" );
-		}
-		catch( Exception e ) {
-			System.out.println( "SystemC generation failed: " + e.getMessage() );
-			return false;
-		}
-		System.out.println( "Sorry...SystemC3 conversion not yet implemented" );
-		return true;
-	}
-	
-	public static boolean convertToTML() {
-		
-		if (tmap == null) {
-			TMLTextSpecification tspec = new TMLTextSpecification("spec");
-			tspec.toTextFormat(tmlm);
-			try {
-				tspec.saveFile(outputFileName, "spec");
-			} catch (Exception e) {
-				System.out.println("TML generation failed: " + e.getMessage());
-				return false;
-			}
-		} else {
-			TMLMappingTextSpecification mapspec = new TMLMappingTextSpecification("spec");
-			mapspec.toTextFormat(tmap);
-			try {
-				mapspec.saveFile(outputFileName, "spec");
-			} catch (Exception e) {
-				System.out.println("TML/Mapping generation failed: " + e.getMessage());
-				return false;
-			}
-		}
-		return true;
-	}
-	
-	public static boolean saveData() {
-		try {
-			FileOutputStream fos = new FileOutputStream(outputFile);
-			fos.write(outputData.getBytes());
-			fos.close();
-		} catch (Exception e) {
-			System.out.println("Error when writing output file");
-			return false;
-		}
-		return true;
-	}
-	
+    // 0 -> LOTOS
+    // 1 -> UPPAAL
+    // 2 -> SystemC
+    // 3 -> SystemC2
+    // 4 -> TML
+    // 5 -> Systemc3
+
+    public static int conversionType;
+    public static File inputFile;
+    public static File outputFile;
+    public static String outputFileName;
+    public static String inputData;
+    public static String outputData;
+    public static TMLModeling tmlm;
+    public static TMLMapping tmap;
+    public static boolean debug = false;
+    public static boolean optimize = false;
+
+
+    public static void printCopyright() {
+        System.out.println("TMLTranslator: (C) GET/ENST, Ludovic APVRILLE, Andrea ENRICI\n{ludovic.apvrille, andrea.enrici}@telecom-paristech.fr");
+        System.out.println("TMLTranslator is released under a CECILL License. See http://www.cecill.info/index.en.html");
+        System.out.println("For more information on TURTLE related technologies, please consult http://ttool.telecom-paristech.fr/");
+
+        System.out.println("Enjoy!!!\n");
+    }
+
+    public static void printUsage() {
+        System.out.println("TMLTranlator: usage");
+        System.out.println("TMLTranlator <options> <language> <inputfile> [<outputfile> or <outputdirectory>]");
+        System.out.println("<options> are optional. There might be : -debug or -optimize");
+        System.out.println("<language> may be: LOTOS, UPPAAL, SystemC, SystemC2, TML");
+        System.out.println("LOTOS, UPPAAL: an output file must be provided");
+        System.out.println("For SystemC, SystemC2, TML: a target directory must be provided");
+        System.out.println("<inputfile> should be in TML format, and be readable");
+        System.out.println("<outputfile> or <outputdirectory> should be writeable");
+    }
+
+    public static boolean checkArgs(String [] args) {
+        return !(args.length < 3);
+    }
+
+    public static boolean hasDebug(String [] args) {
+        if (args[0].equals("-debug")) {
+            return true;
+        }
+
+        if (args[1].equals("-debug")) {
+            return true;
+        }
+
+        return false;
+    }
+
+    public static boolean hasOptimize(String [] args) {
+        if (args[0].equals("-optimize")) {
+            return true;
+        }
+
+        if (args[1].equals("-optimize")) {
+            return true;
+        }
+
+        return false;
+    }
+
+    public static boolean analyseArgs(String [] args) {
+        System.out.println("Converting to " + args[0]);
+
+        if (args[0].toUpperCase().equals("LOTOS")) {
+            conversionType = 0;
+        } else if (args[0].toUpperCase().equals("UPPAAL")) {
+            conversionType = 1;
+        } else if (args[0].toUpperCase().equals("SYSTEMC")) {
+            conversionType = 2;
+        } else if (args[0].toUpperCase().equals("SYSTEMC2")) {
+            conversionType = 3;
+        } else if (args[0].toUpperCase().equals("TML")) {
+            conversionType = 4;
+        } else {
+            return false;
+        }
+        return true;
+    }
+
+    public static boolean prepareFiles(String args[]) {
+
+        inputFile = new File(args[1]);
+        outputFile = new File(args[2]);
+        outputFileName = args[2];
+        try {
+            if (!FileUtils.checkFileForOpen(inputFile)) {
+                System.out.println("Cannot read file: " + args[1]);
+                return false;
+            }
+
+            inputData = FileUtils.loadFileData(inputFile);
+
+            if ((conversionType == 0) || (conversionType == 1)) {
+                if (!FileUtils.checkFileForSave(outputFile)) {
+                    System.out.println("Cannot create / open file: " + args[1]);
+                    return false;
+                }
+            }
+        } catch (Exception e) {
+            System.out.println("Exception: " + e.getMessage());
+            return false;
+        }
+
+        return true;
+    }
+
+    public static boolean checkSyntax(TMLSyntaxChecking syntax) {
+        System.out.println("Syntax checking phase");
+        syntax.checkSyntax();
+        return (syntax.hasErrors() == 0);
+    }
+
+    public static boolean loadMapping(String title, String path) {
+        boolean ret = false;
+        //System.out.println("load");
+        TMLMappingTextSpecification spec = new TMLMappingTextSpecification(title);
+        ret = spec.makeTMLMapping(inputData, path);
+        System.out.println("load ended");
+        ArrayList<TMLError> warnings;
+
+        if (!ret) {
+            System.out.println("Compilation:\n" + spec.printSummary());
+        }
+
+        if (ret) {
+            //System.out.println("Format OK");
+            tmap = spec.getTMLMapping();
+            tmlm = tmap.getTMLModeling();
+
+            //System.out.println("\n\n*** TML Modeling *** \n");
+            //TMLTextSpecification textspec = new TMLTextSpecification("toto");
+            //String s = textspec.toTextFormat(tmlm);
+            //System.out.println(s);
+
+            // Checking syntax
+            System.out.println("--- Checking syntax of the whole specification (TML, TARCHI, TMAP)---");
+            TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap);
+            ret = checkSyntax(syntax);
+
+            if (!ret) {
+                System.out.println("Compilation:\n" + syntax.printSummary());
+                return false;
+            }
+
+            System.out.println("Compilation:\n" + spec.printSummary());
+
+
+            if (optimize) {
+                warnings = tmlm.optimize();
+                System.out.println(tmlm.printSummary(warnings));
+            }
+            //spec.toTextFormat(tmlm);
+            //System.out.println("TMLModeling=" + spec);
+        }
+
+        return ret;
+    }
+
+    public static boolean loadTML(String title) {
+        boolean ret = false;
+        ArrayList<TMLError> warnings;
+        //System.out.println("load");
+        TMLTextSpecification spec = new TMLTextSpecification(title, true);
+        ret = spec.makeTMLModeling(inputData);
+        //System.out.println("load ended");
+        tmlm = spec.getTMLModeling();
+
+        if (!ret) {
+            System.out.println("Compilation:\n" + spec.printSummary());
+        }
+
+        if (ret) {
+            //System.out.println("Format OK");
+            spec.toTextFormat(tmlm);
+            //System.out.println("TMLModeling=" + spec);
+
+            TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmlm);
+            ret = checkSyntax(syntax);
+
+            if (!ret) {
+                System.out.println("Compilation:\n" + syntax.printSummary());
+                return false;
+            }
+
+            System.out.println("Compilation:\n" + spec.printSummary());
+
+            if (optimize) {
+                warnings = tmlm.optimize();
+                System.out.println(tmlm.printSummary(warnings) + "\n");
+            }
+        }
+
+        return ret;
+    }
+
+    public static boolean convertToLOTOSFromMapping() {
+        Mapping2TIF m2tif = new Mapping2TIF(tmap);
+        m2tif.setShowSampleChannels(false);
+        m2tif.setShowChannels(true);
+        m2tif.setShowEvents(true);
+        m2tif.setShowRequests(true);
+        m2tif.setShowExecs(false);
+        m2tif.setShowBusTransfers(false);
+        m2tif.setShowScheduling(false);
+        m2tif.setIsClocked(false);
+        m2tif.setTickValue("10");
+        m2tif.setIsEndClocked(false);
+        m2tif.setIsCountTick(true);
+        m2tif.hasMaxCountTick(false);
+        m2tif.setShowTaskState(false);
+        m2tif.setShowChannelState(false);
+        m2tif.setShowBlockedCPU(false);
+        m2tif.setShowTerminateCPUs(true);
+        m2tif.setShowBranching(false);
+        m2tif.setRandomTasks(false);
+        TURTLEModeling tm = m2tif.generateTURTLEModeling();
+
+        TURTLETranslator tt = new TURTLETranslator(tm);
+        outputData = tt.generateLOTOS(true);
+        try {
+            FileOutputStream fos = new FileOutputStream(outputFile);
+            fos.write(outputData.getBytes());
+            fos.close();
+        } catch (Exception e) {
+            System.out.println("Error when writing LOTOS file");
+            return false;
+        }
+        return true;
+    }
+
+    public static boolean convertToLOTOS() {
+        TML2TURTLE totif = new TML2TURTLE(tmlm);
+        TURTLEModeling tm = totif.generateTURTLEModeling();
+        TURTLETranslator tt = new TURTLETranslator(tm);
+        outputData = tt.generateLOTOS(true);
+        try {
+            FileOutputStream fos = new FileOutputStream(outputFile);
+            fos.write(outputData.getBytes());
+            fos.close();
+        } catch (Exception e) {
+            System.out.println("Error when writing LOTOS file");
+            return false;
+        }
+        return true;
+    }
+
+    public static boolean convertToUPPAAL() {
+        TML2UPPAAL toup = new TML2UPPAAL(tmlm);
+        toup.generateUPPAAL(debug);
+        try {
+            toup.saveInPathFile(outputFileName);
+        } catch (Exception e) {
+            System.out.println("Error when writing UPPAAL specification: " + e.getMessage());
+            return false;
+        }
+        return true;
+    }
+
+    public static boolean convertToSystemC() {
+        tmltranslator.tomappingsystemc.TML2MappingSystemC map;
+        if (tmap == null) {
+            map = new tmltranslator.tomappingsystemc.TML2MappingSystemC(tmlm);
+        } else {
+            map = new tmltranslator.tomappingsystemc.TML2MappingSystemC(tmap);
+        }
+        map.generateSystemC(debug, true);
+        try {
+            map.saveFile(outputFileName, "appmodel");
+        } catch (Exception e) {
+            System.out.println("SystemC generation failed: " + e.getMessage());
+            return false;
+        }
+        //System.out.println("SystemC conversion not yet implemented");
+        return true;
+    }
+
+    public static boolean convertToSystemC2() {
+        //System.out.println("Converting to SystemC2 ... yo!");
+        tmltranslator.tomappingsystemc2.TML2MappingSystemC map;
+        if (tmap == null) {
+            map = new tmltranslator.tomappingsystemc2.TML2MappingSystemC(tmlm);
+        } else {
+            map = new tmltranslator.tomappingsystemc2.TML2MappingSystemC(tmap);
+        }
+        map.generateSystemC(debug, true);
+        try {
+            map.saveFile(outputFileName, "appmodel");
+        } catch (Exception e) {
+            System.out.println("SystemC generation failed: " + e.getMessage());
+            return false;
+        }
+        //System.out.println("SystemC conversion not yet implemented");
+        return true;
+    }
+
+    /*public static boolean convertToSystemC3() {
+
+        tmltranslator.tomappingsystemc3.TML2MappingSystemC map;
+
+        System.out.println("Converting to SystemC3...");
+        if( tmap == null )      {
+            System.out.println("Taking TMLModeling...");
+            map = new tmltranslator.tomappingsystemc3.TML2MappingSystemC( tmlm );
+        }
+        else    {
+            System.out.println("Taking TMLMapping...");
+            map = new tmltranslator.tomappingsystemc3.TML2MappingSystemC( tmap );
+        }
+        map.generateSystemC( debug, true );
+        try {
+            map.saveFile( outputFileName, "appmodel" );
+        }
+        catch( Exception e ) {
+            System.out.println( "SystemC generation failed: " + e.getMessage() );
+            return false;
+        }
+        System.out.println( "Sorry...SystemC3 conversion not yet implemented" );
+        return true;
+	}*/
+
+    public static boolean convertToTML() {
+
+        if (tmap == null) {
+            TMLTextSpecification tspec = new TMLTextSpecification("spec");
+            tspec.toTextFormat(tmlm);
+            try {
+                tspec.saveFile(outputFileName, "spec");
+            } catch (Exception e) {
+                System.out.println("TML generation failed: " + e.getMessage());
+                return false;
+            }
+        } else {
+            TMLMappingTextSpecification mapspec = new TMLMappingTextSpecification("spec");
+            mapspec.toTextFormat(tmap);
+            try {
+                mapspec.saveFile(outputFileName, "spec");
+            } catch (Exception e) {
+                System.out.println("TML/Mapping generation failed: " + e.getMessage());
+                return false;
+            }
+        }
+        return true;
+    }
+
+    public static boolean saveData() {
+        try {
+            FileOutputStream fos = new FileOutputStream(outputFile);
+            fos.write(outputData.getBytes());
+            fos.close();
+        } catch (Exception e) {
+            System.out.println("Error when writing output file");
+            return false;
+        }
+        return true;
+    }
+
     public static void main(String[] args) {
-		String[] tmp;
-		
-		printCopyright();
-		
-		if (!checkArgs(args)) {
-			printUsage();
-			return;
-		}
-		
-		int nbOfOptions = 0;
-		if (hasDebug(args)) {
-			debug = true;
-			nbOfOptions ++;
-		}
-		if (hasOptimize(args)) {
-			optimize = true;
-			nbOfOptions ++;
-		}
-		
-		if (nbOfOptions > 0) {
-			debug = true;
-			tmp = new String[args.length - nbOfOptions];
-			for(int i=nbOfOptions; i<args.length; i++) {
-				tmp[i-nbOfOptions] = args[i];
-			}
-			args = tmp;
-		}
-		
-		if (!analyseArgs(args)) {
-			printUsage();
-			return;
-		}
-		
-		if (!prepareFiles(args)) {
-			printUsage();
-			return;
-		}
-		
-		if (args[1].endsWith(".tmap")) {
-			String path;
-			int index;
-			index = args[1].lastIndexOf(File.separatorChar);
-			if (index != -1) {
-				path = args[1].substring(0, index+1);
-			} else {
-				path = "." + File.separatorChar;
-			}
-			//System.out.println("path=" + path);
-			if (!loadMapping(args[1], path)) {
-				System.out.println("Compilation failed => no code generation");
-				return;
-			}
-		} else {
-			if (!loadTML(args[1])) {
-				System.out.println("Compilation failed => no code generation");
-				return;
-			}
-		}
-		
-		boolean convert = false;
-		
-		//testSplit();
-		/*String s = "\t \ttoto";
-		System.out.println("toto=" + s);
-		s = s.trim();
-		System.out.println("toto=" + s);*/
-		
-		switch(conversionType) {
-		case 0:
-			if (tmap == null) {
-				convert = convertToLOTOS();
-			} else {
-				convert = convertToLOTOSFromMapping();
-			}
-		break;
-		case 1:
-			convert = convertToUPPAAL();
-			break;
-		case 2:
-			convert = convertToSystemC();
-			break;
-		case 3:
-			convert = convertToSystemC2();
-			break;
-		case 4:
-			convert = convertToTML();
-			break;
-		case 5:
-			convert = convertToSystemC3();
-		}
-		
-		if (!convert) {
-			System.out.println("Error during conversion");
-			return;
-		}
-		
-		System.out.println("Conversion done");
-		
-		/*if (!saveData()) {
-			return;
-		}*/
-		
-		//System.out.println("Specification written in " + outputFile.getName() + ": " + outputData.length() + " bytes");
-        
-	}
-	
-} // Class TMLTranslator
+        String[] tmp;
+
+        printCopyright();
+
+        if (!checkArgs(args)) {
+            printUsage();
+            return;
+        }
+
+        int nbOfOptions = 0;
+        if (hasDebug(args)) {
+            debug = true;
+            nbOfOptions ++;
+        }
+        if (hasOptimize(args)) {
+            optimize = true;
+            nbOfOptions ++;
+        }
+
+        if (nbOfOptions > 0) {
+            debug = true;
+            tmp = new String[args.length - nbOfOptions];
+            for(int i=nbOfOptions; i<args.length; i++) {
+                tmp[i-nbOfOptions] = args[i];
+            }
+            args = tmp;
+        }
+
+        if (!analyseArgs(args)) {
+            printUsage();
+            return;
+        }
+
+        if (!prepareFiles(args)) {
+            printUsage();
+            return;
+        }
+
+        if (args[1].endsWith(".tmap")) {
+            String path;
+            int index;
+            index = args[1].lastIndexOf(File.separatorChar);
+            if (index != -1) {
+                path = args[1].substring(0, index+1);
+            } else {
+                path = "." + File.separatorChar;
+            }
+            //System.out.println("path=" + path);
+            if (!loadMapping(args[1], path)) {
+                System.out.println("Compilation failed => no code generation");
+                return;
+            }
+        } else {
+            if (!loadTML(args[1])) {
+                System.out.println("Compilation failed => no code generation");
+                return;
+            }
+        }
 
+        boolean convert = false;
+
+        //testSplit();
+        /*String s = "\t \ttoto";
+          System.out.println("toto=" + s);
+          s = s.trim();
+          System.out.println("toto=" + s);*/
+
+        switch(conversionType) {
+        case 0:
+            if (tmap == null) {
+                convert = convertToLOTOS();
+            } else {
+                convert = convertToLOTOSFromMapping();
+            }
+            break;
+        case 1:
+            convert = convertToUPPAAL();
+            break;
+        case 2:
+            convert = convertToSystemC();
+            break;
+        case 3:
+            convert = convertToSystemC2();
+            break;
+        case 4:
+            convert = convertToTML();
+            break;
+	    /*case 5:
+	      convert = convertToSystemC3();*/
+        }
+
+        if (!convert) {
+            System.out.println("Error during conversion");
+            return;
+        }
+
+        System.out.println("Conversion done");
+
+        /*if (!saveData()) {
+          return;
+          }*/
+
+        //System.out.println("Specification written in " + outputFile.getName() + ": " + outputData.length() + " bytes");
+
+    }
+
+} // Class TMLTranslator
diff --git a/src/tmltranslator/tomappingsystemc3/CheckpointInfo.java b/src/tmltranslator/tomappingsystemc3/CheckpointInfo.java
deleted file mode 100644
index 120e43604a..0000000000
--- a/src/tmltranslator/tomappingsystemc3/CheckpointInfo.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package tmltranslator.tomappingsystemc3;
-
-import java.util.*;
-import tmltranslator.*;
-
-public class CheckpointInfo{
-
-	public int[] _depChannels = null;
-	public int[] _ctrlFlowJoinDefs = null;
-	public int[] _killedDefs = null;
-	public int[] _varsOutOfScope = null;
-	public int[] _depSrcDef = null;
-	public int _reasonCode = 0;
-	private int _opMode = 0;
-
-	public final static int CHANNEL_DEP=1;
-	public final static int CTRL_FLOW_JOIN=2;
-	public final static int KILLED_DEF=4;
-	public final static int VAR_OUT_OF_SCOPE=8;
-	public final static int DEP_SRC=16;
-
-	public void setOperationMode(int iOpMode){
-		_opMode = iOpMode;
-	}
-
-	public void setDefinitions(int[] iDefs){
-		switch(_opMode){
-		case CTRL_FLOW_JOIN:
-			_ctrlFlowJoinDefs = iDefs; break;
-		case KILLED_DEF:
-			_killedDefs = iDefs; break;
-		default:
-		}
-	}
-
-	public void setVariableID(int iVarID, int iLength){
-		if(_opMode == VAR_OUT_OF_SCOPE){
-			_varsOutOfScope = new int[iLength];
-			_varsOutOfScope[iVarID >>> 5] |= 1 << (iVarID & 0x1F);
-		}
-	}
-
-	public void incorporate(CheckpointInfo i2ndPoint){
-		_depChannels = mergeArrays(_depChannels, i2ndPoint._depChannels);
-		_ctrlFlowJoinDefs = mergeArrays(_ctrlFlowJoinDefs, i2ndPoint._ctrlFlowJoinDefs);
-		_killedDefs = mergeArrays(_killedDefs, i2ndPoint._killedDefs);
-		_varsOutOfScope = mergeArrays(_varsOutOfScope, i2ndPoint._varsOutOfScope);
-		_depSrcDef = mergeArrays(_depSrcDef, i2ndPoint._depSrcDef);
-		_reasonCode |= i2ndPoint._reasonCode;
-	}
-
-	private int[] mergeArrays(int[] iArray1, int[] iArray2){
-		if (iArray1==null) return iArray2;
-		if (iArray2==null) return iArray1;
-		int[] aMergedArray = new int[iArray1.length];
-		for(int i=0; i< iArray1.length; i++)
-			aMergedArray[i] = iArray1[i] | iArray2[i];
-		return aMergedArray;
-	}
-}
diff --git a/src/tmltranslator/tomappingsystemc3/LiveVariableNode.java b/src/tmltranslator/tomappingsystemc3/LiveVariableNode.java
deleted file mode 100755
index 2d945f95ea..0000000000
--- a/src/tmltranslator/tomappingsystemc3/LiveVariableNode.java
+++ /dev/null
@@ -1,762 +0,0 @@
-package tmltranslator.tomappingsystemc3;
-
-import java.util.*;
-import tmltranslator.*;
-import javax.script.*;
-
-import myutil.*;
-
-public class LiveVariableNode{
-	private LinkedList<LiveVariableNode> _succList = new LinkedList<LiveVariableNode>(), _predList = new LinkedList<LiveVariableNode>();
-	private boolean _valid=false;
-	StaticAnalysis _analysis;
-	//** Live Variable Analysis
-	private int[] _useVars;
-	private int[] _defVars;
-	private int[] _initialDefVars;
-	private int[] _inVars;
-	private int[] _outVars;
-	//** Reachable Definition analysis
-	private int[] _killDefs;
-	private int[] _generateDefs;
-	private int[] _killCandidates;
-	private int[] _inDefs;
-	private int[] _outDefs;
-	//** others
-	private int _myDefID = -2;
-	private boolean _isConstant=false;
-	private boolean _constantStuckToFalse=false;
-	private boolean _infected=false;
-	//private int _checkpoint=0;
-	private CheckpointInfo _checkpoint=null;
-	private boolean _guard=false;
-	private TMLActivityElement _linkedElem = null;
-	private LiveVariableNode _superiorBranchNode = null;
-	//private int _exprValue = 0;
-	private String _exprValue = "";
-	private String _lhs = "";
-	private String _rhs = "";
-	private String _unrolledExpr = "";
-	private boolean _varDepSource = false;
-	private String _nodeInfo="";
-	
-
-	LiveVariableNode(StaticAnalysis iAnalysis, int[] iUseVars, int[] iDefVars, TMLActivityElement iLinkedElem, LiveVariableNode iSuperiorNode, boolean iConstantStuckToFalse, String iLhs, String iRhs){
-		this(iAnalysis, iUseVars, iDefVars, iLinkedElem, iSuperiorNode, iConstantStuckToFalse);
-		_lhs=iLhs;
-		_rhs= iRhs;
-		//TraceManager.addDev("lhs in init:*" + _lhs + "* rhs in init:*" + _rhs);
-	}
-	
-	LiveVariableNode(StaticAnalysis iAnalysis, int[] iUseVars, int[] iDefVars, TMLActivityElement iLinkedElem, LiveVariableNode iSuperiorNode, boolean iConstantStuckToFalse){
-		this(iAnalysis, iUseVars, iDefVars, iLinkedElem, iSuperiorNode);
-		_constantStuckToFalse=iConstantStuckToFalse;
-		
-	}
-
-	LiveVariableNode(StaticAnalysis iAnalysis, int[] iUseVars, int[] iDefVars, TMLActivityElement iLinkedElem, LiveVariableNode iSuperiorNode){
-		_useVars=iUseVars;
-		_defVars=iDefVars;
-		_initialDefVars = new int[_defVars.length];
-		for (int i=0; i<_defVars.length; i++)
-			_initialDefVars[i]=_defVars[i];
-		_superiorBranchNode = iSuperiorNode;
-		_linkedElem = iLinkedElem;
-		_analysis = iAnalysis;
-		//_succList = ;
-		//_predList = new LinkedList<LiveVariableNode>();
-	}
-	
-	public void liveVariableInit(){
-		boolean isADefinition=false;
-		_inVars = new int[_defVars.length];
-		_outVars = new int[_defVars.length];
-		for (int i=0; i<_defVars.length;i++){
-			//_defNegVars[i] =  ~_defVars[i];
-			//_inVars[i] = _useVars[i] & _defNegVars[i];
-			_inVars[i] = _useVars[i] & (~_defVars[i]);
-			isADefinition |= (_defVars[i]!=0);
-		}
-		if (isADefinition)
-			_myDefID = _analysis.getNextDefID();
-		else
-			_myDefID=-1;
-	}
-	
-	public int varStatistics(int[] ioStatistics){
-		if(_checkpoint!=null){	
-			for (int bytes=0; bytes < _outVars.length; bytes++){
-				for (int bits=0; bits<32;bits++){
-					//TraceManager.addDev("bytes: " + bytes + " stat index: " + (bytes << 5 |bits));
-					//if((_outVars[bytes] & (1 << bits))!=0)
-					if((_outVars[bytes] & (1 << bits))!=0 || (_useVars[bytes] & (1 << bits))!=0)
-					      ioStatistics[bytes << 5 |bits]++;
-				}
-			}
-			return 3;
-		}
-		return (_linkedElem!=null && (_linkedElem instanceof TMLReadChannel || _linkedElem instanceof TMLWriteChannel|| _linkedElem instanceof TMLSendEvent || _linkedElem instanceof TMLWaitEvent || _linkedElem instanceof TMLSendRequest))? 1:0;
-	}
-				
-	private boolean atLeast1DepDefForVars(int[] iConcernedVars, boolean iVarGoOutOfScope, int iMinNbOfDefs, CheckpointInfo iCheckInfo){
-		//following a command where a variable goes out of scope which is reached by at least two definitions, at least one of them being dependent
-		//following a command which kills more than one definition of a variable and at least one of these definitions is dependent
-		int[] aDefsForVar = new int[_analysis.getBytesForDefs()];
-		for (int bytes=0; bytes<iConcernedVars.length; bytes++){
-			for (int bits=0; bits<32;bits++){
-				if ((iConcernedVars[bytes] & (1<< bits))!=0 && (!iVarGoOutOfScope || (_outVars[bytes] & (1<< bits))==0)){
-					//for all variables which are used in this statement and go out of scope
-					//reached by dependent definition?
-					//find all definitions for var
-					for (int i=0; i<_analysis.getBytesForDefs();i++)
-						aDefsForVar[i] = _inDefs[i] & _analysis.getDefsForVar()[bytes << 5 |bits][i];
-					//if (defsInfected(aDefsForVar)<-1) return true;
-					//if (defsInfected(aDefsForVar)<0) return true; //NEW!!!!!!!!!
-					if (defsInfected(aDefsForVar) < 1 - iMinNbOfDefs){
-						  iCheckInfo.setDefinitions(aDefsForVar);
-						  iCheckInfo.setVariableID(bytes << 5 |bits, iConcernedVars.length);
-						  return true;
-					}
-				}
-			}
-		}
-		return false;
-	}
-	
-	private int isCheckpointCandidate(CheckpointInfo iCheckInfo){
-		//being dependent or having at least one dependent inverse operator in the task the communication is established with
-		int aReasonCode=0;
-		//if (_linkedElem!=null) TraceManager.addDev("--- " + _linkedElem.getID() + " start isCheckpointCandidate"); else
-		//TraceManager.addDev("--- start isCheckpointCandidate");
-		if(_linkedElem instanceof TMLReadChannel || _linkedElem instanceof TMLWriteChannel){
-			for (int i=0; i<((TMLActivityElementChannel)_linkedElem).getNbOfChannels(); i++){
-				TMLChannel aChannel = ((TMLActivityElementChannel)_linkedElem).getChannel(i);
-				//TraceManager.addDev("get Infected for channel " + aChannel.getName() + "=" + aChannel.getInfected());
-				//if (aChannel.getInfected()) aReasonCode = CheckpointInfo.CHANNEL_DEP;
-				if (_analysis.isChannelDep(aChannel.getID())) aReasonCode = CheckpointInfo.CHANNEL_DEP;
-			}
-		}else if(_linkedElem instanceof TMLSendEvent || _linkedElem instanceof TMLWaitEvent){
-			//if (((TMLActivityElementEvent)_linkedElem).getEvent().getInfected()) aReasonCode = CheckpointInfo.CHANNEL_DEP;
-			if (_analysis.isChannelDep(((TMLActivityElementEvent)_linkedElem).getEvent().getID())) aReasonCode = CheckpointInfo.CHANNEL_DEP;
-		}else if (_linkedElem instanceof TMLSendRequest){
-			//if (((TMLSendRequest)_linkedElem).getRequest().getInfected()) aReasonCode = CheckpointInfo.CHANNEL_DEP;
-			if (_analysis.isChannelDep(((TMLSendRequest)_linkedElem).getRequest().getID())) aReasonCode = CheckpointInfo.CHANNEL_DEP;
-		}
-		//consider receive event
-		if (_predList.size()>1){
-			//TraceManager.addDev("more than one pred found");
-			aReasonCode += CheckpointInfo.CTRL_FLOW_JOIN;
-		}
-		iCheckInfo.setOperationMode(CheckpointInfo.KILLED_DEF);
-		if (atLeast1DepDefForVars(_defVars, false, 1, iCheckInfo)){
-			//TraceManager.addDev(getStatementDescr() + "  kills dependent definitions!!!");
-			aReasonCode += CheckpointInfo.KILLED_DEF;
-		}
-		iCheckInfo.setOperationMode(CheckpointInfo.VAR_OUT_OF_SCOPE);
-		if (atLeast1DepDefForVars(_useVars, true, 1, iCheckInfo)){
-			//TraceManager.addDev(getStatementDescr()+ " variable went out of scope!!! ");
-			aReasonCode += CheckpointInfo.VAR_OUT_OF_SCOPE;
-		}
-		if(_varDepSource){
-			if (canBeRemoved())
-				_varDepSource=false;
-			else{
-				//_analysis.setLastVarDepSource(_generateDefs);
-				iCheckInfo._depSrcDef = _generateDefs;
-				//TraceManager.addDev("Stored defs: "); printDefList(_generateDefs);
-				aReasonCode += CheckpointInfo.DEP_SRC;
-			}
-		}
-		//TraceManager.addDev("--- end isCheckpointCandidate: " +  aReasonCode);
-		return aReasonCode;
-
-	}
-
-	//public static int evaluate(String string) throws IllegalArgumentException{
-	public String evaluate(String expression) throws IllegalArgumentException{
-		ScriptEngine engine = new ScriptEngineManager().getEngineByName("JavaScript");
-		try{
-			//Object object = engine.eval("eval("+string+")");
-			engine.eval(expression);
-			Object object = engine.get("xx_xx");
-			if (object != null){
-				String result="";
-				if(object instanceof Number){
-					result = Integer.toString(((Number)(object)).intValue());
-				}else if (object instanceof Boolean){
-					result = ((Boolean)(object)).toString();
-				}else{
-					throw new IllegalArgumentException("Input is neither Integer nor Boolean: '"+expression+"'");
-				}
-                		return result;
-			}else{
-				throw new IllegalArgumentException("Invalid expression: '"+expression+"'");
-			}
-		}catch (ScriptException e){
-			throw new IllegalArgumentException("Invalid input: '"+expression+"'", e);
-		}
-	}
-	
-	public void prepareReachingDefinitions(){
-		invalidate();
-		_generateDefs = new int[_analysis.getBytesForDefs()];
-		_killDefs= new int[_analysis.getBytesForDefs()];
-		_killCandidates = new int[_analysis.getBytesForDefs()];
-		_inDefs = new int[_analysis.getBytesForDefs()];
-		_outDefs = new int[_analysis.getBytesForDefs()];
-		//TraceManager.addDev("<> varToStatements asso: " + getStatementDescr());
-		if (_myDefID!=-1){
-		//if (_myDefID!=-1 && !canBeRemoved()){  //NEW!!!!!!!!!!!
-			for (int bytes=0; bytes<_defVars.length;bytes++){
-				for (int bits=0; bits<32;bits++){
-					//if ((_defVars[bytes] & (1 << bits))!=0){
-					//only consider live variables= defined + significant
-					if ((_defVars[bytes] & (1 << bits))!=0){ //NEW!!!!!!!!!!
-						  if((_outVars[bytes] & (1 << bits))==0){
-							_defVars[bytes] ^= (1 << bits);
-							//TraceManager.addDev("del");
-						  }else
-							_analysis.getDefsForVar()[(bytes << 5)|bits][_myDefID >>> 5] |= 1 << (_myDefID & 0x1F);
-						//TraceManager.addDev("var found:" + ((bytes << 5)|bits));
-					}
-				}
-			}
-			if (!canBeRemoved()){
-				_generateDefs[_myDefID >>> 5] =  1 << (_myDefID & 0x1F);
-				_analysis.getDefLookUp()[_myDefID]=this;
-			}
-		}
-		//TraceManager.addDev("<> END varToStatements asso: " + getStatementDescr());
-	}
-
-	public void printKillEntries(){
-		//TraceManager.addDev("++++++++++ Kill definitions list ++++++++++");
-		System.out.print(getStatementDescr() + "  kills definitions: " + printDefList(_killDefs));
-		TraceManager.addDev("");
-	}
-
-	public void printReachingEntries(){
-		//TraceManager.addDev("++++++++++ Reaching definitions list ++++++++++");
-		//if(_linkedElem!=null && (_linkedElem instanceof TMLReadChannel || _linkedElem instanceof TMLWriteChannel|| _linkedElem instanceof TMLSendEvent || _linkedElem instanceof TMLWaitEvent || _linkedElem instanceof TMLSendRequest)){
-		System.out.print(getStatementDescr());
-		/*printDefList(_inVars);
-		System.out.print("  outvars: ");
-		printDefList(_outVars);
-		System.out.print("  defVars: ");
-		printDefList(_defVars);
-		System.out.print("  useVars: ");
-		printDefList(_useVars);*/
-		//+ "  reached by definitions: ");
-		//printDefList(_inDefs);
-		TraceManager.addDev("");
-		//}
-	}
-
-	private String printDefList(int[] iList){
-		String aResult="";
-		for (int bytes=0; bytes<iList.length; bytes++){
-			for (int bits=0; bits<32;bits++){
-				if ((iList[bytes]& (1 << bits))!=0) aResult += ((bytes << 5)|bits) + ", "; 
-			}
-		}
-		return aResult;
-	}
-	
-	private String printDefCmdIDs(int[] iList){
-		String aResult="";
-		if (iList!=null){
-			for (int bytes=0; bytes<iList.length; bytes++){
-				for (int bits=0; bits<32;bits++){
-					if ((iList[bytes] & (1 << bits))!=0){
-						TMLActivityElement anElem = _analysis.getDefLookUp()[(bytes << 5)|bits]._linkedElem;
-						aResult += _analysis.getDefLookUp()[(bytes << 5)|bits].getNodeInfo();
-						if (anElem!=null) aResult += "(" + anElem.getID() + "),"; else aResult += ",";
-					}
-				}
-			}
-		}
-		return aResult;
-	}
-
-	private boolean allDefsConstantAndEqual(int[] iDefinitions){
-		boolean aIsConst=true, aFirstTime=true, aDefFound=false;
-		//int aLastExprVal=0;
-		String aLastExprVal="";  
-		//TraceManager.addDev("******* allDefsConstantAndEqual");
-		for (int bytes=0; bytes<iDefinitions.length && aIsConst; bytes++){
-			for (int bits=0; bits<32 && aIsConst; bits++){
-				int anIndex = (bytes << 5)|bits;
-				if ((iDefinitions[bytes] & (1<< bits))!=0){ //what if there are no definitions????
-					aDefFound=true;
-					if (_analysis.getDefLookUp()[anIndex].isConstant()){
-						//TraceManager.addDev(_analysis.getDefLookUp()[anIndex].getStatementDescr() + " said to be constant");
-						//if (aFirstTime || _analysis.getDefLookUp()[anIndex].getExpressionValue() == aLastExprVal){
-						if (aFirstTime || _analysis.getDefLookUp()[anIndex].getExpressionValue().equals(aLastExprVal)){
-							aLastExprVal = _analysis.getDefLookUp()[anIndex].getExpressionValue();
-							_unrolledExpr+= _analysis.getDefLookUp()[anIndex].getExpressionString() + ";";
-							aFirstTime=false;
-						}else
-							aIsConst=false;
-					}else{
-						//TraceManager.addDev(_analysis.getDefLookUp()[anIndex].getStatementDescr() + " said to be NOT constant");
-						aIsConst=false;
-					}
-				}//else
-					//if (_analysis.getDefLookUp()[anIndex]!=null) TraceManager.addDev(_analysis.getDefLookUp()[anIndex].getStatementDescr() + " not concerned"); 
-			}
-		}
-		//if (aIsConst)
-		//TraceManager.addDev(aIsConst + " lhs:" + _lhs + " rhs:" + _rhs);
-		return (aIsConst && aDefFound);
-	}
-
-	public int determineIfConstant(){
-		//not constant: random, notified event, receive event, select event
-		//if (_linkedElem!=null && (_linkedElem instanceof TMLRandom || _linkedElem instanceof TMLWaitEvent || _linkedElem instanceof TMLNotifiedEvent || _linkedElem instanceof TMLSelectEvt)) return false;
-		if (_isConstant) return 0;
-		_valid=false;
-		//boolean aIsConst=true;
-		int aResult=0;
-		if (!_constantStuckToFalse){
-			int[] aReachingDefForVar= new int[_analysis.getBytesForDefs()];
-			aResult=2;
-		//TraceManager.addDev("!!!!Checking if  " + getStatementDescr() + " is constant");
-			for (int bytes=0; bytes<_useVars.length; bytes++){
-				for (int bits=0; bits<32;bits++){
-					if ((_useVars[bytes] & (1<< bits))!=0){
-						//TraceManager.addDev("var " + ((bytes << 5)|bits) + " is used  usevars:" + _useVars[bytes]);
-						//TraceManager.addDev("Reached by definitions: ");
-						//printDefList(_inDefs);
-						for (int i=0; i<_analysis.getBytesForDefs();i++){
-							aReachingDefForVar[i] = _analysis.getDefsForVar()[(bytes << 5)|bits][i] & _inDefs[i];
-						}
-						//aIsConst &= allDefsConstant(aReachingDefForVar);
-						if(allDefsConstantAndEqual(aReachingDefForVar)){
-							//toggle bit no [bits] = set it to zero as it is one
-							_useVars[bytes]^= (1<< bits);
-							//TraceManager.addDev("*** " + getStatementDescr() + "toggle bit " + ((bytes << 5)|bits) + "***");
-							//_inVars[bytes] = _useVars[bytes] & _defNegVars[bytes];
-							//_inVars[bytes] = _useVars[bytes] & (~_defVars[bytes]);  NEW!!!!!!!
-							aResult |= 1;   //set bit 2^0
-						}else{
-							//TraceManager.addDev("not all defs constant for variable " + ((bytes << 5)|bits));
-							//aIsConst=false;
-							aResult &= 1;  //del bit 2^1
-						}
-					}
-				}
-			}
-			_isConstant = ((aResult & 2)!=0);
-			if (_isConstant && !(_lhs==null ||_lhs.isEmpty())){
-				_unrolledExpr+= "xx_xx=" + _rhs + ";";
-				//try{
-					_exprValue = evaluate(_unrolledExpr);
-					//TraceManager.addDev("Expr: *" + _unrolledExpr + "* evaluated to: " + _exprValue);
-				//}catch(IllegalArgumentException e){
-					//TraceManager.addDev("At lest one variable of the expression remains undefined: " + _rhs);
-				//}
-			}
-		}
-		//boolean aChangeInResult = (_constantStuckToFalse)? false : aIsConst!= _isConstant;
-		//boolean aChangeInResult = (_constantStuckToFalse)? false : aIsConst;
-		//_isConstant = aIsConst;
-		//return aChangeInResult;
-		return aResult;
-		//}
-	}
-
-	public boolean isConstant(){
-		return (_constantStuckToFalse)? false: _isConstant;
-	}
-	
-	public boolean isInfected(){
-		return _infected;
-	}
-	
-	public String getExpressionString(){
-		return _lhs + "=" + _exprValue;
-	}
-	
-	//public int getExpressionValue(){
-	public String getExpressionValue(){
-		return _exprValue;
-	}
-
-	public int[] getKillCandidates(){
-		return _killCandidates;
-	}
-	
-	public void setInfected(boolean iInfected){
-		_infected = iInfected;
-	}
-
-	public void setVarDepSource(boolean iVarDepSource){
-		_infected = iVarDepSource;
-		_varDepSource = iVarDepSource;
-	}
-	
-	public String getNodeInfo(){
-		return _nodeInfo;
-	}
-	
-	public void setNodeInfo(String iInfo){
-		_nodeInfo=iInfo;
-	}
-
-	public boolean determineKilledSets(){
-		boolean aChange=false;
-		int [] aKillOut = new int[_analysis.getBytesForDefs()];
-		int [] aKillIn = new int[_analysis.getBytesForDefs()];
-		if (!_valid){
-			_valid=true;
-			//TraceManager.addDev("determineKilledSets for " + getStatementDescr() ); 
-			for(LiveVariableNode aPred: _predList) {
-				int[] aKillCandidatesPred = aPred.getKillCandidates();
-				for (int i=0; i<_analysis.getBytesForDefs();i++){
-					aKillOut[i] |= aKillCandidatesPred[i];
-					aKillIn[i] |= aKillCandidatesPred[i];
-				}
-			}
-			//TraceManager.addDev( "aLocalKillCandidates[0] " + aLocalKillCandidates[0]); 
-			//TraceManager.addDev( "killDefs[0] before" + _killDefs[0]); 
-			if (_myDefID!=-1){
-				//TraceManager.addDev("Statement " + _myDefID + " (" + getStatementDescr() + ") defines: " + _generateDefs[0] + " could kill input: " + aLocalKillCandidates[0]);
-				for (int bytes=0; bytes<_defVars.length; bytes++){
-					for (int bits=0; bits<32;bits++){
-						if ((_defVars[bytes] & (1<< bits))!=0){   //for all variables which are defined in this statement
-							for (int i=0; i<_analysis.getBytesForDefs();i++){
-								//killDefs = definitions representing kill candidates in program flow & all statements affecting the current variable targeted in this definition
-								//all kill candidates -> for a specific variable -> variable determined by defVars  
-								//_killDefs[i] |= (aLocalKillCandidates[i] & _varToStatements[(bytes << 5)|bits][i]);
-								_killDefs[i] |= (aKillIn[i] & _analysis.getDefsForVar()[(bytes << 5)|bits][i]);
-								//TraceManager.addDev( "killDefs[i] " + _killDefs[i] + " i" + i); 
-								//int oldCandidates = aLocalKillCandidates[i];
-								//delete all kill candidates for the variable yielded by that definition
-								//aLocalKillCandidates[i] &= ~ _varToStatements[(bytes << 5)|bits][i];
-								aKillOut[i] &= ~ _analysis.getDefsForVar()[(bytes << 5)|bits][i];
-								//add this definition as killer for the variable
-								//aLocalKillCandidates[i] |= _generateDefs[i];
-								aKillOut[i] |= _generateDefs[i];
-								//aChange |= (oldCandidates!=aLocalKillCandidates[i]);
-							}
-						}
-					}
-				}
-			}
-			//TraceManager.addDev( "killDefs[0] " + _killDefs[0]); 
-			for (int i=0; i<_analysis.getBytesForDefs();i++){
-				//aChange |= (_killCandidates[i]!=aLocalKillCandidates[i]);
-				aChange |= (_killCandidates[i]!=aKillOut[i]);
-				//_killCandidates[i]=aLocalKillCandidates[i];
-				_killCandidates[i]=aKillOut[i];
-			}
-			if (aChange){
-				for(LiveVariableNode aSucc: _succList) aSucc.invalidate();
-			}
-		}
-		return aChange;
-	}
-	
-	public String getStatementDescr(){
-		//String aName = "| Live ID: " + _myDefID + " | ";
-		String aName = "| ";
-		if (_linkedElem==null)
-				aName += "cmd type: unknown | cmd ID: unknown";
-		else
-			aName += "cmd type: " + _linkedElem.getName() + " | cmd ID: " + _linkedElem.getID();
-		aName+= " | infected: " + _infected;
-		if (!(_lhs==null || _rhs==null || _lhs.isEmpty() || _rhs.isEmpty()))
-			aName += " | action: " + _lhs + "=" + _rhs;
-		aName += " | const: ";
-		if (_isConstant){
-			if (_lhs==null || _lhs.isEmpty())
-				aName+= "yes";
-			else
-				aName+= _exprValue;
-		}else 
-			aName += "no"; 
-		aName += " | to be removed: " + canBeRemoved() + " | checkp:";
-		if (_checkpoint==null)
-			aName += "0";
-		else{
-			if ((_checkpoint._reasonCode & CheckpointInfo.CHANNEL_DEP)!=0) aName += " CH_DEP";
-			if ((_checkpoint._reasonCode & CheckpointInfo.CTRL_FLOW_JOIN)!=0) aName += " CTRL(" + printDefCmdIDs(_checkpoint._ctrlFlowJoinDefs) + ")";
-			if ((_checkpoint._reasonCode & CheckpointInfo.KILLED_DEF)!=0) aName += " KILL(" + printDefCmdIDs(_checkpoint._killedDefs) + ")";
-			if ((_checkpoint._reasonCode & CheckpointInfo.VAR_OUT_OF_SCOPE)!=0) aName += " VAR_SCP(" + _analysis.printVariables(_checkpoint._varsOutOfScope) + ")";
-			if ((_checkpoint._reasonCode & CheckpointInfo.DEP_SRC)!=0) aName += " SRC(" + printDefCmdIDs(_checkpoint._depSrcDef) + ")";
-		}
-		aName += " | ";
-		return aName;
-	}
-
-	public void invalidate(){
-		_valid=false;
-	}
-	
-	private boolean chOfCmdAllNBRNBW(TMLActivityElementChannel iElem){
-		for (int i=0; i<iElem.getNbOfChannels(); i++)
-			if (iElem.getChannel(i).getType()!=TMLChannel.NBRNBW) return false;
-		return true;
-	}
-	
-	//public void determineCheckpoints(int iPropagate, CheckpointInfo iCheckInfo){
-	public void determineCheckpoints(CheckpointInfo iCheckInfo){
-		if (!_guard){
-			//if (_checkpoint==0){
-			if (_checkpoint==null){
-				//int aCandidate = iCheckInfo.__reasonCode | isCheckpointCandidate(iCheckInfo);
-				iCheckInfo._reasonCode |= isCheckpointCandidate(iCheckInfo);
-				//if (_linkedElem!=null) TraceManager.addDev(_linkedElem.getID() + "  aCandidate: " + aCandidate);
-				iCheckInfo.setOperationMode(CheckpointInfo.CTRL_FLOW_JOIN);
-				//if ((aCandidate & CheckpointInfo.CTRL_FLOW_JOIN)!=0 && !atLeast1DepDefForVars(_inVars, false, 2, iCheckInfo)){
-				if ((iCheckInfo._reasonCode & CheckpointInfo.CTRL_FLOW_JOIN)!=0 && !atLeast1DepDefForVars(_inVars, false, 2, iCheckInfo)){
-					//aCandidate ^= CheckpointInfo.CTRL_FLOW_JOIN;
-					iCheckInfo._reasonCode ^= CheckpointInfo.CTRL_FLOW_JOIN;
-					//TraceManager.addDev("aCandidate reset control flow join");
-				}
-				//if ((aCandidate & CheckpointInfo.DEP_SRC)!=0){
-				if ((iCheckInfo._reasonCode & CheckpointInfo.DEP_SRC)!=0){
-					boolean aDefReachable=false;
-					for (int i=0; i<_analysis.getBytesForDefs() && !aDefReachable; i++)
-						//aDefReachable |= ((_analysis.getLastVarDepSource()[i] & _outDefs[i]) !=0);
-						aDefReachable |= ((iCheckInfo._depSrcDef[i] & _outDefs[i]) !=0);
-					if (!aDefReachable){
-						//aCandidate ^= CheckpointInfo.DEP_SRC;
-						iCheckInfo._reasonCode ^= CheckpointInfo.DEP_SRC;
-						/*TraceManager.addDev("aCandidate reset dep src");
-						TraceManager.addDev("comp1 in defs: "); printDefList(_outDefs);
-						TraceManager.addDev("comp2 stored defs: "); printDefList(_analysis.getLastVarDepSource());*/
-					}
-				}
-				//if(aCandidate>0){
-				if(iCheckInfo._reasonCode > 0){
-					if(((_linkedElem instanceof TMLReadChannel || _linkedElem instanceof TMLWriteChannel) && !chOfCmdAllNBRNBW((TMLActivityElementChannel)_linkedElem)) || _linkedElem instanceof TMLSendEvent || _linkedElem instanceof TMLWaitEvent || _linkedElem instanceof TMLSendRequest){
-						//_checkpoint=aCandidate;
-						_checkpoint = iCheckInfo;
-					}else{
-						_guard=true;
-						for(LiveVariableNode aSucc: _succList)
-							aSucc.determineCheckpoints(iCheckInfo);
-						_guard = false;
-					}
-				}
-			}else
-				//_checkpoint |= iPropagate;
-				_checkpoint.incorporate(iCheckInfo);
-		}
-	}
-
-	public void reachingDefinitionsInit(){
-		invalidate();
-		for (int i=0; i<_analysis.getBytesForDefs();i++){
-			_outDefs[i] = _generateDefs[i] & (~_killDefs[i]);
-		}
-		//TraceManager.addDev("out Defs " + getStatementDescr() + " " + _outDefs[0] + " generate Defs: " + _generateDefs[0] + " kill Defs: " + _killDefs[0]);
-	}
-
-	public boolean reachingDefinitionAnalysis(){
-		boolean aSuccInvalidated=false;
-		if (!_valid){
-			_valid=true;
-			for(LiveVariableNode aPred: _predList) {
-				int[] aPredOutDefs = aPred.getOutDefs();
-				for (int i=0; i<_analysis.getBytesForDefs();i++){
-					_inDefs[i] |= aPredOutDefs[i];
-					int aOutDefsOld=_outDefs[i];
-					_outDefs[i] = _generateDefs[i] | _inDefs[i] & (~_killDefs[i]);
-					if (aOutDefsOld!=_outDefs[i]) aSuccInvalidated=true; 
-				} 
-			}
-			if(aSuccInvalidated){
-				for(LiveVariableNode aSucc: _succList)
-					aSucc.invalidate();
-			}
-		}
-		return aSuccInvalidated;
-	}
-
-	public boolean liveVariableAnalysis(){
-		boolean aPredInvalidated=false;
-		if (!_valid){
-			_valid=true;
-			/*if (_linkedElem==null)
-				System.out.print("recalculate waitRequest invalidate: ");
-			else 
-				System.out.print("recalculate " + _linkedElem.getName() + " " + _linkedElem.getID() + "invalidate: ");*/
-			for(LiveVariableNode aSucc: _succList) {
-				int[] aSuccInVars = aSucc.getInVars();
-				for (int i=0; i<aSuccInVars.length;i++){
-					_outVars[i] |= aSuccInVars[i];
-					int aInVarsOld=_inVars[i];
-					//_inVars[i] = _useVars[i] | _outVars[i] & _defNegVars[i];
-					_inVars[i] = _useVars[i] | _outVars[i] & (~_defVars[i]);
-					if (aInVarsOld!=_inVars[i]) aPredInvalidated=true; 
-				} 
-			}
-			if(aPredInvalidated){
-				for(LiveVariableNode aPred: _predList){
-					aPred.invalidate();
-					/*if (aPred.getLinkedElement()==null)
-						System.out.print("waitRequest, ");
-					else
-						System.out.print(aPred.getLinkedElement().getID() + ", ");*/
-				}
-			}
-			//TraceManager.addDev();
-		}
-		return aPredInvalidated;
-	}
-	
-	public boolean infectionAnalysis(){
-		//if (_linkedElem!=null) TraceManager.addDev("Infection Analysis: "+  _linkedElem.getID());
-		if (_infected){
-			//TraceManager.addDev("cancelled");
-			return false;
-		}else{
-			if (_superiorBranchNode!=null && _superiorBranchNode.isInfected()){
-				//control dependency
-				_infected=true;
-			}else{
-				//data dependency
-				int[] aRelevantDefs = new int[_analysis.getBytesForDefs()];
-				for (int bytes=0; bytes<_useVars.length; bytes++){
-					for (int bits=0; bits<32;bits++){
-						if ((_useVars[bytes] & (1<< bits))!=0){   //for all variables which are used in this statement
-							for (int i=0; i<_analysis.getBytesForDefs();i++){
-								 aRelevantDefs[i] |=_inDefs[i] & _analysis.getDefsForVar()[(bytes << 5)|bits][i];
-							}						
-						}
-					}
-				}
-				_infected |= (defsInfected(aRelevantDefs)<0);
-			}
-		}
-		//synchronization dependency
-		if (_infected && _linkedElem!=null){
-			//TraceManager.addDev("in if 1");
-			if(_linkedElem instanceof TMLReadChannel || _linkedElem instanceof TMLWriteChannel){
-				//TraceManager.addDev("in if 2");
-				for (int i=0; i<((TMLActivityElementChannel)_linkedElem).getNbOfChannels(); i++){
-					//TraceManager.addDev("in loop");
-					TMLChannel aChannel = ((TMLActivityElementChannel)_linkedElem).getChannel(i);
-					//TraceManager.addDev("Set Infected for channel " + aChannel.getName());
-					//if (aChannel.getType()!=TMLChannel.NBRNBW) aChannel.setInfected(true);
-					if (aChannel.getType()!=TMLChannel.NBRNBW) _analysis.addDepChannel(aChannel.getID());
-				}
-			}else if(_linkedElem instanceof TMLSendEvent || _linkedElem instanceof TMLWaitEvent){
-				//((TMLActivityElementEvent)_linkedElem).getEvent().setInfected(true);
-				_analysis.addDepChannel(((TMLActivityElementEvent)_linkedElem).getEvent().getID());
-			}else if (_linkedElem instanceof TMLSendRequest){
-				//((TMLSendRequest)_linkedElem).getRequest().setInfected(true);
-				_analysis.addDepChannel(((TMLSendRequest)_linkedElem).getRequest().getID());
-			}
-		}
-		return _infected;
-	}
-	
-	private int defsInfected(int[] iDefs){
-		boolean aInfected=false;
-		int aNbOfDefs=0;
-		for (int bytes=0; bytes<iDefs.length; bytes++){
-			for (int bits=0; bits<32;bits++){
-				if ((iDefs[bytes] & (1<< bits))!=0){ 
-					aNbOfDefs++;
-					aInfected |= _analysis.getDefLookUp()[(bytes << 5)|bits].isInfected();
-				}
-			}
-		}
-		return (aInfected)? -aNbOfDefs : aNbOfDefs;
-	}
-	
-
-	public TMLActivityElement getLinkedElement(){
-		return _linkedElem;
-	}
-
-	public boolean isEmptyNode(){
-		return false;
-		/*if (_succList.size()>1) return false;
-		for (int i=0; i<_defVars.length;i++)
-			if (_defVars[i]!=0) return false;
-		for (int i=0; i<_useVars.length;i++)
-			if (_useVars[i]!=0) return false;
-		return true;*/
-	}
-
-	public void setSuccessor(LiveVariableNode iSucc){
-		if(iSucc!=null){
-			_succList.add(iSucc);
-			iSucc.setPredecessor(this);
-		}
-	}
-
-	private void setPredecessor(LiveVariableNode iPred){
-		_predList.add(iPred);
-		//if (_linkedElem!=null) TraceManager.addDev(_linkedElem.getID() + " adds pred " + iPred._myDefID);
-	}
-
-	public int[] getInVars(){
-		return _inVars;
-	}
-
-	public int[] getOutVars(){
-		return _outVars;
-	}
-	
-	public int[] getInDefs(){
-		return _inDefs;
-	}
-
-	public int[] getOutDefs(){
-		return _outDefs;
-	}
-
-	public int[] getInitialDefVars(){
-		return _initialDefVars;
-	}
-
-	private boolean canBeRemoved(){
-		//if ((_lhs==null || _lhs.isEmpty()) && (_rhs==null || _rhs.isEmpty()) && !(_linkedElem==null || _linkedElem instanceof TMLNotifiedEvent || _linkedElem instanceof TMLRandom)) return false;
-		for (int i=0; i<_defVars.length;i++){
-			if ((_defVars[i] & _outVars[i]) !=0) return false;
-		}
-		return true;
-	}
-
-	public String getLiveVariableString(){
-		/*System.out.print("Numbers: ");
-		for (int aPos=0; aPos<_outVars.length; aPos++){
-			System.out.print(Integer.toHexString(_outVars[aPos]) + ", ");
-		}
-		TraceManager.addDev();*/
-		return intArrayToHexString(_outVars);
-	}
-	
-	public String getStartLiveVariableString(){
-		return intArrayToHexString(_inVars);
-	}
-
-	public String getStateModificationString(){
-		return intArrayToHexString(_defVars);
-	}
-
-	private String intArrayToHexString(int[] iArray){
-		String aResult = "\"";
-		//\\x" + Integer.toHexString(iArray.length); 	
-		for (int aPos=0; aPos<iArray.length; aPos++){
-			int anItem = iArray[aPos];
-			for (int bytes=0; bytes<4; bytes++){
-			//for (int bits=0; bits<32; bits+=8)
-				aResult+= "\\x" + Integer.toHexString(anItem & 0xFF);
-				anItem >>>= 8;
-			}
-		}
-		aResult+="\"";
-		//TraceManager.addDev("String: " + aResult);
-		return aResult;
-	}
-	
-	public boolean isCheckpoint(){
-		return (_checkpoint!=null);
-	}
-}
diff --git a/src/tmltranslator/tomappingsystemc3/MappedSystemCTask.java b/src/tmltranslator/tomappingsystemc3/MappedSystemCTask.java
deleted file mode 100755
index 6356f3bbff..0000000000
--- a/src/tmltranslator/tomappingsystemc3/MappedSystemCTask.java
+++ /dev/null
@@ -1,985 +0,0 @@
-/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
- *
- * ludovic.apvrille AT telecom-paristech.fr
- * andrea.enrici AT telecom-paristech.fr
- *
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- *
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- *
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- *
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- *
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- *
- * /**
- * Class MappedSystemCTask
- * Creation: 30/05/2014
- * @version 1.0 30/05/2014
- * @author Andrea Enrici, Daniel Knorreck
- * @see
- */
-
-package tmltranslator.tomappingsystemc3;
-
-import java.util.*;
-import tmltranslator.*;
-import myutil.*;
-
-
-public class MappedSystemCTask {
-	//private TMLModeling tmlm;
-	private TMLTask task;
- 	private String reference, cppcode, hcode, initCommand, functions, functionSig, chaining, firstCommand, commentText;
-	private ArrayList<TMLChannel> channels;
-	private ArrayList<TMLEvent> events;
-	private ArrayList<TMLRequest> requests;
-	private TMLMapping tmlmapping;
-	private int commentNum;
-	private boolean debug;
-	private boolean optimize;
-	private StaticAnalysis _analysis;
-	private LiveVariableNode _startAnaNode=null;
-	
-	private final static String DOTH = ".h";
-	private final static String DOTCPP = ".cpp";
-	private final static String SYSTEM_INCLUDE = "#include \"systemc.h\"";
-	private final static String CR = "\n";
-	private final static String CR2 = "\n\n";
-	private final static String SCCR = ";\n";
-	private final static String EFCR = "}\n";
-	private final static String EFCR2 = "}\n\n";
-	private final static String EF = "}";
-	
-	
-	public MappedSystemCTask(TMLTask _task, ArrayList<TMLChannel> _channels, ArrayList<TMLEvent> _events, ArrayList<TMLRequest> _requests, TMLMapping _tmlmapping, Set<Integer> _depChannels) {
-        	task = _task;
-		channels = _channels;
-		events = _events;
-		requests = _requests;
-		tmlmapping=_tmlmapping;
-        	reference = task.getName();
-		cppcode = "";
-		hcode = "";
-		initCommand="";
-		functions="";
-		chaining="";
-		firstCommand="";
-		functionSig="";
-		commentText="";
-		commentNum=0;
-		optimize=false;
-		
-		//for(TMLAttribute att: task.getAttributes()) {
-		//	 TraceManager.addDev ("************ Attribute: " + att.name);
-		//}	
-		
-		_analysis = new StaticAnalysis(_task, _channels, _events, _requests, _depChannels);
-		_startAnaNode = _analysis.startAnalysis();
-    	}
-	
-	public void saveInFiles(String path) throws FileException {	
-		FileUtils.saveFile(path + reference + DOTH, getHCode());
-		FileUtils.saveFile(path + reference + DOTCPP, getCPPCode());
-	}
-	
-	public TMLTask getTMLTask() {
-		return task;
-	}
-    
-	public void generateSystemC(boolean _debug, boolean _optimize) {
-		//_startAnaNode = _analysis.startAnalysis();
-		//_analysis.determineCheckpoints(aStatistics); //NEW
-        	debug = _debug;
-		optimize=_optimize;
-		basicCPPCode();
-		makeClassCode();
-    	}
-	
-	public void print() {
-		TraceManager.addDev("task: " + reference + DOTH + hcode);
-		TraceManager.addDev("task: " + reference + DOTCPP + cppcode);
-	}
-	
-	
-	public String getCPPCode() {
-		return cppcode;
-	}
-	
-	public String getHCode() {
-		return hcode;
-	}
-	
-	public String getReference() {
-		return reference;
-	}
-	
-	// H-Code
-	private String basicHCode() {
-		String code="";
-		code += "#ifndef " + reference.toUpperCase() + "__H" + CR;
-		code += "#define " + reference.toUpperCase() + "__H" + CR2;
-		code += "#include <TMLTask.h>\n#include <definitions.h>\n\n";
-		code += "#include <TMLbrbwChannel.h>\n#include <TMLbrnbwChannel.h>\n#include <TMLnbrnbwChannel.h>\n\n";
-		code += "#include <TMLEventBChannel.h>\n#include <TMLEventFChannel.h>\n#include <TMLEventFBChannel.h>\n\n";
-		code += "#include <TMLActionCommand.h>\n#include <TMLChoiceCommand.h>\n#include <TMLRandomChoiceCommand.h>\n#include <TMLExeciCommand.h>\n";
-		code += "#include <TMLSelectCommand.h>\n#include <TMLReadCommand.h>\n#include <TMLNotifiedCommand.h>\n#include<TMLExeciRangeCommand.h>\n";
-		code += "#include <TMLRequestCommand.h>\n#include <TMLSendCommand.h>\n#include <TMLWaitCommand.h>\n";
-		code += "#include <TMLWriteCommand.h>\n#include <TMLStopCommand.h>\n#include<TMLWriteMultCommand.h>\n#include <TMLRandomCommand.h>\n\n";
-		code += "extern \"C\" bool condFunc(TMLTask* _ioTask_);\n";
-		return code;
-	}
-	
-	private void classHCode() {
-	}
-	
-	// CPP Code
-	private void basicCPPCode() {
-		cppcode += "#include <" + reference + DOTH + ">" + CR2;
-	}
-	
-	private void makeClassCode(){
-		makeHeaderClassH();
-		makeEndClassH();
-		
-		cppcode+=reference+ "::" + makeConstructorSignature()+":TMLTask(iID, iPriority,iName,iCPUs,iNumOfCPUs)"+ CR + makeAttributesCode();
-		cppcode+=initCommand + CR + "{" + CR; 
-		if (commentNum!=0) cppcode+= "_comment = new std::string[" + commentNum + "]" + SCCR + commentText + CR;
-		cppcode+= "//generate task variable look-up table"+ CR;
-		for(TMLAttribute att: task.getAttributes()) {
-			//att = (TMLAttribute)(iterator.next());
-			//code += TMLType.getStringType(att.type.getType()) + " " + att.name;
-			cppcode += "_varLookUpName[\"" + att.name + "\"]=&" + att.name +SCCR;
-			cppcode += "_varLookUpID[" + att.getID() + "]=&" + att.name +SCCR;
-		}		
-		cppcode += "_varLookUpName[\"rnd__0\"]=&rnd__0" + SCCR + CR;
-		cppcode+= "//set blocked read task/set blocked write task"+ CR;
-		for(TMLChannel ch: channels) {
-			if (ch.getOriginTask()==task)
-				cppcode+=ch.getExtendedName() + "->setBlockedWriteTask(this)"+SCCR;
-			else
-				cppcode+=ch.getExtendedName() + "->setBlockedReadTask(this)"+SCCR;
-		}
-		for(TMLEvent evt: events) {
-			if (evt.getOriginTask()==task)
-				cppcode+=evt.getExtendedName() + "->setBlockedWriteTask(this)"+SCCR;
-			else
-				cppcode+=evt.getExtendedName() + "->setBlockedReadTask(this)"+SCCR;
-		}
-		if (task.isRequested()) cppcode+="requestChannel->setBlockedReadTask(this)" +SCCR;
-		for(TMLRequest req: requests) {
-			if (req.isAnOriginTask(task)) cppcode+=req.getExtendedName() + "->setBlockedWriteTask(this)" +SCCR;
-		}
-		cppcode+=CR + "//command chaining"+ CR;
-		cppcode+= chaining + "_currCommand=" + firstCommand + SCCR + "_firstCommand=" + firstCommand +SCCR + CR; 
-		int aSeq=0;
-		for(TMLChannel ch: channels) {
-			cppcode+= "_channels[" + aSeq + "] = " + ch.getExtendedName() + SCCR;
-			 aSeq++;
-		}
-		for(TMLEvent evt: events) {
-			cppcode+= "_channels[" + aSeq + "] = " + evt.getExtendedName() + SCCR;
-			aSeq++;
-		}
-		if (task.isRequested()){
-			cppcode+= "_channels[" + aSeq + "] = requestChannel" + SCCR;
-		}
-		TMLActivityElement currElem=task.getActivityDiagram().getFirst();
-		LiveVariableNode currNode;
-		do{
-			currNode = _analysis.getLiveVarNodeByCommand(currElem);
-			currElem = currElem.getNextElement(0);
-		}while (currNode==null && currElem!=null);
-		if (currNode!=null) cppcode+= "refreshStateHash(" + currNode.getStartLiveVariableString() + ")" +SCCR;
-		cppcode+="}"+ CR2 + functions; // + makeDestructor();
-		hcode = Conversion.indentString(hcode, 4);
-		cppcode = Conversion.indentString(cppcode, 4);
-	}
-	
-	private String makeDestructor(){
-		String dest=reference + "::~" + reference + "(){" + CR;
-		if (commentNum!=0) dest+="delete[] _comment" + SCCR;
-		return dest+"}"+CR;
-	}
-
-	private String makeConstructorSignature(){
-		String constSig=reference+ "(ID iID, Priority iPriority, std::string iName, CPU** iCPUs, unsigned int iNumOfCPUs"+CR;
-		for(TMLChannel ch: channels) {
-			constSig+=", TMLChannel* "+ ch.getExtendedName() + CR;
-		}
-		for(TMLEvent evt: events) {
-			constSig+=", TMLEventChannel* "+ evt.getExtendedName() +CR;
-		}
-		for(TMLRequest req: requests) {
-			//if (req.isAnOriginTask(task)) constSig+=", TMLEventBChannel* " + req.getExtendedName() + CR;
-			if (req.isAnOriginTask(task)) constSig+=", TMLEventChannel* " + req.getExtendedName() + CR;
-		}
-		if (task.isRequested()){
-			//constSig+=", TMLEventBChannel* requestChannel"+CR;
-			constSig+=", TMLEventChannel* requestChannel"+CR;
-		}
-		return constSig+")";
-	}
-
-	private void makeHeaderClassH() {
-		String hcodeBegin="";
-		hcodeBegin = "class " + reference + ": public TMLTask {" + CR;
-		hcodeBegin += "private:" + CR;
-		
-		hcodeBegin += "// Attributes" + CR;
-		
-		if (task.isRequested()) {
-			int params = task.getRequest().getNbOfParams();
-			firstCommand="_waitOnRequest";
-			hcode+="TMLWaitCommand " + firstCommand + SCCR;
-			initCommand+= "," + firstCommand + "(" + task.getActivityDiagram().getFirst().getID() + ",this,requestChannel,"; 
-			if (params==0){
-				initCommand+= "0,"+ getFormattedLiveVarStr(_startAnaNode) + ")" + CR;
-			}else{
-				initCommand+= "(ParamFuncPointer)&" + reference + "::" + "waitOnRequest_func," + getFormattedLiveVarStr(_startAnaNode)  + ")" + CR;
-				//functionSig+="Parameter<ParamType>* waitOnRequest_func(Parameter<ParamType>* ioParam)" + SCCR;
-				//functions+="Parameter<ParamType>* " + reference + "::waitOnRequest_func(Parameter<ParamType>* ioParam){" + CR;
-
-				functionSig+="Parameter* waitOnRequest_func(Parameter* ioParam)" + SCCR;
-				functions+="Parameter* " + reference + "::waitOnRequest_func(Parameter* ioParam){" + CR;
-				functions+= "ioParam->getP(&arg1__req";
-				for (int i=1; i<params; i++){
-					functions+= ", &arg" + (i+1) + "__req";
-				}
-				functions+=")" + SCCR + "return 0" + SCCR;
-				functions+="}\n\n"; 
-			}	
-			String xx = firstCommand + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(task.getActivityDiagram().getFirst(),false,"&"+firstCommand,null) + "))"+ SCCR;
-			firstCommand="&"+firstCommand;
-			chaining+=xx;
-		}else{
-			firstCommand=makeCommands(task.getActivityDiagram().getFirst(),false,"0",null);
-		}
-
-		hcode = basicHCode() + hcodeBegin + makeAttributesDeclaration() + CR + hcode;
-		// public dec
-		hcode += CR + functionSig + CR + "public:" + CR;
-		hcode += "friend bool condFunc(TMLTask* _ioTask_);\n";
-		hcode += "friend class CurrentComponents;\n";
-		// Simulation
-		hcode += makeConstructorSignature() + SCCR; // + "~" + reference + "()" + SCCR;
-		makeSerializableFuncs();
-	}
-
-	private void makeSerializableFuncs(){
-		hcode += "std::istream& readObject(std::istream& i_stream_var)" + SCCR;
-		hcode += "std::ostream& writeObject(std::ostream& i_stream_var)" + SCCR;
-		//hcode += "unsigned long getStateHash() const" + SCCR;
-		functions+= "std::istream& " + reference + "::readObject(std::istream& i_stream_var){\n";
-		for (TMLAttribute att:task.getAttributes()){
-			//att = (TMLAttribute)(iterator.next());
-			functions += "READ_STREAM(i_stream_var," + att.name + ")" + SCCR;
-			functions += "#ifdef DEBUG_SERIALIZE\n";
-			functions += "std::cout << \"Read: Variable " + att.name + " \" << " + att.name +  " << std::endl" + SCCR;
-			functions += "#endif\n";
-		}
-		functions+= "TMLTask::readObject(i_stream_var);\nreturn i_stream_var;\n}\n\n";
-		functions+= "std::ostream& " + reference + "::writeObject(std::ostream& i_stream_var){\n";
-		for (TMLAttribute att:task.getAttributes()){
-			functions += "WRITE_STREAM(i_stream_var," + att.name + ")" + SCCR;
-			functions += "#ifdef DEBUG_SERIALIZE\n";
-			functions += "std::cout << \"Write: Variable " + att.name + " \" << " + att.name +  " << std::endl" + SCCR;
-			functions += "#endif\n";
-		}
-		functions+= "TMLTask::writeObject(i_stream_var);\nreturn i_stream_var;\n}\n\n";
-		hcode += "void reset()" + SCCR;
-		functions+= "void "+reference + "::reset(){\nTMLTask::reset();\n";
-		for (TMLAttribute att:task.getAttributes()){
-			functions += att.name + "=";
-			if (att.hasInitialValue())
-				functions += att.initialValue + SCCR;
-			else
-				functions += "0" + SCCR;
-		}
-		functions+= "}\n\n";
-		/*hcode += "void refreshStateHash(const char* iLiveVarList);\n";
-		functions+= "void " + reference + "::refreshStateHash(const char* iLiveVarList){\n";
-		int aSeq=0;
-		functions += "_stateHash.init((HashValueType)_ID,30);\nif(iLiveVarList!=0){\n";*/
-		hcode += "HashValueType getStateHash();\n";
-		functions+= "HashValueType " + reference + "::getStateHash(){\n";
-		int aSeq=0;
-		//functions += "if(_liveVarList!=0 && _hashInvalidated){\n";
-		functions += "if(_hashInvalidated){\n";
-		functions += "_hashInvalidated=false;\n_stateHash.init((HashValueType)_ID,30);\n";
-		functions += "if(_liveVarList!=0){\n";
-		for(TMLAttribute att: task.getAttributes()) {
-			functions += "if ((_liveVarList[" + (aSeq >>> 3) + "] & " + (1 << (aSeq & 0x7)) + ")!=0) _stateHash.addValue(" + att.getName() + ");\n";
-			//functions += "_stateHash.addValue(" + att.getName() + ");\n";
-			aSeq++;
-		}
-		int i=0;
-		//for channels: include hash only if performed action is blocking
-		//for events: include filling level for senders (notified possible), include parameters for readers (if parameters set)
-		for(TMLChannel ch: channels) {
-			if (ch.getType()==TMLChannel.BRBW || (ch.getType()==TMLChannel.BRNBW && ch.getDestinationTask()==task)) functions += "_channels[" + i +"]->setSignificance(this, " + "((_liveVarList[" + (aSeq >>> 3) + "] & " + (1 << (aSeq & 0x7)) + ")!=0));\n";
-			//if (ch.getType()==TMLChannel.BRBW || (ch.getType()==TMLChannel.BRNBW && ch.getDestinationTask()==task)) functions += "_channels[" + i +"]->setSignificance(this, true);\n";
-
-			aSeq++; i++;
-		}
-		for(TMLEvent evt: events) {
-			if (evt.isBlocking() || evt.getDestinationTask()==task) functions += " _channels[" + i +"]->setSignificance(this, " + "((_liveVarList[" + (aSeq >>> 3) + "] & " + (1 << (aSeq & 0x7)) + ")!=0));\n";
-			//if (evt.isBlocking() || evt.getDestinationTask()==task) functions += " _channels[" + i +"]->setSignificance(this, true);\n";
-			aSeq++; i++;
-		}
-		if (task.isRequested()){
-			functions += " _channels[" + i +"]->setSignificance(this, " + "((_liveVarList[" + (aSeq >>> 3) + "] & " + (1 << (aSeq & 0x7)) + ")!=0));\n";
-			//functions += " _channels[" + i +"]->setSignificance(this, true);\n";
-		}
-		/*for(i=0; i< channels.size() + events.size() + (task.isRequested()? 1:0) ; i++){
-			functions += "if ((iLiveVarList[" + (aSeq >>> 3) + "] & " + (1 << (aSeq & 0x7)) + ")!=0) _channels[" + i +"]->getStateHash(iHash);\n";
-			aSeq++;
-		}*/
-		//functions += "}\n}\n\n";
-		functions += "}\n}\nreturn _stateHash.getHash();\n}\n\n";
-	}
-
-	private String getFormattedLiveVarStr(TMLActivityElement currElem){
-		return getFormattedLiveVarStr(_analysis.getLiveVarNodeByCommand(currElem));
-		//return getFormattedLiveVarStr((LiveVariableNode)null);
-	}
-	
-	private String getFormattedLiveVarStr(LiveVariableNode currNode){
-		if (currNode==null){
-			return "0, false";
-		}else{
-			String checkpoint = (currNode.isCheckpoint())? "true":"false";
-			//String checkpoint = "true";
-			return currNode.getLiveVariableString() + "," + checkpoint;
-		}
-	}
-	
-	
-
-	private String makeCommands(TMLActivityElement currElem, boolean skip, String retElement, String retElseElement){
-		String nextCommand="",cmdName="";
-
-		if (skip) return makeCommands(currElem.getNextElement(0), false,retElement,null);
-
-		if (currElem==null){
-			if (debug) TraceManager.addDev("Checking null\n");
-			return retElement;
-		}
-		
-		if (debug) TraceManager.addDev("Checking " + currElem.getName() + CR);
-
-		if (currElem instanceof TMLStartState) {
-			if (debug) TraceManager.addDev("Checking Start\n");
-			return makeCommands(currElem.getNextElement(0), false,retElement,null);
-		
-		} else if (currElem instanceof TMLStopState){
-			//add stop state if (retElement.equals("0"))
-			if (debug) TraceManager.addDev("Checking Stop\n");
-			if (retElement.equals("0")){
-				cmdName= "_stop" + currElem.getID();
-				hcode+="TMLStopCommand " + cmdName + SCCR;
-				initCommand+= "," + cmdName + "(" + currElem.getID() + ",this)" + CR;
-			}else
-				return retElement;
-		
-		}else if (currElem instanceof TMLRandom){
-			if (debug) TraceManager.addDev("Checking Random\n");
-			cmdName= "_random" + currElem.getID();
-			TMLRandom random = (TMLRandom)currElem;
-			hcode+="TMLRandomCommand " + cmdName + SCCR;
-			initCommand+= "," + cmdName + "("+ currElem.getID() + ",this," + makeCommandRangeFunc(cmdName, random.getMinValue(), random.getMaxValue()) + ",&" + random.getVariable() + "," + getFormattedLiveVarStr(currElem) + ")"+CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "));\n";
-			//functions+="void "+ reference + "::" + cmdName + "_func(ParamType& oMin, ParamType& oMax){\n oMin=" + modifyString(random.getMinValue()) + ";\noMax=" + modifyString(random.getMaxValue()) + SCCR;
-			//functions+= "}" + CR2;
-			//functionSig+="void " + cmdName + "_func(ParamType & oMin, ParamType& oMax)" + SCCR;
-
-		} else if (currElem instanceof TMLActionState || currElem instanceof TMLDelay){
-			String action,comment;
-			if (currElem instanceof TMLActionState){				
-				if (debug) TraceManager.addDev("Checking Action\n");
-				action = formatAction(((TMLActionState)currElem).getAction());
-				comment=action;
-			}else{
-				if (debug) TraceManager.addDev("Checking Delay\n");
-				int masterClockFreq = tmlmapping.getTMLArchitecture().getMasterClockFrequency();
-				TMLDelay delay=(TMLDelay)currElem;
-				action = "TMLTime tmpDelayxy = " + delay.getMaxDelay() + "*" + masterClockFreq + delay.getMasterClockFactor() + ";";
-				comment=action;
-				action+= "\nif (tmpDelayxy==0) tmpDelayxy=1;\n";
-				if (delay.getMinDelay().equals(delay.getMaxDelay())){
-					action += "_endLastTransaction+=tmpDelayxy";
-				}else{
-					action += "TMLTime tmpDelayxx = " + delay.getMinDelay() + "*" + masterClockFreq + delay.getMasterClockFactor() + ";\nif (tmpDelayxx==0) tmpDelayxx=1;\n";
-					action += "_endLastTransaction+=myrand(tmpDelayxx,tmpDelayxy)";
-				}
-			}
-			//cmdName= "_action" + currElem.getID();
-			String elemName=currElem.getName(), idString;
-			if (elemName.charAt(0)=='#'){
-				int pos=elemName.indexOf('\\');
-				idString=elemName.substring(1,pos);
-				//TraceManager.addDev(elemName + "***" + pos + "***" + idString + "***"+ elemName.length());
-				cmdName="_" + elemName.substring(pos+1) + idString;
-			}else{
-				cmdName= "_action" + currElem.getID();
-				idString=String.valueOf(currElem.getID());
-			}
-			hcode+="TMLActionCommand " + cmdName + SCCR;
-			initCommand+= "," + cmdName + "("+ idString + ",this,(ActionFuncPointer)&" + reference + "::" + cmdName + "_func, " + getFormattedLiveVarStr(currElem) +  ")"+CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "));\n";
-			functions+="void "+ reference + "::" + cmdName + "_func(){\n#ifdef ADD_COMMENTS\naddComment(new Comment(_endLastTransaction,0," + commentNum + "));\n#endif\n" + modifyString(addSemicolonIfNecessary(action)) + CR;
-			//functions+="return 0"+ SCCR;
-			functions+= "}" + CR2;
-			commentText+="_comment[" + commentNum + "]=std::string(\"Action " + comment + "\");\n";
-			commentNum++;
-			functionSig+="void " + cmdName + "_func()" + SCCR;
-		
-		} else if (currElem instanceof TMLExecI){
-			if (debug) TraceManager.addDev("Checking Execi\n");
-			cmdName= "_execi" + currElem.getID();
-			hcode+="TMLExeciCommand " + cmdName + SCCR;
-			//initCommand+= "," + cmdName + "(this,"+ ((TMLExecI)currElem).getAction() + ",0,0)"+CR;
-			if (isIntValue(((TMLExecI)currElem).getAction()))
-				initCommand+= "," + cmdName + "(" + currElem.getID() + ",this,0,0," + ((TMLExecI)currElem).getAction() + "," + getFormattedLiveVarStr(currElem) + ")" + CR;
-			else
-				initCommand+= "," + cmdName + "(" + currElem.getID() + ",this," + makeCommandLenFunc(cmdName, ((TMLExecI)currElem).getAction(), null) + ",0,1," + getFormattedLiveVarStr(currElem) + ")" + CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-
-		} else if (currElem instanceof TMLExecC){
-			if (debug) TraceManager.addDev("Checking ExecC\n");
-			cmdName= "_execc" + currElem.getID();
-			hcode+="TMLExeciCommand " + cmdName + SCCR;
-			if (isIntValue(((TMLExecC)currElem).getAction()))
-				initCommand+= "," + cmdName + "(" + currElem.getID() + ",this,0,1," + ((TMLExecC)currElem).getAction() + "," + getFormattedLiveVarStr(currElem) + ")" + CR;
-			else
-				initCommand+= "," + cmdName + "("+ currElem.getID() + ",this,"+ makeCommandLenFunc(cmdName, ((TMLExecC)currElem).getAction(), null) + ",1,1," + getFormattedLiveVarStr(currElem) + ")"+CR;
-				
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-		
-		} else if (currElem instanceof TMLExecIInterval){
-			/*if (debug) TraceManager.addDev("Checking ExeciInterv\n");
-			cmdName= "_execi" + currElem.getID();
-			hcode+="TMLExeciCommand " + cmdName + SCCR;
-			//initCommand+= "," + cmdName + "(this,"+ ((TMLExecIInterval)currElem).getMinDelay()+ "," + ((TMLExecIInterval)currElem).getMaxDelay() + ",0)"+CR;
-			initCommand+= "," + cmdName + "("+currElem.getID()+",this,"+ makeCommandLenFunc(cmdName, ((TMLExecIInterval)currElem).getMinDelay(), ((TMLExecIInterval)currElem).getMaxDelay()) + ",0,1," + getFormattedLiveVarStr(currElem) + ")" +CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;*/
-			if (debug) TraceManager.addDev("Checking ExeciInterv\n");
-			cmdName= "_execi" + currElem.getID();
-			hcode+="TMLExeciRangeCommand " + cmdName + SCCR;
-			initCommand+= "," + cmdName + "("+currElem.getID()+",this,"+ makeCommandRangeFunc(cmdName, ((TMLExecIInterval)currElem).getMinDelay(), ((TMLExecIInterval)currElem).getMaxDelay()) + ",0," + getFormattedLiveVarStr(currElem) + ")" +CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-
-		} else if (currElem instanceof TMLExecCInterval){
-			if (debug) TraceManager.addDev("Checking ExecCInterv\n");
-			cmdName= "_execc" + currElem.getID();
-			hcode+="TMLExeciCommand " + cmdName + SCCR;
-			//initCommand+= "," + cmdName + "(this,"+ ((TMLExecIInterval)currElem).getMinDelay()+ "," + ((TMLExecIInterval)currElem).getMaxDelay() + ",1)"+CR;
-			initCommand+= "," + cmdName + "("+currElem.getID()+",this,"+ makeCommandLenFunc(cmdName, ((TMLExecCInterval)currElem).getMinDelay(), ((TMLExecCInterval)currElem).getMaxDelay()) + ",1,1," + getFormattedLiveVarStr(currElem) + ")"+CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-
-					
-		} else if (currElem instanceof TMLForLoop){
-			//makeCommands(TMLActivityElement currElem, boolean skip, String retElement, MergedCmdStr nextCommandCont, String retElseElement)
-			if (debug) TraceManager.addDev("Checking Loop\n");
-			TMLForLoop fl = (TMLForLoop)currElem;
-			if (fl.getCondition().isEmpty() || fl.getCondition().trim().toUpperCase().equals("TRUE")){
-				//initAction.addNext(fl.getNextElement(0)); //inside loop
-				TMLActionState incAction=new TMLActionState("#"+ fl.getID() + "\\lpIncAc",null);
-				incAction.setAction(fl.getIncrement());
-				String firstCmdInLoop= makeCommands(fl.getNextElement(0), false, "&_lpIncAc" + fl.getID(), null);
-				makeCommands(incAction, false, firstCmdInLoop, null);
-				if (fl.getInit().isEmpty()){
-					return firstCmdInLoop;
-				}else{
-					TMLActionState initAction=new TMLActionState("lpInitAc",null);
-					initAction.setAction(fl.getInit());
-					return makeCommands(initAction, false, firstCmdInLoop,null);
-				}
-				
-			}else{	
-				TMLChoice lpChoice=new TMLChoice("#"+ fl.getID() + "\\lpChoice",null);
-				//if (fl.getCondition().isEmpty())
-				//	lpChoice.addGuard("[ true ]");
-				//else
-				lpChoice.addGuard("[ " + fl.getCondition() + " ]");
-				lpChoice.addGuard("[ else ]");
-				lpChoice.addNext(fl.getNextElement(0));  //inside loop
-				lpChoice.addNext(fl.getNextElement(1));  //after loop           cmdName= "_choice" + currElem.getID();
-				if (fl.getIncrement().isEmpty()){
-					makeCommands(lpChoice, false, "&_lpChoice" + fl.getID(), retElement);
-				}else{
-					TMLActionState incAction=new TMLActionState("#"+ fl.getID() + "\\lpIncAc",null);
-					incAction.setAction(fl.getIncrement());
-					makeCommands(incAction, false, "&_lpChoice" + fl.getID(), null);
-					makeCommands(lpChoice, false, "&_lpIncAc" + fl.getID(), retElement);
-				}
-				if (fl.getInit().isEmpty()){
-					return "&_lpChoice" + fl.getID();
-				}else{
-					TMLActionState initAction=new TMLActionState("lpInitAc",null);
-					initAction.setAction(fl.getInit());
-					return makeCommands(initAction, false, "&_lpChoice" + fl.getID(), null);
-				}
-			}
-		
-		} else if (currElem instanceof TMLReadChannel){
-			if (debug) TraceManager.addDev("Checking Read\n");
-			cmdName= "_read" + currElem.getID();
-			hcode+="TMLReadCommand " + cmdName + SCCR;
-			TMLReadChannel rCommand=(TMLReadChannel)currElem;
-			if (isIntValue(rCommand.getNbOfSamples()))
-				//initCommand+= "," + cmdName + "("+currElem.getID()+",this,0," + rCommand.getChannel(0).getExtendedName() + "," + rCommand.getChannel(0).getSize() + "*" + rCommand.getNbOfSamples() + ")"+CR;
-				initCommand+= "," + cmdName + "("+currElem.getID()+",this,0," + rCommand.getChannel(0).getExtendedName() + "," + getFormattedLiveVarStr(currElem) + "," +  rCommand.getNbOfSamples() + ")"+CR;
-
-			else
-				//initCommand+= "," + cmdName + "("+currElem.getID()+",this," + makeCommandLenFunc(cmdName, rCommand.getChannel(0).getSize() + "*(" + rCommand.getNbOfSamples()+")",null) + "," + rCommand.getChannel(0).getExtendedName() + ")"+CR;
-				initCommand+= "," + cmdName + "("+currElem.getID()+",this," + makeCommandLenFunc(cmdName, rCommand.getNbOfSamples(),null) + "," + rCommand.getChannel(0).getExtendedName() + "," + getFormattedLiveVarStr(currElem) + ")"+CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-		
-		} else if (currElem instanceof TMLWriteChannel){
-			String channels;
-			TMLWriteChannel wCommand=(TMLWriteChannel)currElem;
-			if (wCommand.getNbOfChannels()>1){
-				if (ChannelMappedOnSameHW(wCommand)){
-					if (debug) TraceManager.addDev("Checking WriteMult with multicast\n");
-					cmdName= "_mwrite" + currElem.getID();
-					hcode+="TMLWriteMultCommand " + cmdName + SCCR;
-					channels="array("+wCommand.getNbOfChannels();
-					for(int i=0; i<wCommand.getNbOfChannels(); i++){
-						channels+="," + wCommand.getChannel(i).getExtendedName();
-					}
-					channels+=")," + wCommand.getNbOfChannels();
-				}else{
-					if (debug) TraceManager.addDev("Checking WriteMult with unicast\n");
-					TMLWriteChannel prevWrite = null, firstWrite=null;
-					for(int i=0; i<wCommand.getNbOfChannels(); i++){
-						TMLWriteChannel newWrite =  new TMLWriteChannel("WriteMult",null);
-						if(i==0) firstWrite=newWrite;
-						newWrite.addChannel(wCommand.getChannel(i));
-						newWrite.setNbOfSamples(wCommand.getNbOfSamples());
-						if (prevWrite!=null) prevWrite.addNext(newWrite);
-						prevWrite=newWrite;
-					}
-					prevWrite.addNext(wCommand.getNextElement(0));
-					return makeCommands(firstWrite, false, retElement,null);
-				}
-			}else{
-				cmdName= "_write" + currElem.getID();
-				hcode+="TMLWriteCommand " + cmdName + SCCR;
-				channels=wCommand.getChannel(0).getExtendedName();
-			}
-			if (isIntValue(wCommand.getNbOfSamples()))
-				initCommand+= "," + cmdName + "("+currElem.getID()+",this,0," + channels + "," +  getFormattedLiveVarStr(currElem) + "," + wCommand.getNbOfSamples() + ")" +CR;
-			else
-				initCommand+= "," + cmdName + "("+currElem.getID()+",this," + makeCommandLenFunc(cmdName, wCommand.getNbOfSamples(), null) + "," + channels + "," + getFormattedLiveVarStr(currElem) + ")"+CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-		
-		} else if (currElem instanceof TMLSendEvent){
-			if (debug) TraceManager.addDev("Checking Send\n");
-			TMLSendEvent sendEvt=(TMLSendEvent)currElem;
-			cmdName= "_send" + currElem.getID();
-			hcode+="TMLSendCommand " + cmdName + SCCR;
-			handleParameters(currElem, cmdName, false, getFormattedLiveVarStr(currElem));
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-			
-		} else if (currElem instanceof TMLSendRequest){
-			if (debug) TraceManager.addDev("Checking Request\n");
-			TMLSendRequest sendReq=(TMLSendRequest)currElem;
-			cmdName= "_request" + currElem.getID();
-			hcode+="TMLRequestCommand " + cmdName + SCCR;
-			handleParameters(currElem, cmdName, false, getFormattedLiveVarStr(currElem));
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;	
-	
-		} else if (currElem instanceof TMLWaitEvent){
-			if (debug) TraceManager.addDev("Checking Wait\n");
-			TMLWaitEvent waitEvt = (TMLWaitEvent)currElem;
-			cmdName= "_wait" + currElem.getID();
-			hcode+="TMLWaitCommand " + cmdName + SCCR;
-			handleParameters(currElem, cmdName, true, getFormattedLiveVarStr(currElem));
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR;
-		
-		} else if (currElem instanceof TMLNotifiedEvent){
-			if (debug) TraceManager.addDev("Checking Notified\n");
-			cmdName= "_notified" + currElem.getID();
-			hcode+="TMLNotifiedCommand " + cmdName + SCCR;
-			initCommand+= "," + cmdName + "("+currElem.getID()+",this," + ((TMLNotifiedEvent)currElem).getEvent().getExtendedName() + ",&" + ((TMLNotifiedEvent)currElem).getVariable() +",\"" + ((TMLNotifiedEvent)currElem).getVariable() + "\"," + getFormattedLiveVarStr(currElem) + ")" + CR;
-			nextCommand= cmdName + ".setNextCommand(array(1,(TMLCommand*)" + makeCommands(currElem.getNextElement(0),false,retElement,null) + "))"+ SCCR; 
-		
-		} else if (currElem instanceof TMLSequence){
-			TMLSequence tmlseq = (TMLSequence)currElem;
-			if (debug) TraceManager.addDev("Checking Sequence with "+ tmlseq.getNbNext()+ " elements.");
-			if (tmlseq.getNbNext() == 0) {
-                		return retElement;
-            		} else {
-                		if (tmlseq.getNbNext() == 1) {
-                    			return makeCommands(currElem.getNextElement(0), false,retElement,null);
-                		} else {			
-					String nextBranch;
-					tmlseq.sortNexts();
-					if (debug) TraceManager.addDev("Checking Sequence branch "+ (tmlseq.getNbNext()-1));
-					nextBranch= makeCommands(currElem.getNextElement(currElem.getNbNext() - 1),false,retElement,null);
-					for(int i=currElem.getNbNext() - 2; i>=0; i--) {
-						if (debug) TraceManager.addDev("Checking Sequence branch "+ i);
-						nextBranch=makeCommands(currElem.getNextElement(i),false,nextBranch,null);
-					}
-                    			return nextBranch;
-                		}
-            		}
-		
-		} else if (currElem instanceof TMLChoice){
-			String elemName=currElem.getName(), idString;
-			if (elemName.charAt(0)=='#'){
-				int pos=elemName.indexOf('\\');
-				idString=elemName.substring(1,pos);
-				//TraceManager.addDev(elemName + "***" + pos + "***" + idString + "***"+ elemName.length());
-				cmdName="_" + elemName.substring(pos+1) + idString;
-			}else{
-				cmdName= "_choice" + currElem.getID();
-				idString=String.valueOf(currElem.getID());
-			}
-			TMLChoice choice = (TMLChoice)currElem;
-			String code = "", nextCommandTemp="", stopCmdToAdd="";
-			int noOfGuards=0;
-			if (debug) TraceManager.addDev("Checking Choice\n");
-			if (choice.getNbGuard() !=0 ) {
-				//int indexElseG = choice.getElseGuard(), indexAfterG = choice.getAfterGuard();
-				int noNonDetGuards = choice.nbOfNonDeterministicGuard();
-				int noStochGuards = choice.nbOfStochasticGuard();
-				if (noNonDetGuards>0){ //Non-Deterministic choice
-					code+= "oMin=0;\n";
-					code+= "oMax=" + (noNonDetGuards-1) + SCCR;
-					//code += "rnd__0 = myrand(0, "+ noNonDetGuards + ")" + SCCR;
-					code += "return myrand(0, "+ (noNonDetGuards-1) + ")" + SCCR;
-					for(int i=0; i<noNonDetGuards; i++) {
-						//code += "if (rnd__0 < " + Math.floor(100/noNonDetGuards)*(i+1) + ") return " + i + SCCR;
-						nextCommandTemp+= ",(TMLCommand*)" + makeCommands(choice.getNextElement(i), false, retElement,null);
-					}
-					noOfGuards = noNonDetGuards;
-					//code+= "return " + (noNonDetGuards-1) + SCCR;
-				}else if(noStochGuards>0){ //Stochastic choice
-					code+= "oMin=0;\n";
-					code+= "oMax=" + (noStochGuards-1) + SCCR;
-					code += "rnd__0 = myrand(0, 99)" + SCCR;
-					String composedGuard="";
-					for(int i=0; i<choice.getNbGuard(); i++) {
-						if (choice.isStochasticGuard(i)) {
-							if (composedGuard.isEmpty()) {
-								composedGuard = formatGuard(choice.getStochasticGuard(i));
-							} else {
-								composedGuard = composedGuard + "+" + formatGuard(choice.getStochasticGuard(i));
-							}
-							code += "if (rnd__0 < (" + composedGuard + ")) return " + noOfGuards + SCCR;
-							nextCommandTemp+= ",(TMLCommand*)" + makeCommands(choice.getNextElement(i), false, retElement,null);
-							noOfGuards++;
-						}
-					}
-					
-				}else{
-					int indElseGuard = choice.getElseGuard(), newIndElseGuard=-1;
-					code+= "unsigned int oC=0;\n";
-					code+= "oMin=-1;\n";
-					code+= "oMax=0;\n";
-					for(int i=0; i<choice.getNbGuard(); i++) {
-						if (!(choice.isNonDeterministicGuard(i) || choice.isStochasticGuard(i))){
-							if (i==indElseGuard){
-								newIndElseGuard=noOfGuards;
-								if (retElseElement!=null)
-									nextCommandTemp+= ",(TMLCommand*)" +makeCommands(choice.getNextElement(indElseGuard), false, retElseElement,null);
-								else
-									nextCommandTemp+= ",(TMLCommand*)" + makeCommands(choice.getNextElement(indElseGuard), false, retElement,null);
-								
-							}else{
-								code += "if "+ formatAction(formatGuard(choice.getGuard(i))) + "{\noC++;\n";
-								code += "oMax += " + (1 << noOfGuards) + SCCR + "\n}\n";
-								nextCommandTemp += ",(TMLCommand*)" + makeCommands(choice.getNextElement(i), false, retElement,null);
-							}
-							noOfGuards++;
-						}
-					}
-					//if (newIndElseGuard!=-1){
-					if (newIndElseGuard==-1){
-						newIndElseGuard= noOfGuards;
-						stopCmdToAdd = ",(TMLCommand*)&_stop" + idString;
-						noOfGuards++;
-						hcode+="TMLStopCommand " + "_stop" + idString + SCCR;
-						initCommand+= ", _stop" + idString + "(" + idString + ",this)" + CR;
-					}
-					code += "if (oMax==0){\n oMax=" + (1 << newIndElseGuard) + SCCR;
-					//code += "oC=1;\n}\n";
-					code += "return " + newIndElseGuard + ";\n}\n";
-					//}
-					code += "return getEnabledBranchNo(myrand(1,oC), oMax);\n";
-				}	
-				//nextCommand= cmdName + ".setNextCommand(array(" + noOfGuards + nextCommandTemp + "))" + SCCR;
-				nextCommand= cmdName + ".setNextCommand(array(" + noOfGuards + nextCommandTemp + stopCmdToAdd+ "))" + SCCR;
-			}
-			//if (choice.nbOfNonDeterministicGuard()==0 &&  choice.nbOfStochasticGuard()==0) 
-			//	hcode+="TMLChoiceCommand " + cmdName + SCCR;
-			//else
-			hcode+="TMLRandomChoiceCommand " + cmdName + SCCR;
-			initCommand+= "," + cmdName + "("+ idString +",this,(RangeFuncPointer)&" + reference + "::" + cmdName + "_func," + noOfGuards + "," + getFormattedLiveVarStr(currElem) + ")"+CR;
-			functions+="unsigned int "+ reference + "::" + cmdName + "_func(ParamType& oMin, ParamType& oMax){" + CR + code +CR+ "}" + CR2;
-			functionSig+="unsigned int " + cmdName + "_func(ParamType& oMin, ParamType& oMax)" + SCCR;
-					
-		} else if (currElem instanceof TMLSelectEvt){
-			TMLEvent evt;
-			//Integer nbevt=0;
-			int nbevt=0;
-			String evtList="",paramList="";
-			if (debug) TraceManager.addDev("Checking SelectEvt\n");
-			cmdName= "_select" + currElem.getID();
-			for(int i=0; i<currElem.getNbNext(); i++) {
-				evt=((TMLSelectEvt)currElem).getEvent(i);
-				if (evt!=null){
-					nbevt++;	
-					evtList += ",(TMLEventChannel*)"+ evt.getExtendedName();
-					if (evt.getNbOfParams()==0) {
-						paramList+=",(ParamFuncPointer)0";
-					}else{
-
-						//functionSig+="Parameter<ParamType>* " + cmdName + "_func_" + i + "(Parameter<ParamType>* ioParam)" + SCCR;
-						//functions+="Parameter<ParamType>* " + reference + "::" + cmdName +  "_func_" + i + "(Parameter<ParamType>* ioParam){" + CR;
-						functionSig+="Parameter* " + cmdName + "_func_" + i + "(Parameter* ioParam)" + SCCR;
-						functions+="Parameter* " + reference + "::" + cmdName +  "_func_" + i + "(Parameter* ioParam){" + CR;
-
-						paramList+=",(ParamFuncPointer)&" + reference + "::" + cmdName + "_func_" + i + CR;
-						functions += "ioParam->getP(&" + ((TMLSelectEvt)currElem).getParam(i,0);
-						for(int j=1; j<evt.getNbOfParams(); j++) {
-							functions+= ", &" + ((TMLSelectEvt)currElem).getParam(i,j);
-						}
-						functions+=");\nreturn 0;\n}\n\n"; 
-					}
-					nextCommand+= ",(TMLCommand*)" + makeCommands(currElem.getNextElement(i), true, retElement,null); 
-				}
-			}
-			hcode+="TMLSelectCommand " + cmdName + SCCR;
-			initCommand+= "," + cmdName + "("+currElem.getID()+",this,array("+ nbevt + evtList + "),"+ nbevt + "," + getFormattedLiveVarStr(currElem) + ",array("+ nbevt + paramList + "))"+CR;
-			nextCommand=cmdName + ".setNextCommand(array(" + nbevt + nextCommand + "))" + SCCR;
-		
-		} else {
-			TraceManager.addDev("Operator: " + currElem + " of class " + currElem.getClass().getName() +  " is not managed in the current version of this C++ code generator.");
-		}
-		chaining+=nextCommand; 
-		return (cmdName.equals("0") || cmdName.charAt(0)=='&')? cmdName : "&"+cmdName;
-	}
-	
-	private String formatGuard(String guard){
-		guard = Conversion.replaceAllChar(guard, '[', "(");
-		guard = Conversion.replaceAllChar(guard, ']', ")");
-		return guard;
-	}
-	
-	public static String formatAction(String action){
-		action = action.replaceAll("not\\s","!");
-		action = action.replaceAll("not\\(","!(");
-		action = action.replaceAll("\\sand\\s","&&");
-		action = action.replaceAll("\\sand\\(","&&(");
-		action = action.replaceAll("\\)and\\s",")&&");
-		action = action.replaceAll("\\)and\\(",")&&(");
-		action = action.replaceAll("\\sor\\s","||");
-		action = action.replaceAll("\\sor\\(","||(");
-		action = action.replaceAll("\\)or\\s",")||");
-		action = action.replaceAll("\\)or\\(",")||(");
-		//action = action.replaceAll("[\\s(]or[\\s)]","||");
-		return action;
-	}
-
-	private boolean ChannelMappedOnSameHW(TMLWriteChannel writeCmd){
-		LinkedList<HwCommunicationNode> commNodeRefList = tmlmapping.findNodesForElement(writeCmd.getChannel(0));
-		for(int i=1; i<writeCmd.getNbOfChannels(); i++){
-			LinkedList<HwCommunicationNode> commNodeCmpList = tmlmapping.findNodesForElement(writeCmd.getChannel(i));
-			if (commNodeCmpList.size()!=commNodeRefList.size()) return false;
-			Iterator it = commNodeCmpList.iterator(); 
-			for(HwCommunicationNode cmnode: commNodeRefList) {
-				if (it.next()!=cmnode) return false;
-			}			
-		}
-		return true;
-	}
-	
-	
-	private String makeCommandLenFunc(String cmdName, String lowerLimit, String upperLimit){
-		if (upperLimit==null)
-			functions+="TMLLength "+ reference + "::" + cmdName + "_func(){\nreturn (TMLLength)(" + modifyString(lowerLimit) + ");\n}" + CR2;
-		else
-			functions+="TMLLength "+ reference + "::" + cmdName + "_func(){\nreturn (TMLLength)myrand(" + lowerLimit + "," + modifyString(upperLimit) + ");\n}" + CR2;
-		functionSig+="TMLLength " + cmdName + "_func()" + SCCR;
-		return "(LengthFuncPointer)&" + reference + "::" + cmdName + "_func";
-	}
-
-	private String makeCommandRangeFunc(String cmdName, String lowerLimit, String upperLimit){
-		functions+="unsigned int "+ reference + "::" + cmdName + "_func(ParamType& oMin, ParamType& oMax){\n oMin=" + modifyString(lowerLimit) + ";\noMax=" + modifyString(upperLimit) + SCCR + "return myrand(oMin, oMax)" + SCCR;
-		functions+= "}" + CR2;
-		functionSig+="unsigned int " + cmdName + "_func(ParamType & oMin, ParamType& oMax)" + SCCR;
-		return "(RangeFuncPointer)&" + reference + "::" + cmdName + "_func";
-	}
-
-	private boolean isIntValue(String input){  
-		try{  
-			Integer.parseInt(input); 
-			return true;  
-		}catch(Exception e){  
-			return false;
-		}  
-	}
-
-	private void handleParameters(TMLActivityElement currElem, String cmdName, boolean wait, String liveVarString){
-		String concatParams="", channelName="";
-		String[] paramArray=null;
-		//boolean areStatic=true;
-		int nbOfParams=0;
-		String address=(wait)? "&":"";
-		if (currElem instanceof TMLActivityElementEvent){
-			nbOfParams=((TMLActivityElementEvent)currElem).getNbOfParams();
-			paramArray = new String[nbOfParams];
-			for (int i=0; i< nbOfParams; i++){
-				paramArray[i]=((TMLActivityElementEvent)currElem).getParam(i);
-			}
-			channelName = ((TMLActivityElementEvent)currElem).getEvent().getExtendedName();
-		}
-		else if (currElem instanceof TMLSendRequest){
-			nbOfParams=((TMLSendRequest)currElem).getNbOfParams();
-			paramArray = new String[nbOfParams];
-			for (int i=0; i< nbOfParams; i++){
-				paramArray[i]=((TMLSendRequest)currElem).getParam(i);
-			}
-			channelName = ((TMLSendRequest)currElem).getRequest().getExtendedName();
-		}
-		if (nbOfParams==0){
-			initCommand+= "," + cmdName + "("+ currElem.getID() +",this," + channelName + ",0," + liveVarString +")"+CR;
-		}else{
-			for(int i=0; i<nbOfParams; i++){
-				//if(areStatic && !isIntValue(paramArray[i])) areStatic=false;
-				if (i>0) concatParams+=",";
-				//concatParams+=",";
-				if (paramArray[i]==null || paramArray[i].isEmpty()) concatParams+="0"; else concatParams+= address + paramArray[i];
-			}
-			//if (areStatic){
-				//initCommand+= "," + cmdName + "("+ currElem.getID() +",this," + channelName + ",0," + liveVarString + ",Parameter<ParamType>(" + nbOfParams + "," + concatParams + "))"+CR;
-				//initCommand+= "," + cmdName + "("+ currElem.getID() +",this," + channelName + ",0," + liveVarString + ",new SizedParameter<ParamType," + nbOfParams + ">(" + concatParams + "))"+CR;
-			//}else{
-			initCommand+= "," + cmdName + "("+ currElem.getID() +",this," + channelName + ",(ParamFuncPointer)&" + reference + "::" + cmdName + "_func,"+ liveVarString + ")" + CR;
-			//functionSig+="Parameter<ParamType>* " + cmdName + "_func(Parameter<ParamType>* ioParam)" + SCCR;
-			//functions+="Parameter<ParamType>* " + reference + "::" + cmdName +  "_func(Parameter<ParamType>* ioParam){" + CR;
-			functionSig+="Parameter* " + cmdName + "_func(Parameter* ioParam)" + SCCR;
-			functions+="Parameter* " + reference + "::" + cmdName +  "_func(Parameter* ioParam){" + CR;
-			if (wait)
-				functions += "ioParam->getP(" + concatParams + ")" + SCCR + "return 0" + SCCR;
-			else
-				//functions += "return new Parameter<ParamType>(" + nbOfParams + "," + concatParams + ")" + SCCR;
-				functions += "return new SizedParameter<ParamType," + nbOfParams + ">(" + concatParams + ")" + SCCR;
-			functions+="}\n\n"; 
-			//}
-		}
-	}
-
-	private void makeEndClassH() {
-		hcode += "};" + CR + "#endif" + CR;
-	}
-
-	
-	private String makeAttributesCode() {
-		String code = "";
-		int i;
-		for(TMLAttribute att: task.getAttributes()) {
-			//if (!att.name.endsWith("__req")){ //NEW
-				if (att.hasInitialValue())
-					code += ","+ att.name + "(" + att.initialValue + ")"+CR;
-				else
-					code += ","+ att.name + "(0)"+CR;
-			//}
-		}
-		//code += ",arg1__req(0)"+CR;
-		//code += ",arg2__req(0)"+CR;
-		//code += ",arg3__req(0)"+CR;
-		return code;
-	}
-	
-	private String makeAttributesDeclaration() {
-		String code = "";
-		int i;
-		for(TMLAttribute att: task.getAttributes()) { 
-			//if (!att.name.endsWith("__req")){  //NEW
-				code += "ParamType " + att.name;
-				code += ";\n";
-			//}
-		}
-		//code += "ParamType arg1__req" + SCCR;
-		//code += "ParamType arg2__req" + SCCR;
-		//code += "ParamType arg3__req" + SCCR;
-		code += "ParamType rnd__0" + SCCR;
-		code += "TMLChannel* _channels[" + (channels.size() + events.size() + (task.isRequested()? 1:0)) + "]" + SCCR;
-		return code;
-	}
-	
-
-	private String addSemicolonIfNecessary(String _input) {
-		String code1 = _input.trim();
-		if (!(code1.endsWith(";"))) {
-		code1 += ";";
-		}
-		return code1;
-	}
-
-	private String modifyString(String _input) {
-		_input = Conversion.changeBinaryOperatorWithUnary(_input, "div", "/");
-		_input = Conversion.changeBinaryOperatorWithUnary(_input, "mod", "%");
-        	return _input;
-	}
-	
-	public String getIdentifierNameByID(int id){
-		//Channels, Events, Requests, Variables, Choice, Random
-		id=Math.abs(id);
-		for (TMLChannel channel: channels){
-			if (channel.getID()==id) return channel.getName();
-		}
-		for (TMLEvent event: events){
-			if (event.getID()==id) return event.getName();
-			/*int param = Integer.MAX_VALUE - 3 * event.getID() - id + 1;
-			if (param>0 && param<4)  return event.getName() + "_param" + param;*/
-		}
-		for (TMLRequest request: requests){
-			if (request.getID()==id) return request.getName();
-			/*int param = Integer.MAX_VALUE - 3 * request.getID() - id +1;
-			if (param>0 && param<4)  return request.getName() + "_param!" + param;*/
-		}
-		for(TMLAttribute att: task.getAttributes()){
-			if (att.getID()==id) return reference + ":" + att.getName();
-		}
-		for(int i=0; i<task.getActivityDiagram().nElements();i++)
-			if (task.getActivityDiagram().get(i).getID()==id) return reference + ":Command " + id;
-		return null;
-	}
-	
-	public void determineCheckpoints(int[] aStatistics){
-		_analysis.determineCheckpoints(aStatistics);
-	}
-	
-	public StaticAnalysis getAnalysis(){
-		return _analysis;
-	}
-}
diff --git a/src/tmltranslator/tomappingsystemc3/MergedCmdStr.java b/src/tmltranslator/tomappingsystemc3/MergedCmdStr.java
deleted file mode 100644
index da73b44650..0000000000
--- a/src/tmltranslator/tomappingsystemc3/MergedCmdStr.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package tmltranslator.tomappingsystemc3;
-
-public class MergedCmdStr{
-	String nextCmd;
-	String funcs;
-	String srcCmd;
-	int num;
-	MergedCmdStr(String iNextCommand, String iSrcCmd, int iNum){
-		nextCmd=iNextCommand;
-		srcCmd=iSrcCmd;
-		num=iNum;
-		funcs="";
-	}
-	MergedCmdStr(String iNextCommand, String iSrcCmd){
-		this(iNextCommand, iSrcCmd, 0);
-	}
-}
diff --git a/src/tmltranslator/tomappingsystemc3/README.txt b/src/tmltranslator/tomappingsystemc3/README.txt
deleted file mode 100644
index f756f9bacd..0000000000
--- a/src/tmltranslator/tomappingsystemc3/README.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Date:			30/05/2014
-Author:		Andrea ENRICI
-Contact:	andrea.enrici@telecom-paristech.fr
-
-Third version of the TML-to-C++ code generator. It adds Communication Patterns to the simulator version n.2
diff --git a/src/tmltranslator/tomappingsystemc3/StaticAnalysis.java b/src/tmltranslator/tomappingsystemc3/StaticAnalysis.java
deleted file mode 100644
index 99d5746dbc..0000000000
--- a/src/tmltranslator/tomappingsystemc3/StaticAnalysis.java
+++ /dev/null
@@ -1,535 +0,0 @@
-package tmltranslator.tomappingsystemc3;
-
-import java.util.*;
-import tmltranslator.*;
-import java.util.regex.*;
-
-import myutil.*;
-//import java.util.HashSet;
-
-public class StaticAnalysis{
-	private ArrayList<LiveVariableNode> liveNodes= new ArrayList<LiveVariableNode>();
-	private final static Pattern _varPattern = Pattern.compile("[\\w&&\\D]+[\\w]*");
-	private TMLTask _task;
-	private ArrayList<TMLChannel> _channels;
-	private ArrayList<TMLEvent> _events;
-	private ArrayList<TMLRequest> _requests;
-	
-	private int _nextDefID=0;
-	private int[][] _varToDefs=null;
-	private int _bytesForDefs;
-	private int _bytesForVars;
-	private LiveVariableNode[] _defLookup=null;
-	private Set<Integer> _depChannels;
-
-	public StaticAnalysis(TMLTask iTask, ArrayList<TMLChannel>iChannels, ArrayList<TMLEvent> iEvents, ArrayList<TMLRequest> iRequests, Set<Integer> iDepChannels){
-		_task = iTask;
-		_channels=iChannels;
-		_events=iEvents;
-		_requests=iRequests;
-		_depChannels = iDepChannels;
-	}
-	
-	public int getNextDefID(){
-		return _nextDefID++;
-	}
-	
-	/*public int getNbOfDefs(){
-		return _nextDefID;
-	}*/
-	
-	public int getBytesForDefs(){
-		return _bytesForDefs;
-	}
-	
-	public int[][] getDefsForVar(){
-		return _varToDefs;
-	}
-	
-	public LiveVariableNode[] getDefLookUp(){
-		return _defLookup;
-	}
-
-	public void addDepChannel(int iID){
-		//TraceManager.addDev("Add Dependent Channel: " + iID);
-		_depChannels.add(iID);
-	}
-
-	public boolean isChannelDep(int iID){
-		//TraceManager.addDev("Check if Channel dep: " + iID + " answer: "  + _depChannels.contains(iID));
-		return _depChannels.contains(iID);
-	}
-
-	private int getVarSeqNoByName(String attName){
-		attName=attName.trim();
-		int aSeq=0;
-		for(TMLAttribute att: _task.getAttributes()) {
-			if (att.name.equals(attName)) return aSeq;
-			aSeq++;
-		}
-		return -1;
-	}
-
-	private int[] parseExprToVariableMap(String iExpr, int[] iMap){
-		//byte[] aResMap;
-		int[] aResMap;
-		if(iMap==null)
-			aResMap=new int[_bytesForVars];
-		else
-			aResMap=iMap;
-		if(!(iExpr==null || iExpr.isEmpty())){
-			//TraceManager.addDev("Examine expression: " + iExpr);
-			Matcher matcher = _varPattern.matcher(iExpr);
-			//System.out.print("Found tokens: ");
-			while (matcher.find()){
-				String token = iExpr.substring(matcher.start(), matcher.end());
-				//System.out.print(token + ", ");
-				int aVarSeqNo = getVarSeqNoByName(token);
-				if (aVarSeqNo>=0) aResMap[aVarSeqNo >>> 5] |= 1 << (aVarSeqNo & 0x1F);
-			}
-			//TraceManager.addDev();
-			//TraceManager.addDev("Byte sequence: ");
-		}
-		/*for(int i=0; i<_bytesForVars; i++)
-			System.out.print(((int)aResMap[i]) + ", ");
-		TraceManager.addDev();*/
-		return aResMap;		
-	}
-
-	private int[] parseChannelToVariableMap(TMLChannel iChannel, int[] iMap){
-		int[] aResMap;
-		if(iMap==null)
-			aResMap=new int[_bytesForVars];
-		else
-			aResMap=iMap;
-		int anIndex = _task.getAttributes().size() + _channels.indexOf(iChannel);
-		aResMap[anIndex >>> 5] |= 1 << (anIndex & 0x1F);
-		return aResMap;	
-	}
-
-	private int[] parseEventToVariableMap(TMLEvent iEvent){
-		int[] aResMap = new int[_bytesForVars];
-		int anIndex = _task.getAttributes().size() + _channels.size() + _events.indexOf(iEvent);
-		aResMap[anIndex >>> 5] |= 1 << (anIndex & 0x1F);
-		return aResMap;
-	}
-	
-	/*public String makeLiveVarEvalFunc(){
-		String anEvalFunc="";
-		//= "unsigned long getStateHash(const char* iLiveVarList) const{\n";
-		int aSeq=0;
-		for(TMLAttribute att: _task.getAttributes()) {
-			anEvalFunc += "if (iLiveVarList[" + (aSeq >>> 3) + "] && " + (1 << (aSeq & 0x7)) + "!=0) iHash->addValue(" + att.getName() + ");\n";
-			aSeq++;
-		}
-		for(TMLChannel ch: _channels) {
-			anEvalFunc += "if (iLiveVarList[" + (aSeq >>> 3) + "] && " + (1 << (aSeq & 0x7)) + "!=0) " + ch.getExtendedName() + "->getStateHash(iHash);\n";
-			aSeq++;
-		}
-		for(TMLEvent evt: _events) {
-			anEvalFunc += "if (iLiveVarList[" + (aSeq >>> 3) + "] && " + (1 << (aSeq & 0x7)) + "!=0) " + evt.getExtendedName() + "->getStateHash(iHash);\n";
-			aSeq++;
-		}
-		if (_task.isRequested())
-			anEvalFunc += "if (iLiveVarList[" + (aSeq >>> 3) + "] && " + (1 << (aSeq & 0x7)) + "!=0) requestChannel->getStateHash(iHash);\n"; 
-		//anEvalFunc += "}\n\n";
-		return anEvalFunc;
-	}*/
-
-	private void printLiveVarNode(LiveVariableNode iNode){
-		int aSeq=0;
-		for(TMLAttribute att: _task.getAttributes()) {
-			if ((iNode.getOutVars()[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-				TraceManager.addDev(att.getName() + ": significant");
-			aSeq++;
-		}
-		for(TMLChannel ch: _channels) {
-			if ((iNode.getOutVars()[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-				TraceManager.addDev(ch.getName() + ": significant");
-			aSeq++;
-		}
-		for(TMLEvent evt: _events) {
-			if ((iNode.getOutVars()[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-				TraceManager.addDev(evt.getName() + ": significant");
-			aSeq++;
-		}
-		if (_task.isRequested() && (iNode.getOutVars()[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-			TraceManager.addDev("reqChannel: significant");
-	}
-
-	public String printVariables(int[] iVariables){
-		String aResult="";
-		int aSeq=0;
-		for(TMLAttribute att: _task.getAttributes()) {
-			if ((iVariables[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-				aResult+= att.getName() + ",";
-			aSeq++;
-		}
-		for(TMLChannel ch: _channels) {
-			if ((iVariables[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-				aResult+= ch.getName() + ",";
-			aSeq++;
-		}
-		for(TMLEvent evt: _events) {
-			if ((iVariables[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-				aResult+= evt.getName() + ",";
-			aSeq++;
-		}
-		if (_task.isRequested() && (iVariables[aSeq >>> 5] & (1 << (aSeq & 0x1F)))!=0)
-			aResult += "reqCh";
-		return aResult;
-	}
-
-	public LiveVariableNode startAnalysis(){
-		int aNbOfLiveElements = _task.getAttributes().size() + _channels.size() + _events.size();
-		//int aNumberOfBytes=0;
-		//LiveVariableNode.reset();
-		liveNodes = new ArrayList<LiveVariableNode>();
-		if (_task.isRequested()) aNbOfLiveElements++;		
-		_bytesForVars = aNbOfLiveElements >>> 5;
-		if ((aNbOfLiveElements & 0x1F)!=0) _bytesForVars++;
-		LiveVariableNode aStartNode=null, aLastNode=null;
-		//_depChannels.clear();
-		for(TMLAttribute att: _task.getAttributes()) {
-			if (att.hasInitialValue())
-				aStartNode = new LiveVariableNode(this, new int[_bytesForVars], parseExprToVariableMap(att.name, null), null, null,
-			false, att.name, att.initialValue);			
-			else
-				aStartNode = new LiveVariableNode(this, new int[_bytesForVars], parseExprToVariableMap(att.name, null), null, null,
-			false, att.name, "0");
-			liveNodes.add(aStartNode);
-			aStartNode.setNodeInfo("init " + att.getName());
-			if (aLastNode!=null) aLastNode.setSuccessor(aStartNode);
-			aLastNode=aStartNode;
-		}
-		if (_task.isRequested()){
-			int[] aReqVars = parseExprToVariableMap("arg1__req", null);
-			for (int i=2; i<=_task.getRequest().getNbOfParams(); i++){
-				parseExprToVariableMap("arg" + i + "__req", aReqVars);
-			}
-			//parseExprToVariableMap("arg2__req", aReqVars);
-			//parseExprToVariableMap("arg3__req", aReqVars);
-			int[] aReqChannelVar = new int[_bytesForVars];
-			aReqChannelVar[_bytesForVars-1] = 1 << ((aNbOfLiveElements-1) & 0x1F);
-			aStartNode = new LiveVariableNode(this, aReqChannelVar, aReqVars, null, null, true);
-			for(TMLRequest aReq: _requests)
-				if (aReq.getNbOfParams()>0){ aStartNode.setVarDepSource(true); break;}
-			liveNodes.add(aStartNode);
-			aStartNode.setNodeInfo("rec req");
-			aStartNode.setSuccessor(buildLiveAnalysisTree(_task.getActivityDiagram().getFirst(), aStartNode, null));
-		}else{
-			aStartNode = buildLiveAnalysisTree(_task.getActivityDiagram().getFirst(), null, null);
-		}
-		if (aLastNode!=null) aLastNode.setSuccessor(aStartNode);
-		boolean aChange;
-		int aConstChange;
-		do{
-			//TraceManager.addDev("******************* one analysis round");
-			_nextDefID=0;
-			for(LiveVariableNode aLiveNode: liveNodes)
-				aLiveNode.liveVariableInit();
-			do{
-				aChange=false;
-				for(LiveVariableNode aLiveNode: liveNodes)
-					aChange |= aLiveNode.liveVariableAnalysis();
-			}while(aChange);
-			_bytesForDefs = _nextDefID >>> 5;
-			if ((_nextDefID & 0x1F)!=0 || _nextDefID==0) _bytesForDefs++;
-			_varToDefs = new int[aNbOfLiveElements][_bytesForDefs];
-			_defLookup = new LiveVariableNode[_nextDefID];
-			for(LiveVariableNode aLiveNode: liveNodes){
-				aLiveNode.prepareReachingDefinitions();
-			}
-			do{
-				aChange=false;
-				for(LiveVariableNode aLiveNode: liveNodes)
-					aChange |= aLiveNode.determineKilledSets();
-			}while(aChange);
-			for(LiveVariableNode aLiveNode: liveNodes){
-				//aLiveNode.printKillEntries();
-				aLiveNode.reachingDefinitionsInit();
-			}
-			do{
-				aChange=false;
-				for(LiveVariableNode aLiveNode: liveNodes)
-					aChange |= aLiveNode.reachingDefinitionAnalysis();
-			}while(aChange);
-			aConstChange=0;
-			do{
-				aConstChange &= 1;
-				for(LiveVariableNode aLiveNode: liveNodes)
-					aConstChange |= aLiveNode.determineIfConstant();
-			}while(aConstChange>1);
-
-			/*TraceManager.addDev("-----------------new step------------");
-			for(LiveVariableNode aLiveNode: liveNodes){
-				aLiveNode.printReachingEntries();
-				printLiveVarNode(aLiveNode);
-			
-			}*/
-
-			 
-		}while(aConstChange>0);
-		
-		do{
-			aChange=false;
-			for(LiveVariableNode aLiveNode: liveNodes)
-				aChange |= aLiveNode.infectionAnalysis();
-		}while(aChange);
-		return aStartNode;
-	}
-
-	public void determineCheckpoints(int[] iStatistics){
-		TraceManager.addDev("*** Static Analysis for task " + _task.getName());
-		for(LiveVariableNode aLiveNode: liveNodes)
-			aLiveNode.determineCheckpoints(new CheckpointInfo());
-		//TraceManager.addDev("Create array size " + (_bytesForVars << 5));
-		int[] aStatistics = new int[_bytesForVars << 5];
-		int aNbOfCheckPoints=0, aNbOfCandidates=0;
-		for(LiveVariableNode aLiveNode: liveNodes){
-			int aStatResult = aLiveNode.varStatistics(aStatistics);
-			if((aStatResult & 1)!=0){
-				//aLiveNode.printReachingEntries();
-				//printLiveVarNode(aLiveNode);
-				aNbOfCandidates++;
-				if((aStatResult & 2)!=0) aNbOfCheckPoints++;
-			}
-		}
-		if (aNbOfCandidates==0)
-			TraceManager.addDev("No checkpoint candidates");
-		else{
-			TraceManager.addDev("a: " + _task.getAttributes().size() + " c: " + _channels.size() + " e: " + _events.size());
-			int aNbOfLiveElements = _task.getAttributes().size() + _channels.size() + _events.size();
-			int nbOfVars=0, nbOfChannels=0, nbOfEvents=0;
-			for(int i=0; i<_task.getAttributes().size(); i++)
-				nbOfVars += aStatistics[i];
-			TraceManager.addDev("Variables Checks: " + nbOfVars + "  Candidates: " + (_task.getAttributes().size() * aNbOfCandidates));
-			if (!_task.getAttributes().isEmpty()){
-				iStatistics[0] += _task.getAttributes().size() * aNbOfCandidates;
-				int aVarGain = (100 * (_task.getAttributes().size() * aNbOfCandidates - nbOfVars) / (_task.getAttributes().size() * aNbOfCandidates));
-				iStatistics[1] += _task.getAttributes().size() * aNbOfCandidates - nbOfVars;
-				TraceManager.addDev("Variables Gain: " + aVarGain);
-			}
-			for(int i=0; i<_channels.size(); i++)
-				nbOfChannels += aStatistics[i + _task.getAttributes().size()];
-			TraceManager.addDev("Channel Checks: " + nbOfChannels + "  Candidates: " + (_channels.size() * aNbOfCandidates));
-			if (!_channels.isEmpty()){
-				iStatistics[2] += _channels.size() * aNbOfCandidates;
-				int aChGain = (100 * (_channels.size() * aNbOfCandidates - nbOfChannels) / (_channels.size() * aNbOfCandidates));
-				iStatistics[3] += _channels.size() * aNbOfCandidates - nbOfChannels;
-				TraceManager.addDev("Channels Gain: " + aChGain);
-			}
-			for(int i=0; i<_events.size(); i++)
-				nbOfEvents += aStatistics[i + _task.getAttributes().size() + _channels.size()];
-			TraceManager.addDev("Event Checks: " + nbOfEvents + "  Candidates: " + (_events.size() * aNbOfCandidates));
-			if (!_events.isEmpty()){
-				iStatistics[4] += _events.size() * aNbOfCandidates;
-				int aEvtGain = (100 * (_events.size() * aNbOfCandidates - nbOfEvents) / (_events.size() * aNbOfCandidates));
-				iStatistics[5] += _events.size() * aNbOfCandidates - nbOfEvents;
-				TraceManager.addDev("Events Gain: " + aEvtGain);
-			}
-			//TraceManager.addDev("Request Checks: " + aStatistics[_task.getAttributes().size() + _channels.size() + _events.size()] + "  Candidates: " + aNbOfCandidates);
-			//if (_task.isRequested()) TraceManager.addDev("Saved Requests: " + (100* (aNbOfCandidates - aStatistics[_task.getAttributes().size() + _channels.size() + _events.size()]) / aNbOfCandidates));
-			//TraceManager.addDev("Checkpoints: " + aNbOfCheckPoints + "  Candidates: " + aNbOfCandidates);
-			iStatistics[6] += aNbOfCandidates;
-			iStatistics[7] += aNbOfCandidates - aNbOfCheckPoints;
-			TraceManager.addDev("Checkpoint Gain: " + (100 * (aNbOfCandidates - aNbOfCheckPoints) / aNbOfCandidates));
-		}	
-		TraceManager.addDev("*** End of Static Analysis for task " + _task.getName());
-	}
-
-	private LiveVariableNode buildLiveAnalysisTree(TMLActivityElement iCurrElem, LiveVariableNode iReturnNode, LiveVariableNode iSuperiorNode){
-		LiveVariableNode aResNode=null;
-		
-		if (iCurrElem instanceof TMLStartState) {
-			iCurrElem.getNextElement(0);
-		}
-
-		if (iCurrElem==null || iCurrElem instanceof TMLStopState){
-			return iReturnNode;
-
-		} else if (iCurrElem instanceof TMLActionState){
-			String[] aTokens=MappedSystemCTask.formatAction(((TMLActionState)iCurrElem).getAction()).split("=",2);
-			if (aTokens.length<2) aTokens=new String[2];
-			aResNode = new LiveVariableNode(this, parseExprToVariableMap(aTokens[1], null), parseExprToVariableMap(aTokens[0], null), iCurrElem, iSuperiorNode, 
-			false, aTokens[0], aTokens[1]);	
-
- 		} else if (iCurrElem instanceof TMLRandom){
-			TMLRandom aRndCmd=(TMLRandom)iCurrElem;
-			int[] aRandomVars = parseExprToVariableMap(aRndCmd.getMinValue(), null);
-			parseExprToVariableMap(aRndCmd.getMaxValue(), aRandomVars);
-			aResNode = new LiveVariableNode(this, aRandomVars, parseExprToVariableMap(aRndCmd.getVariable(), null), iCurrElem, iSuperiorNode, true);
-			aResNode.setVarDepSource(true);
-
-		} else if (iCurrElem instanceof TMLDelay){
-			int[] aDelayVars = parseExprToVariableMap(((TMLDelay)iCurrElem).getMinDelay(), null);
-			parseExprToVariableMap(((TMLDelay)iCurrElem).getMaxDelay(), aDelayVars);
-			aResNode = new LiveVariableNode(this, aDelayVars, new int[_bytesForVars], iCurrElem, iSuperiorNode);
-
-		} else if (iCurrElem instanceof TMLExecI){
-			aResNode = new LiveVariableNode(this, parseExprToVariableMap(((TMLExecI)iCurrElem).getAction(), null), new int[_bytesForVars], iCurrElem, iSuperiorNode);
-
-		} else if (iCurrElem instanceof TMLExecC){
-			aResNode = new LiveVariableNode(this, parseExprToVariableMap(((TMLExecC)iCurrElem).getAction(), null), new int[_bytesForVars], iCurrElem, iSuperiorNode);
-
-		} else if (iCurrElem instanceof TMLExecIInterval){
-			int[] aExecVars = parseExprToVariableMap(((TMLExecIInterval)iCurrElem).getMinDelay(), null);
-			parseExprToVariableMap(((TMLExecIInterval)iCurrElem).getMaxDelay(), aExecVars);
-			aResNode = new LiveVariableNode(this, aExecVars, new int[_bytesForVars], iCurrElem, iSuperiorNode);
-
-		} else if (iCurrElem instanceof TMLExecCInterval){
-			int[] aExecVars = parseExprToVariableMap(((TMLExecCInterval)iCurrElem).getMinDelay(), null);
-			parseExprToVariableMap(((TMLExecCInterval)iCurrElem).getMaxDelay(), aExecVars);
-			aResNode = new LiveVariableNode(this, aExecVars, new int[_bytesForVars],iCurrElem, iSuperiorNode);
-
-		} else if (iCurrElem instanceof TMLForLoop){
-			TMLForLoop aLoop = (TMLForLoop) iCurrElem;
-			String[] aTokens=aLoop.getInit().split("=",2);
-			if (aTokens.length<2) aTokens=new String[2];
-			LiveVariableNode aInit = new LiveVariableNode(this, parseExprToVariableMap(aTokens[1], null), parseExprToVariableMap(aTokens[0], null), iCurrElem, iSuperiorNode, false, aTokens[0], aTokens[1]);
-			aInit.setNodeInfo("init");
-			LiveVariableNode aCondition = new LiveVariableNode(this, parseExprToVariableMap(aLoop.getCondition(), null), new int[_bytesForVars], iCurrElem, iSuperiorNode);
-			aCondition.setNodeInfo("cond");
-			aTokens=aLoop.getIncrement().split("=",2);
-			if (aTokens.length<2) aTokens=new String[2];
-			LiveVariableNode anIncrement = new LiveVariableNode(this, parseExprToVariableMap(aTokens[1], null), parseExprToVariableMap(aTokens[0],null), iCurrElem, aCondition, false, aTokens[0], aTokens[1]);
-			anIncrement.setNodeInfo("inc");
-			aInit.setSuccessor(aCondition);
-			anIncrement.setSuccessor(aCondition);
-			aCondition.setSuccessor(buildLiveAnalysisTree(iCurrElem.getNextElement(0), anIncrement, aCondition));   //in loop
-			aCondition.setSuccessor(buildLiveAnalysisTree(iCurrElem.getNextElement(1), iReturnNode, aCondition));   //outside loop
-			liveNodes.add(aInit);
-			liveNodes.add(aCondition);
-			liveNodes.add(anIncrement);
-			return aInit;
-
-		} else if (iCurrElem instanceof TMLReadChannel){
-			TMLReadChannel aReadCmd = (TMLReadChannel)iCurrElem;
-			int[] aReadVars=null;
-			if (aReadCmd.getChannel(0).getType()==TMLChannel.BRBW || aReadCmd.getChannel(0).getType()==TMLChannel.BRNBW)
-				aReadVars = parseChannelToVariableMap(aReadCmd.getChannel(0), null);
-			else
-				aReadVars = new int[_bytesForVars];
-			parseExprToVariableMap(aReadCmd.getNbOfSamples(), aReadVars);
-			aResNode = new LiveVariableNode(this, aReadVars, new int[_bytesForVars], iCurrElem, iSuperiorNode);
-
-		} else if (iCurrElem instanceof TMLWriteChannel){
-			TMLWriteChannel aWriteCmd=(TMLWriteChannel)iCurrElem;
-			int[] aWriteVars = new int[_bytesForVars];
-			for(int i=0; i< aWriteCmd.getNbOfChannels(); i++){
-				if (aWriteCmd.getChannel(i).getType()==TMLChannel.BRBW) parseChannelToVariableMap(aWriteCmd.getChannel(i), aWriteVars);
-			}
-			parseExprToVariableMap(aWriteCmd.getNbOfSamples(), aWriteVars);
-			aResNode = new LiveVariableNode(this, aWriteVars, new int[_bytesForVars], iCurrElem, iSuperiorNode);
-			
-		} else if (iCurrElem instanceof TMLSendEvent){
-			TMLSendEvent aSendCmd=(TMLSendEvent)iCurrElem;
-			int[] aSendVars=null;
-			//if (aSendCmd.getEvent().isBlocking())
-				aSendVars = parseEventToVariableMap(aSendCmd.getEvent());
-			//else
-				//aSendVars = new int[_bytesForVars];
-			//parseExprToVariableMap(aSendCmd.getParam(0), aSendVars);
-			//parseExprToVariableMap(aSendCmd.getParam(1), aSendVars);
-			//parseExprToVariableMap(aSendCmd.getParam(2), aSendVars);
-			for (int i=0; i<aSendCmd.getNbOfParams(); i++){	
-				parseExprToVariableMap(aSendCmd.getParam(i), aSendVars);
-			}
-			aResNode = new LiveVariableNode(this, aSendVars, new int[_bytesForVars], iCurrElem, iSuperiorNode);
-		
-		} else if (iCurrElem instanceof TMLSendRequest){
-			TMLSendRequest aSendReqCmd=(TMLSendRequest)iCurrElem;
-			int[] aSendReqVars = parseExprToVariableMap(aSendReqCmd.getParam(0), null);
-			//parseExprToVariableMap(aSendReqCmd.getParam(1), aSendReqVars);
-			//parseExprToVariableMap(aSendReqCmd.getParam(2), aSendReqVars);
-			for (int i=1; i<aSendReqCmd.getNbOfParams(); i++){
-				parseExprToVariableMap(aSendReqCmd.getParam(i), aSendReqVars);
-			}
-			aResNode = new LiveVariableNode(this, aSendReqVars, new int[_bytesForVars], iCurrElem, iSuperiorNode);
-
-		} else if (iCurrElem instanceof TMLWaitEvent){
-			TMLWaitEvent aWaitCmd=(TMLWaitEvent)iCurrElem;
-			int[] aWaitVars = parseExprToVariableMap(aWaitCmd.getParam(0), null);
-			//parseExprToVariableMap(aWaitCmd.getParam(1), aWaitVars);
-			//parseExprToVariableMap(aWaitCmd.getParam(2), aWaitVars);
-			for (int i=1; i<aWaitCmd.getNbOfParams(); i++){
-				parseExprToVariableMap(aWaitCmd.getParam(i), aWaitVars);
-			}
-			aResNode = new LiveVariableNode(this, parseEventToVariableMap(aWaitCmd.getEvent()), aWaitVars, iCurrElem, iSuperiorNode, true);
-			if (aWaitCmd.getEvent().getNbOfParams()>0) aResNode.setVarDepSource(true);
-			
-		} else if (iCurrElem instanceof TMLNotifiedEvent){
-			aResNode = new LiveVariableNode(this, parseEventToVariableMap(((TMLNotifiedEvent)iCurrElem).getEvent()), parseExprToVariableMap(((TMLNotifiedEvent)iCurrElem).getVariable(), null), iCurrElem, iSuperiorNode, true);
-			aResNode.setVarDepSource(true);
-
-		} else if (iCurrElem instanceof TMLSequence){
-			((TMLSequence)iCurrElem).sortNexts();
-			for(int i=((TMLSequence)iCurrElem).getNbNext()-1; i>=0; i--){
-				iReturnNode = buildLiveAnalysisTree(iCurrElem.getNextElement(i), iReturnNode, iSuperiorNode);
-			}
-			return iReturnNode;
-			 
-		} else if (iCurrElem instanceof TMLChoice){
-			int[] aChoiceVars = new int[_bytesForVars];
-			TMLChoice aChoiceCmd = (TMLChoice)iCurrElem;
-			for(int i=0; i<aChoiceCmd.getNbGuard(); i++)
-				if (!(aChoiceCmd.isNonDeterministicGuard(i) || aChoiceCmd.isStochasticGuard(i) || aChoiceCmd.getElseGuard()==i)) parseExprToVariableMap(aChoiceCmd.getGuard(i), aChoiceVars);
-			aResNode = new LiveVariableNode(this, aChoiceVars, new int[_bytesForVars], iCurrElem, iSuperiorNode);
-			if (aChoiceCmd.nbOfNonDeterministicGuard()>0 || aChoiceCmd.nbOfStochasticGuard()>0) aResNode.setInfected(true);
-			//TraceManager.addDev("checl:  " + aChoiceCmd.nbOfNonDeterministicGuard() + " ** "+ aChoiceCmd.nbOfStochasticGuard());
-			for(int i=0; i<aChoiceCmd.getNbNext(); i++)
-				aResNode.setSuccessor(buildLiveAnalysisTree(iCurrElem.getNextElement(i), iReturnNode, aResNode));
-			liveNodes.add(aResNode);
-			return aResNode;
-		
-		} else if (iCurrElem instanceof TMLSelectEvt){
-			aResNode = new LiveVariableNode(this, new int[_bytesForVars], new int[_bytesForVars], iCurrElem, iSuperiorNode);
-			if (iCurrElem.getNbNext()>1) aResNode.setInfected(true);
-			for(int i=0; i<iCurrElem.getNbNext(); i++){
-				aResNode.setSuccessor(buildLiveAnalysisTree(iCurrElem.getNextElement(i), iReturnNode, aResNode));
-			}
-			liveNodes.add(aResNode);
-			return aResNode;
-		}
-
-		LiveVariableNode aSucc = buildLiveAnalysisTree(iCurrElem.getNextElement(0), iReturnNode, iSuperiorNode);
-		if (aResNode==null || aResNode.isEmptyNode()){
-			aResNode=aSucc;
-		}else{
-			liveNodes.add(aResNode);
-			aResNode.setSuccessor(aSucc);
-		}
-		return aResNode;
-	}
-
-	public LiveVariableNode getLiveVarNodeByCommand(TMLActivityElement iCmd){
-		for(LiveVariableNode aLiveNode: liveNodes)
-			if (aLiveNode.getLinkedElement()==iCmd) return aLiveNode;
-		return null;
-	}
-	
-	public void getCommandsImpactingVar(String iVarName, HashSet<Integer> oList){
-		//int[] aVarMap=new int[_bytesForVars];
-		int aVarSeqNo = getVarSeqNoByName(iVarName);
-		if (aVarSeqNo>=0){
-			//aVarMap[aVarSeqNo >>> 5] |= 1 << (aVarSeqNo & 0x1F);
-			int intPos = aVarSeqNo >>> 5;
-			int bitMask = 1 << (aVarSeqNo & 0x1F);
-			for(LiveVariableNode aLiveNode: liveNodes){
-				/*int[] aDefVars = aLiveNode.getDefVars();
-				boolean aMatchFound=false;
-				for (int i=0; i<aDefVars.length && !aMatchFound;i++){
-					aMatchFound |= ((aDefVars[i] & aVarMap[i]) !=0);
-				}*/
-				
-				//if (aMatchFound && aLiveNode.getLinkedElement()!=null) oList.add(aLiveNode.getLinkedElement().getID());
-				if ((aLiveNode.getInitialDefVars()[intPos] & bitMask)!=0){
-					if (aLiveNode.getLinkedElement()!=null) oList.add(aLiveNode.getLinkedElement().getID());
-					else TraceManager.addDev("No linked elem");
-				}else
-					TraceManager.addDev("Bit for var not set");
-			}
-		}else
-			TraceManager.addDev("Variable " + iVarName + " not found in getCommandsImpactingVar");
-	}
-}
diff --git a/src/tmltranslator/tomappingsystemc3/SystemCEBRDD.java b/src/tmltranslator/tomappingsystemc3/SystemCEBRDD.java
deleted file mode 100644
index bdc0d9e410..0000000000
--- a/src/tmltranslator/tomappingsystemc3/SystemCEBRDD.java
+++ /dev/null
@@ -1,719 +0,0 @@
-/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
- *
- * ludovic.apvrille AT telecom-paristech.fr
- * andrea.enrici AT telecom-paristech.fr
- *
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- *
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- *
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- *
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- *
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- *
- * /**
- * Class SystemCEBRDD
- * Creation: 30/05/2014
- * @version 1.0 30/05/2014
- * @author Andrea Enrici, Daniel Knorreck
- * @see
- */
-
-package tmltranslator.tomappingsystemc3;
-
-import java.util.*;
-
-import tmltranslator.*;
-import myutil.*;
-import req.ebrdd.*;
-
-
-public class SystemCEBRDD {
-	private EBRDD ebrdd;
- 	private String reference, cppcode, hcode, initCommand, functions, functionSig, chaining, firstCommand, idsMergedCmds;
-	private String ETclasses;
-	//, ETdeclare, ETInit;
-	private boolean debug;
-	TMLModeling tmlmodeling;
-	TMLMapping tmlmapping;
-	
-	private final static String [] events = {"transexecuted", "cmdentered", "cmdstarted", "cmdexecuted", "cmdfinished", "taskstarted", "taskfinished", "readtrans", "writetrans", "simstarted", "simfinished"};
-	private final static String DOTH = ".h";
-	private final static String DOTCPP = ".cpp";
-	private final static String CR = "\n";
-	private final static String CR2 = "\n\n";
-	private final static String SCCR = ";\n";
-	private final static String EFCR = "}\n";
-	private final static String EFCR2 = "}\n\n";
-	private final static String EF = "}";
-	
-	
-	public SystemCEBRDD(EBRDD _ebrdd, TMLModeling _tmlmodeling, TMLMapping _tmlmapping) {
-        	ebrdd = _ebrdd;
-        	reference = ebrdd.getName();
-		cppcode = "";
-		hcode = "";
-		initCommand="";
-		functions="";
-		chaining="";
-		firstCommand="";
-		functionSig="";
-		idsMergedCmds="";
-		ETclasses="";
-		tmlmodeling=_tmlmodeling;
-		tmlmapping=_tmlmapping;
-    	}
-	
-	public void saveInFiles(String path) throws FileException {	
-		FileUtils.saveFile(path + reference + DOTH, getHCode());
-		FileUtils.saveFile(path + reference + DOTCPP, getCPPCode());
-	}
-	
-	public EBRDD getEBRDD() {
-		return ebrdd;
-	}
-    
-	public void generateSystemC(boolean _debug) {
-        	debug = _debug;
-		//basicHCode();
-		basicCPPCode();
-		makeClassCode();
-    	}
-	
-	public void print() {
-		TraceManager.addDev("EBRDD: " + reference + DOTH + hcode);
-		TraceManager.addDev("EBRDD: " + reference + DOTCPP + cppcode);
-	}
-	
-	
-	public String getCPPCode() {
-		return cppcode;
-	}
-	
-	public String getHCode() {
-		return hcode;
-	}
-	
-	public String getReference() {
-		return reference;
-	}
-	
-	// H-Code
-	private String basicHCode() {
-		String code="";
-		code += "#ifndef " + reference.toUpperCase() + "__H" + CR;
-		code += "#define " + reference.toUpperCase() + "__H" + CR2;
-		code += "#include <definitions.h>\n#include <EBRDD.h>\n#include <ERC.h>\n#include <ESO.h>\n#include <ERB.h>\n#include <EBRDDChoiceCommand.h>\n#include <EBRDDActionCommand.h>\n#include <EBRDDStopCommand.h>\n\n";
-		return code;
-	}
-	
-	// CPP Code
-	private void basicCPPCode() {
-		cppcode += "#include <" + reference + DOTH + ">" + CR2;
-	}
-	
-	private void makeClassCode(){
-		makeHeaderClassH();
-		makeEndClassH();
-		cppcode+=reference+ "::" + makeConstructorSignature()+":EBRDD(iID, iName)"+ CR + makeAttributesCode();
-		cppcode+=initCommand + CR + "{" + CR; 
-		cppcode+= "//generate EBRDD variable look-up table"+ CR;
-		for(int i=0; i< ebrdd.getNbOfAttributes(); i++) {
-			String attName = ebrdd.getAttributeByIndex(i).getName();
-			cppcode += "_varLookUpName[\"" + attName + "\"]=&" + attName +SCCR;
-			//cppcode += "_varLookUpID[" + ebrdd.getAttributeByIndex(i).getID() + "]=&" + attName +SCCR;
-		}		
-		cppcode+=CR + "//command chaining"+ CR;
-		cppcode+= chaining + "_currCommand=" + firstCommand + SCCR + "_firstCommand=" + firstCommand + SCCR + CR; 
-		cppcode+="//IDs of merged commands\n" + idsMergedCmds + CR;
-		cppcode+="}"+ CR2 + functions; // + makeDestructor();
-		hcode = Conversion.indentString(hcode, 4);
-		cppcode = Conversion.indentString(cppcode, 4);
-	}
-	
-	private String makeDestructor(){
-		String dest=reference + "::~" + reference + "(){" + CR;
-		return dest+"}"+CR;
-	}
-
-	private String makeConstructorSignature(){
-		return reference + "(unsigned int iID, std::string iName)";
-	}
-
-	private void makeHeaderClassH() {
-		String hcodeBegin="";
-		// Common dec
-		hcodeBegin = "class " + reference + ": public EBRDD {" + CR;
-		hcodeBegin += "private:" + CR;
-		// Attributes
-		hcodeBegin += "// Attributes" + CR;
-		firstCommand=makeCommands(ebrdd.getStartState(), "0", null, null);
-		hcode = basicHCode() + ETclasses + "\n\n" + hcodeBegin + makeAttributesDeclaration() + CR + hcode;
-		// public dec
-		hcode += CR + functionSig + CR + "public:" + CR;
-		// Simulation
-		hcode += makeConstructorSignature() + SCCR;
-		makeSerializableFuncs();
-	}
-
-	private void makeSerializableFuncs(){
-		hcode += "virtual std::istream& readObject(std::istream& i_stream_var)" + SCCR;
-		hcode += "virtual std::ostream& writeObject(std::ostream& i_stream_var)" + SCCR;
-		functions+= "std::istream& " + reference + "::readObject(std::istream& i_stream_var){\nEBRDD::readObject(i_stream_var);\n"; 
-		for(int i=0; i< ebrdd.getNbOfAttributes(); i++){
-			String attName = ebrdd.getAttributeByIndex(i).getName();
-			functions += "READ_STREAM(i_stream_var," + attName + ")" + SCCR;
-			functions += "std::cout << \"Read: Variable " + attName + " \" << " + attName +  " << std::endl" + SCCR;
-		}
-		functions+= "return i_stream_var;\n}\n\n";
-		functions+= "std::ostream& " + reference + "::writeObject(std::ostream& i_stream_var){\nEBRDD::writeObject(i_stream_var);\n";
-		for(int i=0; i< ebrdd.getNbOfAttributes(); i++){
-			String attName = ebrdd.getAttributeByIndex(i).getName();
-			functions += "WRITE_STREAM(i_stream_var," + attName + ")" + SCCR;
-			functions += "std::cout << \"Write: Variable " + attName + " \" << " + attName +  " << std::endl" + SCCR;
-		}
-		functions+= "return i_stream_var;\n}\n\n";
-		hcode += "void reset()" + SCCR;
-		functions+= "void "+reference + "::reset(){\nEBRDD::reset();\n";
-		for(int i=0; i< ebrdd.getNbOfAttributes(); i++){
-			EBRDDAttribute att = ebrdd.getAttributeByIndex(i);
-			functions += att.getName() + "=";
-			if (att.hasInitialValue())
-				functions += att.getInitialValue() + SCCR;
-			else
-				functions += "0" + SCCR;
-		}
-		functions+= "}\n\n";
-	}
-
-	private String makeCommands(EBRDDComponent currElem, String retElement, MergedCmdStr nextCommandCont, String retElseElement){
-		String nextCommand="",cmdName="";
-
-		if (currElem==null){
-			if (debug) TraceManager.addDev("Checking null\n");
-			return retElement;
-		}
-		
-		if (debug) TraceManager.addDev("Checking " + currElem.getName() + CR);
-
-		if (currElem instanceof EBRDDStart) {
-			if (debug) TraceManager.addDev("Checking Start\n");
-			return makeCommands(currElem.getNextElement(0), retElement,nextCommandCont,null);
-		
-		} else if (currElem instanceof EBRDDStop){
-			if (debug) TraceManager.addDev("Checking Stop\n");
-			if (retElement.equals("0")){
-				cmdName= "_stop" + currElem.getID();
-				hcode+="EBRDDStopCommand " + cmdName + SCCR;
-				initCommand+= "," + cmdName + "(" + currElem.getID() + ",this)" + CR;
-			}else
-				return retElement;
-		
-		} else if (currElem instanceof EBRDDActionState){
-			String action;
-			if (debug) TraceManager.addDev("Checking Action\n");
-			action = ((EBRDDActionState)currElem).getAction();
-			String elemName=currElem.getName(), idString;
-			if (elemName.charAt(0)=='#'){
-				int pos=elemName.indexOf('\\');
-				idString=elemName.substring(1,pos);
-				TraceManager.addDev(elemName + "***" + pos + "***" + idString + "***"+ elemName.length());
-				cmdName="_" + elemName.substring(pos+1) + idString;
-			}else{
-				cmdName= "_action" + currElem.getID();
-				idString=String.valueOf(currElem.getID());
-			}
-			if (nextCommandCont==null){
-				hcode+="EBRDDChoiceCommand " + cmdName + SCCR;
-				MergedCmdStr nextCommandCollection = new MergedCmdStr("", cmdName);
-				initCommand+= "," + cmdName + "("+ idString + ",this,(EBRDDFuncPointer)&" + reference + "::" + cmdName + "_func)"+CR;
-				String MKResult = makeCommands(currElem.getNextElement(0), retElement, nextCommandCollection, null);
-				if(nextCommandCollection.num==0){
-					nextCommand= cmdName + ".setNextCommand(array(1,(EBRDDCommand*)" + MKResult + "));\n";
-				}else{	
-					nextCommand= cmdName + ".setNextCommand(array(" + nextCommandCollection.num + nextCommandCollection.nextCmd + "));\n";
-				}
-				functions+="unsigned int "+ reference + "::" + cmdName + "_func(){\n" + modifyString(addSemicolonIfNecessary(action)) + CR + nextCommandCollection.funcs;
-				if (nextCommandCollection.num==0) functions+="return 0"+ SCCR;
-				functions+= "}" + CR2;
-				functionSig+="unsigned int " + cmdName + "_func()" + SCCR;
-			}else{
-				idsMergedCmds += "_commandHash[" + idString + "]=&" + nextCommandCont.srcCmd + SCCR;
-				nextCommandCont.funcs += modifyString(addSemicolonIfNecessary(action)) + CR;
-				return makeCommands(currElem.getNextElement(0), retElement, nextCommandCont, null);
-			}
-		
-		} else if (currElem instanceof EBRDDLoop){
-			if (debug) TraceManager.addDev("Checking Loop\n");
-			EBRDDLoop fl = (EBRDDLoop)currElem;
-			//EBRDDActionState initAction=new EBRDDActionState("lpInitAc",null);
-			//initAction.setAction(fl.getInit());
-			EBRDDActionState initAction=null;
-			if (!fl.getInit().isEmpty()){
-				initAction = new EBRDDActionState("lpInitAc",null);
-				initAction.setAction(fl.getInit());
-			}
-			//EBRDDActionState incAction=new EBRDDActionState("#"+ fl.getID() + "\\lpIncAc",null);
-			//incAction.setAction(fl.getIncrement());
-			EBRDDActionState incAction=null;
-			if (!fl.getIncrement().isEmpty()){
-				incAction=new EBRDDActionState("#"+ fl.getID() + "\\lpIncAc",null);
-				incAction.setAction(fl.getIncrement());
-			}
-			EBRDDChoice lpChoice=new EBRDDChoice("#"+ fl.getID() + "\\lpChoice",null);
-			lpChoice.addGuard("[ " + fl.getCondition() + " ]");
-			lpChoice.addGuard("[ else ]");
-			//incAction.addNext(lpChoice);
-			lpChoice.addNext(fl.getNextElement(0));  //inside loop
-			lpChoice.addNext(fl.getNextElement(1));  //after loop           cmdName= "_choice" + currElem.getID();
-			if (incAction==null){
-				makeCommands(lpChoice, "&_lpChoice" + fl.getID(), null, retElement);
-			}else{
-				makeCommands(incAction, "&_lpChoice" + fl.getID(), null, null);
-				makeCommands(lpChoice, "&_lpIncAc" + fl.getID(), null, retElement);
-			}
-			return makeCommands(initAction, "&_lpChoice" + fl.getID(), nextCommandCont, null);
-	
-
-		} else if (currElem instanceof EBRDDSequence){
-			EBRDDSequence tmlseq = (EBRDDSequence)currElem;
-			if (debug) TraceManager.addDev("Checking Sequence with "+ tmlseq.getNbNext()+ " elements.");
-			if (tmlseq.getNbNext() == 0) {
-				//if (lastSequence!=null) return makeCommands(lastSequence, retElement,nextCommandCont,functionCont,null);
-                		return retElement;
-            		} else {
-                		if (tmlseq.getNbNext() == 1) {
-                    			return makeCommands(currElem.getNextElement(0), retElement, nextCommandCont, null);
-                		} else {			
-					String nextBranch;
-					tmlseq.sortNexts();
-					if (debug) TraceManager.addDev("Checking Sequence branch "+ (tmlseq.getNbNext()-1));
-					nextBranch= makeCommands(currElem.getNextElement(currElem.getNbNext() - 1), retElement, null, null);
-					for(int i=currElem.getNbNext() - 2; i>=0; i--) {
-						if (debug) TraceManager.addDev("Checking Sequence branch "+ i);
-						nextBranch=makeCommands(currElem.getNextElement(i), nextBranch, null, null);
-					}
-                    			return nextBranch;
-                		}
-            		}
-		} else if(currElem instanceof EBRDDERC){
-			cmdName= "_erc" + currElem.getID();
-			strwrap ETDeclare=new strwrap(), ETInit=new strwrap();
-			LinkedList<String> erbFuncs = new LinkedList<String>();
-			hcode+= cmdName + "_class " + cmdName + SCCR;
-			//ERC declaration!!!
-			buildET(((EBRDDERC)currElem).getRoot(), "this", 0, ETDeclare, ETInit, erbFuncs);
-			initCommand+= ", " + cmdName + "("+ currElem.getID() + ", this";
-			for (String erbFunc : erbFuncs){
-				initCommand+= ", (EBRDDFuncPointer)&" + reference + "::" + erbFunc;
-			}
-			initCommand+=")\n";
-			nextCommand= cmdName + ".setNextCommand(array(1,(EBRDDCommand*)" + makeCommands(currElem.getNextElement(0),retElement,null,null) + "))"+ SCCR;
-			ETclasses+="class " + cmdName + "_class: public ERC{\nprivate:\n" + ETDeclare.str;
-			ETclasses+="public:\n" + cmdName + "_class(unsigned int iID, EBRDD* iEBRDD";
-			for (String erbFunc : erbFuncs){
-			 	ETclasses+= ", EBRDDFuncPointer " + erbFunc;
-			} 
-			ETclasses+= "): ERC(iID, iEBRDD)\n";
-			ETclasses+=ETInit.str + "{}\n};\n\n";
-		
-		} else if (currElem instanceof EBRDDChoice){
-			int returnIndex=0;
-			String elemName=currElem.getName(), idString;
-			if (elemName.charAt(0)=='#'){
-				int pos=elemName.indexOf('\\');
-				idString=elemName.substring(1,pos);
-				TraceManager.addDev(elemName + "***" + pos + "***" + idString + "***"+ elemName.length());
-				cmdName="_" + elemName.substring(pos+1) + idString;
-			}else{
-				cmdName= "_choice" + currElem.getID();
-				idString=String.valueOf(currElem.getID());
-			}
-			EBRDDChoice choice = (EBRDDChoice)currElem;
-			String code = "", nextCommandTemp="", MCResult="";
-			if (debug) TraceManager.addDev("Checking Choice\n");
-			if (choice.getNbGuard() !=0 ) {
-				String guardS = "",code2;
-				int index1 = choice.getElseGuard();
-				for(int i=0; i<choice.getNbGuard(); i++) {
-					code2 = choice.getGuard(i);
-					code2 = Conversion.replaceAllChar(code2, '[', "(");
-					code2 = Conversion.replaceAllChar(code2, ']', ")");
-					if (i==0) {
-						code += "if " + code2;
-					} else {
-						code += " else ";
-						if (i != index1) {
-							code += "if " + code2;
-						}
-					}
-					if (nextCommandCont==null){
-						MergedCmdStr nextCommandCollection = new MergedCmdStr("",cmdName, returnIndex);
-						//TraceManager.addDev("Call makeCommands, task: "+reference);
-						//if (nextCommandCollection==null) TraceManager.addDev("Choice: nextCommandCollection==0");
-						if (retElseElement!=null && i==index1)
-							//else case
-							MCResult = makeCommands(currElem.getNextElement(i), retElseElement,nextCommandCollection,null);
-						else
-							MCResult = makeCommands(currElem.getNextElement(i), retElement,nextCommandCollection,null);
-						if (nextCommandCollection.funcs.length() == 0){
-							code += "{\nreturn " + returnIndex + SCCR +"}" + CR;
-							returnIndex++;
-							nextCommandTemp+= ",(EBRDDCommand*)" + MCResult;
-						}else{
-							returnIndex = nextCommandCollection.num;
-							code += "{\n" + nextCommandCollection.funcs + "return " + returnIndex + ";\n}" + CR;
-							returnIndex++;
-							nextCommandTemp+= nextCommandCollection.nextCmd+ ",(EBRDDCommand*)" + MCResult;
-						}
-					}else{
-						idsMergedCmds += "_commandHash[" + currElem.getID() + "]=&" + nextCommandCont.srcCmd + SCCR;
-						//TraceManager.addDev("Choice: Next command!=0 "+ code2);
-						int oldReturnIndex=nextCommandCont.num;
-						nextCommandCont.funcs += code + "{\n";
-						if (retElseElement!=null && i==index1)
-							MCResult = makeCommands(currElem.getNextElement(i), retElseElement, nextCommandCont,null);
-						else
-							MCResult = makeCommands(currElem.getNextElement(i), retElement, nextCommandCont,null);
-						if (oldReturnIndex==nextCommandCont.num){
-							//TraceManager.addDev("RETURN, ccINC NUM "+ nextCommandCont.num);
-							nextCommandCont.funcs+= "return " + nextCommandCont.num + SCCR;
-							nextCommandCont.num++;
-							nextCommandCont.nextCmd += ",(EBRDDCommand*)" + MCResult;
-						}
-						nextCommandCont.funcs+= "}\n";
-						code="";
-					}
-					 
-				}
-				// If there was no else, do a terminate
-				if (nextCommandCont==null){
-					//TraceManager.addDev("Choice: finalization, add new command\n");
-					if (index1 == -1){
-						code += "return " + returnIndex + SCCR;
-						nextCommand= cmdName + ".setNextCommand(array(" + (returnIndex+1) + nextCommandTemp + ",(EBRDDCommand*)0))" + SCCR;
-					}else{
-						nextCommand= cmdName + ".setNextCommand(array(" + returnIndex + nextCommandTemp + "))" + SCCR;
-					}
-					hcode+="EBRDDChoiceCommand " + cmdName + SCCR;
-					initCommand+= "," + cmdName + "("+ idString +",this,(EBRDDFuncPointer)&" + reference + "::" + cmdName + "_func)\n";
-					functions+="unsigned int "+ reference + "::" + cmdName + "_func(){" + CR + code +CR+ "}" + CR2;
-					functionSig+="unsigned int " + cmdName + "_func()" + SCCR;
-				}else{
-					//TraceManager.addDev("Choice: finalization, No new command\n");
-					if (index1 == -1){
-						nextCommandCont.funcs += "return " + nextCommandCont.num + SCCR;
-						nextCommandCont.nextCmd += ",(EBRDDCommand*)0";
-						//TraceManager.addDev("RETURN, ddINC NUM "+ nextCommandCont.num);
-						nextCommandCont.num++;
-					}
-					cmdName=MCResult;
-				}
-			}
-					
-		} else {
-			TraceManager.addDev("Operator: " + currElem + " is not managed in the current version of this C++ code generator." + "))" + SCCR);
-		}
-		chaining+=nextCommand; 
-		return (cmdName.equals("0") || cmdName.charAt(0)=='&')? cmdName : "&"+cmdName;
-	}
-	
-	
-	private void makeEndClassH() {
-		hcode += "};" + CR + "#endif" + CR;
-	}
-
-	private int buildET(ERCElement currElem, String ancestor, int newID, strwrap ETDeclare, strwrap ETInit, LinkedList<String> erbFuncs){
-		if (currElem==null) return newID;
-		String negated = (currElem.isNegated())? "true":"false";
-		newID++;
-		if (currElem instanceof ESO){
-			ESO currESO = (ESO)currElem;
-			String oncePerEvent = (currESO.getOncePerEvent())? "true":"false";
-			String esoName="";
-			switch (currESO.getID()){
-			case 0://Conjunction
-				//(NotifyIF* iAncestorNode, bool iNegated, unsigned int iNbOfEvents, TMLTime iTimeOut, bool iOncePerEvent)
-				esoName= "_esoConj" + newID;
-				ETDeclare.str+= "ESOConjunction " + esoName + ";\n";
-				ETInit.str+= "," + esoName + "(" + ancestor + ","+ negated + "," + currESO.getNbOfSons() + "," + currESO.getTimeout() + "," + oncePerEvent + ")\n";
-			break;
-			case 1: //Disjunction
-				//ESODisjunction(NotifyIF* iAncestorNode, bool iNegated, unsigned int iNbOfEvents, TMLTime iTimeOut);
-				esoName= "_esoDisj" + newID;
-				ETDeclare.str+= "ESODisjunction " + esoName + ";\n";
-				ETInit.str+= "," + esoName + "(" + ancestor + ","+ negated + "," + currESO.getNbOfSons() + "," + currESO.getTimeout() + ")\n";
-			break;
-			case 2: //Sequence
-				//ESOSequence(NotifyIF* iAncestorNode, bool iNegated, unsigned int iNbOfEvents, TMLTime iTimeOut);
-				esoName= "_esoSeq" + newID;
-				ETDeclare.str+= "ESOSequence " + esoName + ";\n";
-				ETInit.str+= "," + esoName + "(" + ancestor + ","+ negated + "," + currESO.getNbOfSons() + "," + currESO.getTimeout() + ")\n";
-			break;
-			case 3: //Strict sequence
-			case 4: //Simultaneous
-				//ESOSSequence(NotifyIF* iAncestorNode, bool iNegated, unsigned int iNbOfEvents, TMLTime iTimeOut);
-				esoName= "_esoSSeq" + newID;
-				ETDeclare.str+= "ESOSSequence " + esoName + ";\n";
-				ETInit.str+= "," + esoName + "(" + ancestor + ","+ negated + "," + currESO.getNbOfSons() + "," + currESO.getTimeout() + ")\n";
-			break;
-			case 5: //At least/at most
-				if (currESO.getN()==0){
-					//ESOAtMost(NotifyIF* iAncestorNode, bool iNegated, unsigned int iNbOfEvents, TMLTime iTimeOut, bool iOncePerEvent, unsigned int iN);
-					esoName= "_esoAtMost" + newID;
-					ETDeclare.str+= "ESOAtMost " + esoName + ";\n";
-					ETInit.str+= "," + esoName + "(" + ancestor + ","+ negated + "," + currESO.getNbOfSons() + "," + currESO.getTimeout() + "," + oncePerEvent + ","+ currESO.getM() + ")\n";
-				}else{
-					//ESOAtLeast(NotifyIF* iAncestorNode, bool iNegated, unsigned int iNbOfEvents, TMLTime iTimeOut, bool iOncePerEvent, unsigned int iN);
-					esoName= "_esoAtLeast" + newID;
-					ETDeclare.str+= "ESOAtLeast " + esoName + ";\n";
-					ETInit.str+= "," + esoName + "(" + ancestor + ","+ negated + "," + currESO.getNbOfSons() + "," + currESO.getTimeout() + "," + oncePerEvent + ","+ currESO.getN() + ")\n";	
-				}
-				break;
-			default:
-				//can't handle element
-			}
-			for (int i=0; i<currESO.getNbOfSons(); i++){
-				newID = buildET(currESO.getSon(i), "&" + esoName, newID, ETDeclare, ETInit, erbFuncs);
-			} 
-		}else if(currElem instanceof ERB){
-			//getEvent, getCondition, getAction
-			//ERB(NotifyIF* iAncestorNode, bool iNegated, const std::string& iName, unsigned int iSourceClass, unsigned int iSourceID, unsigned int iEvtID);
-			//String message="myEvent(source1, source2, source3)";
-			ERB currERB = (ERB)currElem;
-			String[] tokens = currERB.getEvent().split("[ \\(\\),]+");
-			System.out.print("Tokens: ");
-			for (int i=0; i< tokens.length; i++){
-				System.out.print(tokens[i]+ ", ");
-			}
-			TraceManager.addDev("");
-			if (tokens.length>1){
-				//eventID, sourceClass, arrayOfSources, numberOfSources
-				String erbName= "_erb" + newID;
-				ETDeclare.str+= "ERB " + erbName + ";\n";
-				idtypewrap source=null;
-				ETInit.str+= ", " + erbName + "(this, " + ancestor + ", "+ negated + ", \"" + erbName + "\", ";
-				int paramIndex=1;
-				String sourceIDs="";
-				int nbOfIDs=0;
-				while(paramIndex<tokens.length){
-					source = getIDType(tokens[paramIndex]);
-					sourceIDs += source.id;
-					paramIndex++;
-					nbOfIDs+=source.nbOfIDs;
-				}
-				ETInit.str += getEventCode(tokens[0]) + ", " + source.type + ", array(" + nbOfIDs;
-				ETInit.str += sourceIDs + "), " + nbOfIDs + ", ";
-				if ((currERB.getCondition().isEmpty() || currERB.getCondition().trim().toLowerCase().equals("true")) && currERB.getAction().isEmpty()){
-					ETInit.str += "0, \"" + currERB.getCondition() + "\")\n";
-				}else{
-					if (ancestor.charAt(0)=='&') ancestor=ancestor.substring(1);
-					 ETInit.str += ancestor + erbName + "_func, \"" + currERB.getCondition() + "\")\n";
-					//ERBFunc.str += ", EBRDDFuncPointer " + ancestor + erbName + "_func";
-					erbFuncs.add(ancestor + erbName + "_func");
-					functionSig += "int " + ancestor + erbName + "_func()" + SCCR;
-					if (currERB.getCondition().trim().toLowerCase().equals("true")){
-						functions+= "int " + reference + "::" + ancestor + erbName + "_func(){\n" + currERB.getAction() + "\nreturn true;\n}\n\n";
-					}else{
-						functions+= "int " + reference + "::" + ancestor + erbName + "_func(){\nif(" + currERB.getCondition() + "){\n" + currERB.getAction();
-						functions+= "\nreturn true;\n}else{\nreturn false;\n}\n}\n\n";
-					}
-				}
-			} 
-		}else{
-			//can't handle element
-		}
-		return newID;
-	}
-
-
-	private idtypewrap getIDType(String nodeName){
-		String lnodeName = nodeName.trim().toLowerCase();
-		if (lnodeName.equals("kernel")) return new idtypewrap(7, ", (unsigned int)0", 1);
-		idtypewrap idtype = new idtypewrap(1,"", 0);
-		if (lnodeName.equals("allcpus")){
-			idtype.type = 0;
-			for(HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()){
-				if (node instanceof HwCPU){
-					idtype.id +=", (unsigned int)" + node.getID();
-					idtype.nbOfIDs++;
-				}
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("allbuses")){
-			idtype.type = 1;
-			for(HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()){
-				if (node instanceof HwBus){
-					idtype.id +=", (unsigned int)" + node.getID();
-					idtype.nbOfIDs++;
-				}
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("allbridges")){
-			idtype.type = 3;
-			for(HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()){
-				if (node instanceof HwBridge){
-					idtype.id +=", (unsigned int)" + node.getID();
-					idtype.nbOfIDs++;
-				}
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("allmems")){
-			idtype.type = 2;
-			for(HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()){
-				if (node instanceof HwMemory){
-					idtype.id +=", (unsigned int)" + node.getID();
-					idtype.nbOfIDs++;
-				}
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("allhwa")){
-			idtype.type = 6;
-			for(HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()){
-				if (node instanceof HwA){
-					idtype.id +=", (unsigned int)" + node.getID();
-					idtype.nbOfIDs++;
-				}
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("allchannels")){
-			idtype.type = 4;
-			idtype.nbOfIDs = tmlmodeling.getChannels().size();
-			for(TMLElement elem: tmlmodeling.getChannels()){
-				idtype.id +=", (unsigned int)" + elem.getID();
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("allevents")){
-			idtype.type = 4;
-			idtype.nbOfIDs = tmlmodeling.getEvents().size();
-			for(TMLElement elem: tmlmodeling.getEvents()){
-				idtype.id +=", (unsigned int)" + elem.getID();
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("allrequests")){
-			idtype.type = 4;
-			idtype.nbOfIDs = tmlmodeling.getRequests().size();
-			for(TMLElement elem: tmlmodeling.getRequests()){
-				idtype.id +=", (unsigned int)" + elem.getID();
-			}
-			return idtype;
-		}
-		if (lnodeName.equals("alltasks")){
-			idtype.type = 5;
-			idtype.nbOfIDs = tmlmapping.getMappedTasks().size();
-			for(TMLElement elem: tmlmapping.getMappedTasks()){
-				idtype.id +=", (unsigned int)" + elem.getID();
-			}
-			return idtype;
-		}
-		//allCPUs, allBuses, allBridges, allMemories, allHWAs, allChannels, allEvents, allRequests, allTasks
-		for(HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()){
-			if (node.getName().equals(nodeName)){
-				if (node instanceof HwCPU){
-					return new idtypewrap(0, ", (unsigned int)" + node.getID(), 1);
-				}else if (node instanceof HwBus){
-					return new idtypewrap(1, ", (unsigned int)" + node.getID(), 1);
-				}else if (node instanceof HwBridge){
-					return new idtypewrap(3, ", (unsigned int)" + node.getID(), 1);
-				}else if (node instanceof HwMemory){
-					return new idtypewrap(2, ", (unsigned int)" + node.getID(), 1);
-				}else if (node instanceof HwA){
-					return new idtypewrap(6, ", (unsigned int)" + node.getID(), 1);
-				}
-			}
-		}
-		String nodeName2 = nodeName;
-		TraceManager.addDev("Name of Element: " + nodeName);
-		for(TMLElement elem: tmlmodeling.getChannels()){
-			if (elem.getName().equals(nodeName2)) return new idtypewrap(4, ", (unsigned int)" + elem.getID(), 1);
-			TraceManager.addDev("Compare to: " + elem.getName());
-		}
-		for(TMLElement elem: tmlmodeling.getEvents()){
-			if (elem.getName().equals(nodeName2)) return new idtypewrap(4, ", (unsigned int)" + elem.getID(), 1);
-		}
-		for(TMLElement elem: tmlmodeling.getRequests()){
-			if (elem.getName().equals(nodeName2)) return new idtypewrap(4, ", (unsigned int)" + elem.getID(), 1);
-		}
-		for(TMLElement elem: tmlmapping.getMappedTasks()){
-			if (elem.getName().equals(nodeName2)) return new idtypewrap(5, ", (unsigned int)" + elem.getID(), 1);
-		}
-		return new idtypewrap(-1,", (unsigned int)1", 1);
-	}
-
-	private int getEventCode(String eventText){
-		eventText = eventText.trim().toLowerCase();
-		for (int i= 0; i < events.length; i++){
-			if (eventText.equals(events[i])) return i;
-		}
-		return -1;
-	}
-
-	private String makeAttributesCode() {
-		String code = "";
-		for(int i=0; i< ebrdd.getNbOfAttributes(); i++){
-			EBRDDAttribute att = ebrdd.getAttributeByIndex(i);
-			if (att.hasInitialValue())
-				code += ","+ att.getName() + "(" + att.getInitialValue() + ")"+CR;
-			else
-				code += ","+ att.getName() + "(0)"+CR;
-		}	
-		return code;
-	}
-	
-	private String makeAttributesDeclaration() {
-		String code = "";
-		for(int i=0; i< ebrdd.getNbOfAttributes(); i++){
-			code += "int " + ebrdd.getAttributeByIndex(i).getName();
-			code += ";\n";
-		}
-		return code;
-	}
-	
-
-	private String addSemicolonIfNecessary(String _input) {
-		String code1 = _input.trim();
-		if (!(code1.endsWith(";"))) {
-		code1 += ";";
-		}
-		return code1;
-	}
-
-	private String modifyString(String _input) {
-		_input = Conversion.changeBinaryOperatorWithUnary(_input, "div", "/");
-		_input = Conversion.changeBinaryOperatorWithUnary(_input, "mod", "%");
-        	return _input;
-	}
-
-}
diff --git a/src/tmltranslator/tomappingsystemc3/SystemCTEPE.java b/src/tmltranslator/tomappingsystemc3/SystemCTEPE.java
deleted file mode 100644
index 40307ec5f5..0000000000
--- a/src/tmltranslator/tomappingsystemc3/SystemCTEPE.java
+++ /dev/null
@@ -1,455 +0,0 @@
-/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
-
-ludovic.apvrille AT telecom-paristech.fr
-andrea.enrici AT telecom-paristech.fr
-
-This software is a computer program whose purpose is to allow the 
-edition of TURTLE analysis, design and deployment diagrams, to 
-allow the generation of RT-LOTOS or Java code from this diagram, 
-and at last to allow the analysis of formal validation traces 
-obtained from external tools, e.g. RTL from LAAS-CNRS and CADP 
-from INRIA Rhone-Alpes.
-
-This software is governed by the CeCILL  license under French law and
-abiding by the rules of distribution of free software.  You can  use, 
-modify and/ or redistribute the software under the terms of the CeCILL
-license as circulated by CEA, CNRS and INRIA at the following URL
-"http://www.cecill.info". 
-
-As a counterpart to the access to the source code and  rights to copy,
-modify and redistribute granted by the license, users are provided only
-with a limited warranty  and the software's author,  the holder of the
-economic rights,  and the successive licensors  have only  limited
-liability. 
-
-In this respect, the user's attention is drawn to the risks associated
-with loading,  using,  modifying and/or developing or reproducing the
-software by the user in light of its specific status of free software,
-that may mean  that it is complicated to manipulate,  and  that  also
-therefore means  that it is reserved for developers  and  experienced
-professionals having in-depth computer knowledge. Users are therefore
-encouraged to load and test the software's suitability as regards their
-requirements in conditions enabling the security of their systems and/or 
-data to be ensured and,  more generally, to use and operate it in the 
-same conditions as regards security. 
-
-The fact that you are presently reading this means that you have had
-knowledge of the CeCILL license and that you accept its terms.
-
-/**
- * Class SystemCTEPE
- * Creation: 30/05/2014
- * @version 1.0 30/05/2014
- * @author Andrea ENRICI, Daniel KNORRECK
- * @see
- */
-
-package tmltranslator.tomappingsystemc3;
-
-import java.util.*;
-import tmltranslator.*;
-import myutil.*;
-import tepe.*;
-import java.util.regex.*;
-
-
-public class SystemCTEPE {
-    
-	private final static String CR = "\n";
-	private final static String CR2 = "\n\n";
-	private final static String SCCR = ";\n";
-	private final static String EFCR = "}\n";
-	private final static String EFCR2 = "}\n\n";
-	private final static String EF = "}";
-	private final static Pattern _varPattern = Pattern.compile("[\\w&&\\D]+[\\w]*");
-	private ArrayList<TEPE> _tepes;
-	private int _nbOfFloatingSig=0,_nbOfStartNodes=0;
-	private String _floatingSigProc="", _floatingSigComp="", _floatingEnaComp="", _connect="", _declare="", _evtRegister="", _code="", _listeners="", _eqFuncs="", _eqFuncDecl="";
-	TML2MappingSystemC _tmltranslator;
-
-	public SystemCTEPE(ArrayList<TEPE> tepes, TML2MappingSystemC tmltranslator){
-		_tepes=tepes;
-		_tmltranslator=tmltranslator;
-	}
-	
-	public void generateTEPEs(){
-		_nbOfFloatingSig=0; _nbOfStartNodes=0;
-		_floatingSigProc=""; _floatingSigComp=""; _floatingEnaComp=""; _connect=""; _declare=""; _evtRegister=""; _listeners=""; _eqFuncs=""; _eqFuncDecl="";	
-		if (!_tepes.isEmpty()){
-			TraceManager.addDev("And the TEPEs are...............");
-			for(TEPE tepe: _tepes) {
-				for(TEPEComponent comp: tepe) {
-					TraceManager.addDev("Component: " + comp.getName());
-					generateTEPEProp(comp,null,null,null);
-				}
-			}
-			_code = "bool aIsId;\n" + _declare;
-			//TEPEFloatingSigListener(ListenerSubject<GeneralListener>* iSimulator, unsigned int inbOfSignals, SignalConstraint** iNotifConstr, NtfSigFuncPointer* iNotifFunc);
-			_code += "TEPEFloatingSigListener* flListener = new TEPEFloatingSigListener(_simulator," + _nbOfFloatingSig + ",";
-			if (_nbOfFloatingSig==0)
-				_code += "0,0";
-			else
-				_code+= "array(" + _nbOfFloatingSig + _floatingSigComp + "),array(" + _nbOfFloatingSig + _floatingSigProc + ")";
-			_code += "," + _nbOfStartNodes + ",array(" + _nbOfStartNodes + _floatingEnaComp + "))" + SCCR;
-			_code += "setTEPEEntryPoint(flListener);\n";
-			//_code += "SignalConstraint* opMapping[] = {0" + _floatingSigComp + "}"+SCCR;
-			//_code += "NtfSigFuncPointer fnMapping[] = {0" + _floatingSigProc + "}" + SCCR;
-			//_code += "PropertyConstraint* startNodes[] ={0" + _floatingEnaComp + "}" + SCCR;
-			_code += _connect;
-			_code += _listeners;
-		}
-	}
-	
-	public void saveFile(String filename) throws FileException{
-		FileUtils.saveFile(filename, _code);
-	}
-	
-	public String getCode(){
-		return _code;
-	}
-	
-	public String getEqFuncs(){
-		return _eqFuncs;
-	}
-	
-	public String getEqFuncDeclaration(){
-		return _eqFuncDecl;
-	}
-	
-	private String getTEPECompName(TEPEComponent currComp){
-		return "_" + Conversion.replaceAllChar(currComp.getName(),' ',"") + currComp.getID();
-	}
-	
-	private String[] getExprIDTskvarStrings(TEPEComponent currComp, String initExpr){
-		String[] resultStr = new String[3];
-		for(int i=0; i<3; i++)
-			resultStr[i]="";
-		LinkedList<String> addTokenList = new LinkedList<String>();
-		ArrayList<String> addTskVarList = new ArrayList<String>();
-		HashSet<Integer> addCmdIDList = new HashSet<Integer>();
-		parseExprToTokenList(initExpr, addTokenList);
-		if (currComp instanceof TEPEAttributeComponent){
-			generateTEPEProp(currComp, addTokenList, addTskVarList, addCmdIDList);
-		}else{
-			for(TEPEComponent linkedComps: currComp.getInAttributes()){
-				generateTEPEProp(linkedComps, addTokenList, addTskVarList, addCmdIDList);
-			}
-		}
-		for(String anAddString: addTokenList){
-			resultStr[0] += anAddString;
-		}
-		resultStr[1] += "array(" + addCmdIDList.size();
-		for(Integer id: addCmdIDList){
-			resultStr[1]+= ",(ID)" + id.toString();
-		}
-		resultStr[1] += ")," + addCmdIDList.size() ;
-		resultStr[2] += "array(" + addTskVarList.size();
-		for(String anAddTskVar: addTskVarList)
-			resultStr[2] += "," + anAddTskVar;
-		resultStr[2] += ")";
-		return resultStr;
-	}
-	
-	private String connectOutSignals(TEPEComponent currComp, int maxNoOfInSig, int maxNoOfNegInSig){
-		String connect="";
-		if (currComp.hasOutSignalComponents()){	
-			for(TEPEComponent outCmp: currComp.getOutSignals()){
-				int index = outCmp.getInSignals().indexOf(currComp);
-				String suffix = (index==-1)? "f": ""+(index+1);
-				connect += getTEPECompName(currComp) + "->connectSigOut(" + getTEPECompName(outCmp) + ",&SignalConstraint::notifyS" + suffix + ")" + SCCR;
-			}
-		}else
-			TraceManager.addDev(getTEPECompName(currComp) + " has no out signal components");
-			
-		//connect floating in Signal Components
-		int noOfSig= (currComp.hasInSignalComponents())? currComp.getInSignals().size():0;
-		TraceManager.addDev(getTEPECompName(currComp) + " Number of sig: " + noOfSig);
-		for(int i=noOfSig+1; i<=maxNoOfInSig; i++){
-			_floatingSigProc += ",&SignalConstraint::notifyS" + i;
-			_floatingSigComp += ",(SignalConstraint*)" + getTEPECompName(currComp);
-			_nbOfFloatingSig++;
-		}
-		noOfSig= (currComp.hasInNegatedSignalComponents())? currComp.getInNegatedSignals().size():0;
-		TraceManager.addDev(getTEPECompName(currComp) + " Number of neg sig: " + noOfSig);
-		for(int i=noOfSig; i<maxNoOfNegInSig; i++){
-			_floatingSigProc += ",&SignalConstraint::notifySf";
-			_floatingSigComp += ",(SignalConstraint*)" + getTEPECompName(currComp);
-			_nbOfFloatingSig++;
-		}
-		return connect;
-	}
-	
-	private String connectOutProperties(TEPEComponent currComp){
-		String connect="";
-		if (currComp.hasInPropertyComponents()){
-			connect += getTEPECompName(currComp) + "->connectEnaOut(array(" + currComp.getInProperties().size();
-			for(TEPEComponent outCmp: currComp.getInProperties()){
-				//connect += getTEPECompName(currComp) + "->connectEnaOut(array(1,(PropertyConstraint*)" + getTEPECompName(outCmp) + "),1)" + SCCR;
-				connect += ",(PropertyConstraint*)" + getTEPECompName(outCmp);
-			}
-			connect += ")," + currComp.getInProperties().size() + ")" + SCCR;
-		}else
-			TraceManager.addDev(getTEPECompName(currComp) + " has no out properties.\n");
-		if (!currComp.hasOutPropertyComponents()){
-			_floatingEnaComp+= ",(PropertyConstraint*)" + getTEPECompName(currComp);
-			_nbOfStartNodes++;
-		}
-		return connect;
-	}
-	
-	private void parseExprToTokenList(String iAdd, LinkedList<String> iList){
-		//LinkedList<String> resultList = new LinkedList<String>();
-		Matcher matcher = _varPattern.matcher(iAdd);
-		//System.out.print("Found tokens: ");
-		int lastEnd=0;
-		while (matcher.find()){
-			String token = iAdd.substring(matcher.start(), matcher.end()).trim();
-			if (matcher.start()>lastEnd) iList.add(iAdd.substring(lastEnd,matcher.start()).trim());
-			iList.add(token);
-			lastEnd=matcher.end();
-		}
-		if (lastEnd<iAdd.length()) iList.add(iAdd.substring(lastEnd,iAdd.length()).trim());
-	}
-	
-	private void replaceTokenInList(LinkedList<String> iList, String iReplace, String iAdd){
-		iReplace = iReplace.trim();
-		ListIterator itr = iList.listIterator();
-		LinkedList<String> addTokenList= new LinkedList<String>();
-		parseExprToTokenList(iAdd,addTokenList);
-		boolean aFound;
-		TraceManager.addDev("Decomp in replaceTokenInList: ");
-		for(String aToken: addTokenList)
-			System.out.print(aToken + ", ");
-		TraceManager.addDev("");
-		do{
-			aFound=false;
-			while(!aFound && itr.hasNext()){
-				aFound = ((String)itr.next()).equals(iReplace);
-			}
-			if (aFound){
-				TraceManager.addDev("Pattern found\n");
-				itr.remove();
-				for(String anAddString: addTokenList){
-					itr.add(anAddString);
-				}
-			}
-		}while(itr.hasNext());
-	}
-	
-	private String getSignalsForListener(TEPEComponent currComp){
-		String result= currComp.getOutSignals().size() + ",array(" + currComp.getOutSignals().size();
-		String aDstFuncs="";
-		for (TEPEComponent aDstCmp: currComp.getOutSignals()){
-			int index = aDstCmp.getInSignals().indexOf(currComp);
-			String suffix = (index==-1)? "f": ""+(index+1);
-			result += ",(SignalConstraint*)" + getTEPECompName(aDstCmp);
-			aDstFuncs += ",(NtfSigFuncPointer)&SignalConstraint::notifyS" + suffix;
-		}
-		result += "),array(" + currComp.getOutSignals().size() + aDstFuncs + ")";
-		return result;
-	}
-	
-	private void generateTEPEProp(TEPEComponent currComp, LinkedList<String> iTokenList, ArrayList<String> iTskVarList, HashSet<Integer> iCmdIDList){
-		
-		if (!(currComp instanceof TEPEPropertyComponent || currComp.hasOutAttributeComponents() || currComp.hasOutSignalComponents() || currComp.hasOutPropertyComponents())) return;
-		
-		String cmpName =  getTEPECompName(currComp);
-		
-		if(currComp instanceof TEPEAttributeComponent){
-			if (iTokenList==null){
-				if (currComp.hasOutSignalComponents()){
-					String[] decomp = getExprIDTskvarStrings(currComp, currComp.getValue());
-					_eqFuncDecl+= "ParamType " + cmpName + "_func(ParamType** iVar);\n";
-					_eqFuncs += "ParamType " + cmpName + "_func(ParamType** iVar){\n return " + decomp[0];
-					_eqFuncs += ";\n}\n\n";
-					_listeners+= "TEPESettingListener* " + cmpName + "_listener = new TEPESettingListener(" + decomp[1] + "," + decomp[2];
-					_listeners+= ",&" + cmpName + "_func" + "," + getSignalsForListener(currComp);
-					_listeners+= ",this,_simulator)" + SCCR;
-					_listeners+= "addTEPEListener((GeneralListener*)" + cmpName + "_listener);\n";
-				}
-				
-			}else{
-				//replaceTokenInList(iTokenList, currComp.getValue(), ((TEPEAttributeComponent)currComp).getBlockName() + "x" + currComp.getValue());
-				replaceTokenInList(iTokenList, currComp.getValue(), "*iVar[" + iTskVarList.size() + "]");
-				//iTskVarList.add( "&task__" + ((TEPEAttributeComponent)currComp).getBlockName() + "->" + currComp.getValue());
-				iTskVarList.add("getTaskByName(\""+ ((TEPEAttributeComponent)currComp).getBlockName() + "\")-> getVariableByName(\"" + currComp.getValue() + "\", aIsId)");
-				//getCommandsImpactingVar(String iVarName, ArrayList<Integer> oList)
-				MappedSystemCTask srcTsk = _tmltranslator.getMappedTaskByName(((TEPEAttributeComponent)currComp).getBlockName());
-				if (srcTsk==null)
-					TraceManager.addDev("Task not found: " + ((TEPEAttributeComponent)currComp).getBlockName());
-				else{
-					TraceManager.addDev("Search for Var " + currComp.getValue() +" in Task " + ((TEPEAttributeComponent)currComp).getBlockName());
-					srcTsk.getAnalysis().getCommandsImpactingVar(currComp.getValue(), iCmdIDList);
-				}
-			}
-		
-		}else if (currComp instanceof TEPEAliasComponent){
-			//no param
-			_declare+= "AliasConstraint* " + cmpName + " = new AliasConstraint(" + currComp.getID() + ")" + SCCR;
-			_connect += connectOutSignals(currComp,2,0);
-		
-		}else if (currComp instanceof TEPEEquationComponent){
-			/*LinkedList<String> addTokenList = new LinkedList<String>();
-			ArrayList<String> addTskVarList = new ArrayList<String>();
-			HashSet<Integer> addCmdIDList = new HashSet<Integer>();
-			parseExprToTokenList(currComp.getValue(), addTokenList);
-			for(TEPEComponent linkedComps: currComp.getInAttributes()){
-				TraceManager.addDev("%%%%%%%%%%% in Attribute");
-				generateTEPEProp(linkedComps, addTokenList, addTskVarList, addCmdIDList);
-			}*/
-			String[] decomp = getExprIDTskvarStrings(currComp, currComp.getValue());
-			_declare+= "EqConstraint* " + cmpName + " = new EqConstraint(" + currComp.getID() + ",GENERAL,true)" + SCCR;
-			//System.out.print(cmpName + "transformed to: ");
-			_eqFuncDecl+= "bool " + cmpName + "_func(ParamType** iVar);\n";
-			_eqFuncs += "bool " + cmpName + "_func(ParamType** iVar){\n return " + decomp[0];
-			/*for(String anAddString: addTokenList){
-				System.out.print(anAddString);
-				_eqFuncs += anAddString;
-			}
-			TraceManager.addDev();*/
-			_eqFuncs += ";\n}\n\n";
-			_listeners+= "TEPEEquationListener* " + cmpName + "_listener = new TEPEEquationListener(" + decomp[1] + "," + decomp[2];
-			/*"array(" + addCmdIDList.size();
-			for(Integer id: addCmdIDList){
-				_listeners+= ",(ID)" + id.toString();
-			} _listeners+= ")," + addCmdIDList.size() + "," + "array(" + addTskVarList.size();
-			for(String anAddTskVar: addTskVarList)
-				_listeners+= "," + anAddTskVar;*/
-			_listeners+= ",&" + cmpName + "_func" + "," + cmpName + ",&SignalConstraint::notifyS1,this, _simulator)" + SCCR;
-			_connect += connectOutSignals(currComp,0,0);
-			_connect += connectOutProperties(currComp);
-			_listeners+= "addTEPEListener((GeneralListener*)" + cmpName + "_listener);\n";
-		
-		}else if (currComp instanceof TEPELogicalConstraintComponent){
-			//LogConstraint(PropType iType, bool iIncludeBounds)
-			//SeqConstraint(PropType iType, bool iIncludeBounds)
-			if (((TEPELogicalConstraintComponent)currComp).getType()==TEPELogicalConstraintComponent.SEQUENCE){
-				_declare += "SeqConstraint* " + cmpName + " = new SeqConstraint("+ currComp.getID() + ",GENERAL,true)" + SCCR;
-			}else{
-				_declare += "LogConstraint* " + cmpName + " = new LogConstraint("+ currComp.getID() + ",GENERAL,true)" + SCCR;
-			}
-			//_declare += "addTEPEConstraint(" + cmpName + ");\n";
-			_connect += connectOutSignals(currComp,2,1);
-			_connect += connectOutProperties(currComp);
-		
-		}else if (currComp instanceof TEPEPropertyComponent){
-			//PropLabConstraint(PropLabType iType)
-			_declare += "PropLabConstraint* " + cmpName + " = new PropLabConstraint(";
-			TEPEPropertyComponent propComp = (TEPEPropertyComponent)currComp;
-			if (propComp.getType()==TEPEPropertyComponent.LIVENESS){
-				_declare += "LIVENESS";
-			}else if (propComp.getType()==TEPEPropertyComponent.NON_LIVENESS){
-				_declare += "NLIVENESS";
-			}else if (propComp.getType()==TEPEPropertyComponent.REACHABILITY){
-				_declare += "REACHABILITY";
-			}else{
-				_declare += "NREACHABILITY";
-			}
-			_declare += ")" + SCCR;
-			//_declare += "addTEPEConstraint(" + cmpName + ");\n";
-			_connect += connectOutProperties(currComp);
-		
-		}else if (currComp instanceof TEPEPropertyOperatorComponent){
-			//PropRelConstraint(PropRelType iType)
-			_declare += "PropRelConstraint* " + cmpName + " = new PropRelConstraint(";
-			TEPEPropertyOperatorComponent propOpComp = (TEPEPropertyOperatorComponent)currComp;
-			if (propOpComp.getType()==TEPEPropertyOperatorComponent.OR){
-				_declare += "OR";
-			}else{
-				_declare += "AND";
-			}
-			_declare += ")" + SCCR;
-			//_connect += connectOutSignals(currComp);
-			//_declare += "addTEPEConstraint(" + cmpName + ");\n";
-			_connect += connectOutProperties(currComp);
-		
-		}else if (currComp instanceof TEPESettingComponent){
-			//Variable Setting
-			//TEPESettingListener::TEPESettingListener(ID* iSubjectIDs, unsigned int iNbOfSubjectIDs, ParamType** iVar, SettingFuncPointer iSetFunc, unsigned int inbOfSignals, SignalConstraint** iNotifConstr, NtfSigFuncPointer* iNotifFunc, SimComponents* iSimComp, ListenerSubject<GeneralListener>* iSimulator);
-			if (iTokenList==null){
-				if (currComp.hasOutSignalComponents()){
-					String[] decomp = getExprIDTskvarStrings(currComp, currComp.getValue().split("=",2)[1]);
-					_eqFuncDecl+= "ParamType " + cmpName + "_func(ParamType** iVar);\n";
-					_eqFuncs += "ParamType " + cmpName + "_func(ParamType** iVar){\n return " + decomp[0];
-					_eqFuncs += ";\n}\n\n";
-					_listeners+= "TEPESettingListener* " + cmpName + "_listener = new TEPESettingListener(" + decomp[1] + "," + decomp[2];
-					_listeners+= ",&" + cmpName + "_func" + "," + getSignalsForListener(currComp);
-					_listeners+= ",this,_simulator)" + SCCR;
-					_listeners+= "addTEPEListener((GeneralListener*)" + cmpName + "_listener);\n";
-				}
-			}else{
-				String[] lhsrhs = currComp.getValue().split("=",2);
-				//TraceManager.addDev("Replace " + lhsrhs[0] + " by " + lhsrhs[1] + " before: ");
-				for(String aToken: iTokenList)
-					System.out.print(aToken + ", ");
-				//TraceManager.addDev("\nafter:");
-				replaceTokenInList(iTokenList, lhsrhs[0], lhsrhs[1]);
-				/*for(String aToken: iTokenList)
-					System.out.print(aToken + ", ");
-				TraceManager.addDev("");*/
-				for(TEPEComponent linkedComps: currComp.getInAttributes())
-					generateTEPEProp(linkedComps, iTokenList, iTskVarList, iCmdIDList);
-			}
-		
-		}else if (currComp instanceof TEPESignalComponent){
-			//Declaration of Signal?
-			//TEPESigListener(ID* iSubjectIDs, unsigned int nbOfSubjectIDs, unsigned int iEvtBitmap, unsigned int iTransTypeBitmap, SignalConstraint* iNotifConstr, NtfSigFuncPointer iNotifFunc, SimComponents* iSimComp)
-			if (currComp.hasOutSignalComponents()){
-				String[] aTokens = currComp.getValue().split("__");
-				TraceManager.addDev("name of block: "  + currComp.getValue());
-				for(int i=0; i<aTokens.length; i++)
-					TraceManager.addDev("A tokens [" + i + "]: " + aTokens[i]);
-				TraceManager.addDev("A tokens lenght: " + aTokens.length);
-				String[] aSrcIDs = aTokens[0].split("_");
-				String[] aEvts = aTokens[1].split("_");
-				String[] aTransTypes = aTokens[2].split("_");
-				String[] aEvtDescriptor = {"SIMSTART", "SIMEND", "TIMEADV", "TASKSTART", "TASKEND", "CMDRUNNABLE", "CMDSTART", "CMDEND", "TRANSEXEC"};
-				String[] aTransDescriptor = {"NONE", "EXE", "RD", "WR", "SEL", "SND", "REQ", "WAIT", "NOTIF", "ACT", "CHO", "RND", "STP"};
-				_listeners+= "TEPESigListener* " + cmpName + "_listener= new TEPESigListener(array(" + (aSrcIDs.length-1);
-				for(int i=1; i<aSrcIDs.length; i++)
-					_listeners+= ",(ID)" + aSrcIDs[i];
-				_listeners+= ")," + (aSrcIDs.length-1) + ",";
-				int aEvtCode=0, aTransCode=0;
-				for(int aEvtsInSigCmp=0; aEvtsInSigCmp<aEvts.length; aEvtsInSigCmp++){
-					for(int aEvtDescr=0; aEvtDescr<aEvtDescriptor.length; aEvtDescr++ ){
-						if (aEvts[aEvtsInSigCmp].toUpperCase().equals(aEvtDescriptor[aEvtDescr])) aEvtCode += (1<<aEvtDescr);
-					}
-				}
-				for(int aTransInSigCmp=0; aTransInSigCmp<aTransTypes.length; aTransInSigCmp++){
-					for(int aTransDescr=0; aTransDescr<aTransDescriptor.length; aTransDescr++ ){
-						if (aTransTypes[aTransInSigCmp].toUpperCase().equals(aTransDescriptor[aTransDescr])) aTransCode += (1<<aTransDescr);
-					}
-				}
-				
-				_listeners+= aEvtCode + "," + aTransCode + "," + getSignalsForListener(currComp);
-				/*_listeners+= currComp.getOutSignals().size() + ",array(" + currComp.getOutSignals().size();
-				String aDstFuncs="";
-				for (TEPEComponent aDstCmp: currComp.getOutSignals()){
-					int index = aDstCmp.getInSignals().indexOf(currComp);
-					String suffix = (index==-1)? "f": ""+(index+1);
-					_listeners += ",(SignalConstraint*)" + getTEPECompName(aDstCmp);
-					aDstFuncs += ",(NtfSigFuncPointer)&SignalConstraint::notifyS" + suffix;
-				}
-				_listeners += "),array(" + currComp.getOutSignals().size() + aDstFuncs + ")*/
-				_listeners += ",this, _simulator)" + SCCR;
-				_listeners+= "addTEPEListener((GeneralListener*)" + cmpName + "_listener);\n";
-			}
-			
-		}else if (currComp instanceof TEPETimeConstraintComponent){
-			//TimeMMConstraint(PropType iType, TMLTime iTmin, TMLTime iTmax, bool iRetrigger, bool iIncludeBounds)
-			//TimeTConstraint(TMLTime iT, bool iRetrigger, bool iIncludeBounds)
-			TEPETimeConstraintComponent timeConstr = (TEPETimeConstraintComponent)currComp;
-			if (currComp.getInSignals().size()>1){
-				String[] minMaxValues = timeConstr.getValue().split(",",2);
-				_declare += "TimeMMConstraint* " + cmpName +  " = new TimeMMConstraint("+ currComp.getID() + ",GENERAL, " + minMaxValues[0] + "," + minMaxValues[1] + ",false,true)"  + SCCR;
-				_connect += connectOutSignals(currComp,2,0);
-			}else{
-				_declare += "TimeTConstraint* " + cmpName + " =  new TimeTConstraint(" + currComp.getID() + "," + timeConstr.getValue() + ",false,true)"  + SCCR;
-				_connect += connectOutSignals(currComp,1,0);
-			}
-			//_declare += "addTEPEConstraint(" + cmpName + ");\n";
-			_connect += connectOutProperties(currComp);
-		}
-	}
-
-}
diff --git a/src/tmltranslator/tomappingsystemc3/TML2MappingSystemC.java b/src/tmltranslator/tomappingsystemc3/TML2MappingSystemC.java
deleted file mode 100755
index 2ff6bdc2e8..0000000000
--- a/src/tmltranslator/tomappingsystemc3/TML2MappingSystemC.java
+++ /dev/null
@@ -1,833 +0,0 @@
-/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
-
-ludovic.apvrille AT telecom-paristech.fr
-andrea.enrici AT telecom-paristech.fr
-
-This software is a computer program whose purpose is to allow the 
-edition of TURTLE analysis, design and deployment diagrams, to 
-allow the generation of RT-LOTOS or Java code from this diagram, 
-and at last to allow the analysis of formal validation traces 
-obtained from external tools, e.g. RTL from LAAS-CNRS and CADP 
-from INRIA Rhone-Alpes.
-
-This software is governed by the CeCILL  license under French law and
-abiding by the rules of distribution of free software.  You can  use, 
-modify and/ or redistribute the software under the terms of the CeCILL
-license as circulated by CEA, CNRS and INRIA at the following URL
-"http://www.cecill.info". 
-
-As a counterpart to the access to the source code and  rights to copy,
-modify and redistribute granted by the license, users are provided only
-with a limited warranty  and the software's author,  the holder of the
-economic rights,  and the successive licensors  have only  limited
-liability. 
-
-In this respect, the user's attention is drawn to the risks associated
-with loading,  using,  modifying and/or developing or reproducing the
-software by the user in light of its specific status of free software,
-that may mean  that it is complicated to manipulate,  and  that  also
-therefore means  that it is reserved for developers  and  experienced
-professionals having in-depth computer knowledge. Users are therefore
-encouraged to load and test the software's suitability as regards their
-requirements in conditions enabling the security of their systems and/or 
-data to be ensured and,  more generally, to use and operate it in the 
-same conditions as regards security. 
-
-The fact that you are presently reading this means that you have had
-knowledge of the CeCILL license and that you accept its terms.
-
-/**
- * Class TML2MappingSystemC
- * Creation: 30/05/2014
- * @version 1.0 30/05/2014
- * @author Andrea Enrici, Daniel Knorreck
- * @see
- */
-
-package tmltranslator.tomappingsystemc3;
-
-import java.util.*;
-
-import tmltranslator.*;
-import myutil.*;
-import req.ebrdd.*;
-import tepe.*;
-
-
-public class TML2MappingSystemC {
-    
-	private final static String CR = "\n";
-	private final static String CR2 = "\n\n";
-	private final static String SCCR = ";\n";
-	private final static String EFCR = "}\n";
-	private final static String EFCR2 = "}\n\n";
-	private final static String EF = "}";
-	private final static int MAX_EVENT = 1024;
-	
-	private TMLModeling tmlmodeling;
-	private TMLMapping tmlmapping;
-	
-	private boolean debug;
-	private boolean optimize;
-	private String header, declaration, mainFile, src;
-	private ArrayList<MappedSystemCTask> tasks;
-	
-	//private ArrayList<EBRDD> ebrdds;
-	//private ArrayList<TEPE> tepes;
-	SystemCTEPE tepeTranslator;
-	//private ArrayList<SystemCEBRDD> systemCebrdds = new ArrayList<SystemCEBRDD>();
-    
-	public TML2MappingSystemC( TMLModeling _tmlm ) {
-
-		tmlmodeling = _tmlm;
-		tmlmapping = tmlmodeling.getDefaultMapping();
-		tepeTranslator = new SystemCTEPE( new ArrayList<TEPE>(), this );
-	}
-	
-	public TML2MappingSystemC( TMLMapping _tmlmapping ) {
-
-		tmlmapping = _tmlmapping;
-		tmlmapping.makeMinimumMapping();
-		tepeTranslator = new SystemCTEPE( new ArrayList<TEPE>(), this );
- 	}
-
-	public TML2MappingSystemC( TMLModeling _tmlm, ArrayList<EBRDD> _ebrdds, ArrayList<TEPE> _tepes ) {
-	
-		tmlmodeling = _tmlm;
-		//ebrdds = _ebrdds;
-		tmlmapping = tmlmodeling.getDefaultMapping();
-		tepeTranslator = new SystemCTEPE( _tepes, this );
-		//tepeTranslator.generateTEPEs();
-	}
-	
-	public TML2MappingSystemC( TMLMapping _tmlmapping, ArrayList<EBRDD> _ebrdds, ArrayList<TEPE> _tepes ) {
-
-		tmlmapping = _tmlmapping;
-		//ebrdds = _ebrdds;
-		tmlmapping.makeMinimumMapping();
-		tepeTranslator = new SystemCTEPE( _tepes, this );
-		//tepeTranslator.generateTEPEs();
- 	}
-    
-	public void saveFile( String path, String filename ) throws FileException {  
-
-		generateTaskFiles( path );
-    FileUtils.saveFile( path + filename + ".cpp", getFullCode() );
-		src += filename + ".cpp";
-		FileUtils.saveFile( path + "Makefile.src", src );
-		//tepeTranslator.saveFile(path + "src_simulator/TEPE/test.h");
-	}
-	
-	public String getFullCode() {
-		return mainFile;
-	}
-
-	public void generateSystemC( boolean _debug, boolean _optimize ) {
-		
-		debug = _debug;
-		optimize = _optimize;
-		tmlmapping.removeAllRandomSequences();
-		tmlmodeling = tmlmapping.getTMLModeling();
-		tasks = new ArrayList<MappedSystemCTask>();
-   	//generateSystemCTasks();
-		//generateEBRDDs();
-		generateMainFile();
-		generateMakefileSrc();
-	}
-	
-	private void generateMainFile() {
-
-		makeHeader();
-		makeDeclarations();
-		header += tepeTranslator.getEqFuncDeclaration() + "\n";
-		mainFile = header + declaration;
-		mainFile = Conversion.indentString( mainFile, 4 );
-	}
-	
-	private void generateMakefileSrc() {
-
-		src = "SRCS = ";
-		for(TMLTask mst: tmlmapping.getMappedTasks()) {
-			src += mst.getName() + ".cpp ";
-		}
-		//for(EBRDD ebrdd: ebrdds){
-		//	src += ebrdd.getName() + ".cpp ";
-		//}
-	}
-	
-	private void makeHeader() {
-		// System headers
-		header = "#include <Simulator.h>" + CR;
-		header += "#include <AliasConstraint.h>\n#include <EqConstraint.h>\n#include <LogConstraint.h>\n#include <PropLabConstraint.h>\n";
-		header += "#include <PropRelConstraint.h>\n#include <SeqConstraint.h>\n#include <SignalConstraint.h>\n#include <TimeMMConstraint.h>\n";
-		header += "#include <TimeTConstraint.h>\n";
-		header += "#include <CPU.h>\n#include <SingleCoreCPU.h>\n#include <RRScheduler.h>\n#include <RRPrioScheduler.h>\n#include <PrioScheduler.h>\n#include <Bus.h>\n";
-		header += "#include <Bridge.h>\n#include <Memory.h>\n#include <TMLbrbwChannel.h>\n#include <TMLnbrnbwChannel.h>\n";
-		header += "#include <TMLbrnbwChannel.h>\n#include <TMLEventBChannel.h>\n#include <TMLEventFChannel.h>\n#include <TMLEventFBChannel.h>\n";
-		header += "#include <TMLTransaction.h>\n#include <TMLCommand.h>\n#include <TMLTask.h>\n";
-		header += "#include <SimComponents.h>\n#include <Server.h>\n#include <SimServSyncInfo.h>\n#include <ListenersSimCmd.h>\n";
-
-		// Generate tasks header
-		for(TMLTask mst: tmlmapping.getMappedTasks()) {
-			//header += "#include <" + mst.getReference() + ".h>" + CR;
-			header += "#include <" + mst.getName() + ".h>" + CR;
-		}
-		//for(EBRDD ebrdd: ebrdds){
-		//	header += "#include <" + ebrdd.getName() + ".h>" + CR;
-		//}
-		header += CR;
-	}
-	
-	private void makeDeclarations() {
-
-		declaration = "class CurrentComponents: public SimComponents{\npublic:\nCurrentComponents():SimComponents("
-										+ tmlmapping.getHashCode() + "){\n";
-		
-		// Declaration of HW nodes
-		declaration += "//Declaration of CPUs" + CR;
-		for( HwNode node: tmlmapping.getTMLArchitecture().getHwNodes() )	{
-			if( node instanceof HwCPU ) {
-				HwCPU exNode = (HwCPU)node;
-				if( exNode.getType().equals( "CPURRPB" ) )	{
-					declaration += "PrioScheduler* " + exNode.getName() + "_scheduler = new PrioScheduler(\"" + exNode.getName()
-													+ "_PrioSched\",0)" + SCCR;
-				}
-				else	{
-					//tmlmapping.getTMLArchitecture().getMasterClockFrequency() * exNode.sliceTime
-					 //declaration += "RRScheduler* " + exNode.getName() + "_scheduler = new RRScheduler(\"" + exNode.getName()
-					 //+ "_RRSched\", 0, 5, " + (int) Math.ceil(((float)exNode.execiTime)*(1+((float)exNode.branchingPredictionPenalty)/100))
-					 //+ " ) " + SCCR;
-					 declaration += "RRScheduler* " + exNode.getName() + "_scheduler = new RRScheduler(\"" + exNode.getName() + "_RRSched\", 0, "
-					 								+ (tmlmapping.getTMLArchitecture().getMasterClockFrequency() * exNode.sliceTime) + ", "
-													+ (int) Math.ceil((float)(exNode.clockRatio * Math.max(exNode.execiTime,exNode.execcTime)
-													* (exNode.branchingPredictionPenalty * exNode.pipelineSize +100 - exNode.branchingPredictionPenalty))/100)
-													+ " ) " + SCCR;
-				//for(int cores=0; cores<exNode.nbOfCores; cores++){
-				}
-				for( int cores = 0; cores < 1; cores++ )	{
-					//if(tmlmapping.isAUsedHwNode(node)) {	
-					declaration += "CPU* " + exNode.getName() + cores + " = new SingleCoreCPU(" + exNode.getID() + ", \""
-													+ exNode.getName() + "_" + cores + "\", " + exNode.getName() + "_scheduler" + ", ";
-					
-					declaration  += exNode.clockRatio + ", " + exNode.execiTime + ", " + exNode.execcTime + ", " + exNode.pipelineSize
-													+ ", " + exNode.taskSwitchingTime + ", " + exNode.branchingPredictionPenalty + ", " + exNode.goIdleTime
-													+ ", "  + exNode.maxConsecutiveIdleCycles + ", " + exNode.byteDataSize + ")" + SCCR;
-					if( cores != 0 )	{
-						declaration+= node.getName() + cores + "->setScheduler(" + exNode.getName() + "_scheduler,false)" + SCCR;
-						declaration += "addCPU("+ node.getName() + cores +")"+ SCCR;
-					}
-				}
-			}
-			if( node instanceof HwA )	{
-				HwA hwaNode = (HwA)node;
-				declaration += "RRScheduler* " + hwaNode.getName() + "_scheduler = new RRScheduler(\"" + hwaNode.getName()
-												+ "_RRSched\", 0, " + (tmlmapping.getTMLArchitecture().getMasterClockFrequency() * hwaNode.DEFAULT_SLICE_TIME)
-												+ ", " + (int) Math.ceil((float)(hwaNode.clockRatio * Math.max(hwaNode.execiTime,hwaNode.execcTime)
-												* (hwaNode.DEFAULT_BRANCHING_PREDICTION_PENALTY * hwaNode.DEFAULT_PIPELINE_SIZE + 100
-												* - hwaNode.DEFAULT_BRANCHING_PREDICTION_PENALTY))/100) + " ) " + SCCR;
-				for( int cores = 0; cores < 1; cores++ )	{
-					//if(tmlmapping.isAUsedHwNode(node)) {	
-					declaration += "CPU* " + hwaNode.getName() + cores + " = new SingleCoreCPU(" + hwaNode.getID() + ", \""
-													+ hwaNode.getName() + "_" + cores + "\", " + hwaNode.getName() + "_scheduler" + ", ";
-					
-					declaration  += hwaNode.clockRatio + ", " + hwaNode.execiTime + ", " + hwaNode.execcTime + ", " + hwaNode.DEFAULT_PIPELINE_SIZE
-													+ ", " + hwaNode.DEFAULT_TASK_SWITCHING_TIME + ", " + hwaNode.DEFAULT_BRANCHING_PREDICTION_PENALTY
-													+ ", " + hwaNode.DEFAULT_GO_IDLE_TIME + ", "  + hwaNode.DEFAULT_MAX_CONSECUTIVE_IDLE_CYCLES + ", "
-													+ hwaNode.byteDataSize + ")" + SCCR;
-					if( cores != 0 )	{
-						declaration+= node.getName() + cores + "->setScheduler(" + hwaNode.getName() + "_scheduler,false)" + SCCR;
-						declaration += "addCPU("+ node.getName() + cores +")"+ SCCR;
-					}
-				}
-				
-			}
-		}
-		declaration += CR;
-		
-		// Declaration of Buses
-		declaration += "//Declaration of Buses" + CR;
-		//declaration+="Bus* defaultBus = new Bus(-1,\"defaultBus\",100,1,1)" + SCCR;
-		//declaration += "addBus(defaultBus)"+ SCCR;
-		for(HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()) {
-			if(node instanceof HwBus) {
-				//if(tmlmapping.isAUsedHwNode(node)) {
-				HwBus thisBus = (HwBus)node;
-				for( int i = 0; i < thisBus.pipelineSize; i++ )	{
-					declaration += "Bus* " + node.getName() + "_" + i + " = new Bus("+ node.getID() + ",\"" + node.getName() + "_" + i
-													+ "\",0, 100, "+ thisBus.byteDataSize + ", " + node.clockRatio + ",";
-					if( thisBus.arbitration==HwBus.CAN )	{
-						declaration +="true";
-					}
-					else	{
-						declaration +="false"; 
-					}
-					declaration += ");\naddBus("+ node.getName() + "_" + i + ")"+ SCCR;
-				}
-				//}
-			}
-		}
-		declaration += CR;
-
-		// Declaration of Bridges
-		declaration += "//Declaration of Bridges" + CR;
-		for( HwNode node: tmlmapping.getTMLArchitecture().getHwNodes() ) {
-			if(node instanceof HwBridge) {
-				declaration+= "Bridge* " + node.getName() + " = new Bridge("+ node.getID() + ",\"" + node.getName() + "\", "
-											+ node.clockRatio + ", " + ((HwBridge)node).bufferByteSize + ")" +SCCR;
-				declaration += "addBridge("+ node.getName() +")"+ SCCR;
-			}
-		}
-		declaration += CR;
-
-		// Declaration of Memories
-		//declaration += "//Declaration of Memories\nMemory* defaultMemory = new Memory(-1,\"defaultMemory\",1,4)" + SCCR;
-		//declaration += "addMem(defaultMemory)"+ SCCR;
-		declaration += "//Declaration of Memories" + CR;
-		for( HwNode node: tmlmapping.getTMLArchitecture().getHwNodes()) {
-			if( node instanceof HwMemory	) {
-				declaration += "Memory* " + node.getName() + " = new Memory("+ node.getID() + ",\"" + node.getName() + "\", "
-												+ node.clockRatio + ", " + ((HwMemory)node).byteDataSize + ")" +SCCR;
-				declaration += "addMem("+ node.getName() +")"+ SCCR;
-			}
-		}
-		declaration += CR;
-
-		//Declaration of Bus masters
-		declaration += "//Declaration of Bus masters" + CR;
-		for( HwNode node: tmlmapping.getTMLArchitecture().getHwNodes() ){
-			if( node instanceof HwExecutionNode || node instanceof HwBridge ){
-				ArrayList<HwLink> nodeLinks = tmlmapping.getTMLArchitecture().getLinkByHwNode( node );
-				if( !nodeLinks.isEmpty() )	{
-					//declaration+= "BusMaster* " + node.getName() + "2defaultBus = new BusMaster(\"" + node.getName()
-					//+ "2defaultBus\", 0, defaultBus)" + SCCR;
-				//else{
-					for( HwLink link: nodeLinks )	{
-						//declaration+= "BusMaster* " + node.getName() + "_" + link.bus.getName() + "_Master = new BusMaster(\""
-						//+ node.getName() + "_" + link.bus.getName() + "_Master\", " + link.getPriority() + ", 1, array(1, (SchedulableCommDevice*)"
-						//+  link.bus.getName() + "))" + SCCR;
-						int noOfCores;
-						//if(node instanceof HwCPU) noOfCores= ((HwCPU)node).nbOfCores; else noOfCores=1;
-						noOfCores = 1;
-						for( int cores = 0; cores < noOfCores; cores++ )	{
-							String nodeName = node.getName();
-							if( ( node instanceof HwCPU ) || ( node instanceof HwA ) )	{
-								nodeName += cores;
-							}
-							declaration += "BusMaster* " + nodeName + "_" + link.bus.getName() + "_Master = new BusMaster(\"" + nodeName
-													+ "_" + link.bus.getName() + "_Master\", " + link.getPriority() + ", " + link.bus.pipelineSize
-													+ ", array(" + link.bus.pipelineSize;
-							for( int i = 0; i < link.bus.pipelineSize; i++ )	{
-								declaration += ", (SchedulableCommDevice*)" +  link.bus.getName() + "_" + i; 
-							}
-							declaration += "))" + SCCR;
-							declaration += nodeName + "->addBusMaster(" + nodeName + "_" + link.bus.getName() + "_Master)" + SCCR;
-						}
-					}
-				}
-			} 
-		}
-		declaration += CR;
-				
-		// Declaration of channels
-		TMLChannel channel;
-		String tmp,param;
-		declaration += "//Declaration of channels" + CR;
-		for( TMLElement elem: tmlmodeling.getChannels() )	{
-			if( elem instanceof TMLChannel ) {
-				channel = (TMLChannel)elem;
-				switch( channel.getType() )	{
-					case TMLChannel.BRBW:
-						tmp = "TMLbrbwChannel";
-						param= "," + channel.getMax() + ",0";
-						break;
-					case TMLChannel.BRNBW:
-						tmp = "TMLbrnbwChannel";
-						param= ",0";
-						break;
-					case TMLChannel.NBRNBW:
-					default:
-						tmp = "TMLnbrnbwChannel";
-						param= "";
-				}
-				declaration += tmp + "* " + channel.getExtendedName() + " = new " + tmp  +"(" + channel.getID() + ",\""
-												+ channel.getName() + "\"," + channel.getSize() + ",";
-				TraceManager.addDev( "Channel: " + channel.getName() );
-				declaration += determineRouting( tmlmapping.getHwNodeOf( channel.getOriginTask() ),
-																					tmlmapping.getHwNodeOf( channel.getDestinationTask() ), elem )
-											+ param + "," + channel.getPriority();
-				if( (channel.isLossy()) && (channel.getType() != TMLChannel.NBRNBW) )	{
-					declaration += "," + channel.getLossPercentage() + "," + channel.getMaxNbOfLoss();
-				}
-				declaration += ")"+ SCCR;
-				declaration += "addChannel("+ channel.getExtendedName() +")"+ SCCR;
-			}
-		}
-		declaration += CR;
-		
-		// Declaration of events
-		declaration += "//Declaration of events" + CR;
-		for( TMLEvent evt: tmlmodeling.getEvents() )	{
-			if( evt.isInfinite() ) {
-				tmp = "TMLEventBChannel<ParamType," + evt.getNbOfParams() + ">";
-				param= ",0,false,false";
-			}
-			else	{
-				if( evt.isBlocking() ) {
-					tmp = "TMLEventFBChannel<ParamType," + evt.getNbOfParams() + ">";
-					param= "," + evt.getMaxSize() + ",0";
-				}
-				else	{
-					tmp = "TMLEventFChannel<ParamType," + evt.getNbOfParams() + ">";
-					param= "," + evt.getMaxSize() + ",0";
-				}
-			}
-			//param += "," + evt.getNbOfParams();
-			if( tmlmapping.isCommNodeMappedOn(evt,null) )	{
-				TraceManager.addDev( "Evt: " + evt.getName() );
-				declaration += tmp + "* " + evt.getExtendedName() + " = new " + tmp + "(" + evt.getID() + ",\"" + evt.getName()
-										+ "\"," + determineRouting(tmlmapping.getHwNodeOf(evt.getOriginTask()),
-										tmlmapping.getHwNodeOf(evt.getDestinationTask()), evt) + param;
-				
-			}
-			else	{
-				declaration += tmp + "* " + evt.getExtendedName() + " = new " + tmp + "(" + evt.getID() + ",\"" + evt.getName()
-											+ "\",0,0,0" + param;   ///old command
-			}
-			if( evt.isLossy() )	{
-				declaration += "," + evt.getLossPercentage() + "," + evt.getMaxNbOfLoss();
-			}
-			declaration += ")" + SCCR;
-			declaration += "addEvent("+ evt.getExtendedName() +")"+ SCCR;
-		}
-		declaration += CR;
-		
-		// Declaration of requests
-		declaration += "//Declaration of requests" + CR;
-		for( TMLTask task: tmlmodeling.getTasks() )	{
-			if( task.isRequested() )	{
-				TMLRequest req = task.getRequest();
-				if( tmlmapping.isCommNodeMappedOn(req,null) )	{
-					//declaration += "TMLEventBChannel* reqChannel_"+ task.getName() + " = new TMLEventBChannel(" +
-					TraceManager.addDev( "Request: " + req.getName() );
-					declaration += "TMLEventBChannel<ParamType," + req.getNbOfParams() + ">* reqChannel_"+ task.getName()
-												+ " = new TMLEventBChannel<ParamType," + req.getNbOfParams() + ">(" +
-												req.getID() + ",\"reqChannel"+ task.getName() + "\"," +
-					determineRouting( tmlmapping.getHwNodeOf(req.getOriginTasks().get(0) ),
-					//tmlmapping.getHwNodeOf(req.getDestinationTask()), req) + ",0," + req.getNbOfParams() + ",true)" + SCCR;
-														tmlmapping.getHwNodeOf(req.getDestinationTask()), req ) + ",0,true,false";
-				}
-				else	{
-					declaration += "TMLEventBChannel<ParamType," + req.getNbOfParams() + ">* reqChannel_"+ task.getName()
-													+ " = new TMLEventBChannel<ParamType," + req.getNbOfParams() + ">(" +
-													//req.getID() + ",\"reqChannel"+ task.getName() + "\",0,0,0,0," + req.getNbOfParams() + ",true)" + SCCR;
-													req.getID() + ",\"reqChannel"+ task.getName() + "\",0,0,0,0,true,false";
-				}
-				if( req.isLossy() )	{
-					declaration += "," + req.getLossPercentage() + "," + req.getMaxNbOfLoss();
-				}
-				declaration += ")" + SCCR;
-				declaration += "addRequest(reqChannel_"+ task.getName() +")"+ SCCR;
-			}
-		}
-		declaration += CR;
-
-		///Set bus schedulers
-		declaration += "//Set bus schedulers" + CR;
-		for( HwNode node: tmlmapping.getTMLArchitecture().getHwNodes() ) {
-			if( node instanceof HwBus ) {
-				ArrayList<HwLink> busLinks = tmlmapping.getTMLArchitecture().getLinkByBus((HwBus)node );
-				String devices = "";
-				int numDevices = 0;
-				if( !busLinks.isEmpty() ){
-					for( HwLink link: busLinks ){
-						if( link.hwnode instanceof HwExecutionNode || link.hwnode instanceof HwBridge ){
-								if( ( link.hwnode instanceof HwCPU ) || ( link.hwnode instanceof HwA ) ){
-									//for (int cores=0; cores< ((HwCPU)link.hwnode).nbOfCores; cores++){
-									for ( int cores = 0; cores < 1; cores++ )	{
-										devices += ", (WorkloadSource*)" + link.hwnode.getName()+ cores + "_" + node.getName() + "_Master";
-										numDevices++;
-									}
-								}
-								else	{
-									devices += ", (WorkloadSource*)" + link.hwnode.getName()+ "_" + node.getName() + "_Master";
-									numDevices++;
-								}
-						}
-					}
-					declaration += node.getName() + "_0->setScheduler((WorkloadSource*) new ";
-					if( ( (HwBus)node ).arbitration == HwBus.BASIC_ROUND_ROBIN)	{
-						//declaration+="RRScheduler(\"" + node.getName() + "_RRSched\", 0, 5, "
-						//+ (int) Math.ceil(((float)node.clockRatio)/((float)((HwBus)node).byteDataSize)) + ", array(";
-						declaration += "RRScheduler(\"" + node.getName() + "_RRSched\", 0, 5, "
-														+ (int) Math.ceil(((float)node.clockRatio)/((float)((HwBus)node).byteDataSize)) + ", array(";
-					}
-					else	{
-						declaration += "PrioScheduler(\"" + node.getName() + "_PrioSched\", 0, array(";
-					}
-					declaration += numDevices + devices + "), " + numDevices + "))" + SCCR;
-				}
-				for( int i = 1; i < ((HwBus)node).pipelineSize; i++	)	{
-					declaration += node.getName() + "_" + i + "->setScheduler(" + node.getName() + "_0->getScheduler(),false)" +SCCR;
-				}
-			}
-		}
-		declaration += CR;
-		
-	
-		//Declaration of Tasks
-		ListIterator iterator = tmlmapping.getNodes().listIterator();
-		declaration += "//Declaration of tasks" + CR;
-		HwExecutionNode node;
-		//for(TMLTask task: tmlmodeling.getTasks()) {
-		ArrayList<TMLChannel> channels;
-		ArrayList<TMLEvent> events;
-		ArrayList<TMLRequest> requests;
-		int[] aStatistics = new int[8];
-		Set<Integer> mappedChannels = new HashSet<Integer>(); 
-		for( TMLTask task: tmlmapping.getMappedTasks() )	{
-			node = ( HwExecutionNode )iterator.next();
-			int noOfCores;
-			declaration += task.getName() + "* task__" + task.getName() + " = new " + task.getName() + "("+ task.getID() +","
-											+ task.getPriority() + ",\"" + task.getName() + "\", array(";
-			
-			if( node instanceof HwCPU )	{
-				//declaration+= ((HwCPU)node).nbOfCores;
-				declaration += 1;
-				//for (int cores=0; cores< ((HwCPU)node).nbOfCores; cores++){
-				for( int cores = 0; cores < 1; cores++ )	{
-					declaration += "," + node.getName()+cores;
-				}
-				//declaration+= ")," + ((HwCPU)node).nbOfCores + CR;
-				declaration += "),1" + CR;
-			}
-			else	{
-					if( node instanceof HwA )	{ 
-					//declaration+= ((HwCPU)node).nbOfCores;
-					declaration += 1;
-					//for (int cores=0; cores< ((HwCPU)node).nbOfCores; cores++){
-					for( int cores=0; cores< 1; cores++ )	{
-						declaration += "," + node.getName()+cores;
-					}
-					//declaration+= ")," + ((HwCPU)node).nbOfCores + CR;
-					declaration += "),1" + CR;
-				}
-				else {
-					declaration += "1," + node.getName() + "),1" + CR; 
-				}
-			}
-			
-			MappedSystemCTask mst;
-			channels = new ArrayList<TMLChannel>(tmlmodeling.getChannels(task));
-			events = new ArrayList<TMLEvent>(tmlmodeling.getEvents(task));
-			requests = new ArrayList<TMLRequest>(tmlmodeling.getRequests(task));
-
-			mst = new MappedSystemCTask(task, channels, events, requests, tmlmapping, mappedChannels);
-			//mst.generateSystemC(debug, optimize, dependencies);
-			//mst.generateSystemC(debug, optimize);
-			tasks.add(mst);
-			for( TMLChannel channelb: channels	)	{
-				declaration += "," + channelb.getExtendedName()+CR;
-			}
-			for( TMLEvent evt: events )	{
-				declaration += "," + evt.getExtendedName()+CR;
-			}
-			for( TMLRequest req: requests )	{
-				if(	req.isAnOriginTask(task) )	{
-					declaration +=",reqChannel_" + req.getDestinationTask().getName()+CR;
-				}
-			}
-			if( task.isRequested() )	{
-				declaration += ",reqChannel_"+task.getName()+CR;
-			}
-			declaration += ")" + SCCR;
-			declaration += "addTask(task__"+ task.getName() +")"+ SCCR;
-		}
-		//int[] aStatistics = new int[8];
-		declaration += "\n}\n\n";
-
-		//Declaration of CommunicationPatterns
-		declaration += "//Declaration of CPs" + CR;
-		declaration += "//Here I will produce code for the Communication Patterns" + CR;
-		
-		//Declaration of TEPEs
-		declaration += "void generateTEPEs(){" + CR;
-		declaration += "//Declaration of TEPEs" + CR;
-		tepeTranslator.generateTEPEs();
-		declaration += tepeTranslator.getCode();
-		
-		//Generation of tasks
-		for(MappedSystemCTask task: tasks){
-			task.determineCheckpoints(aStatistics);
-			task.generateSystemC(debug, optimize);
-		}
-		
-		//Declaration of TEPEs continued
-		declaration += CR;
-		declaration += "}\n};\n\n" + tepeTranslator.getEqFuncs();
-		declaration +="#include <main.h>\n";
-		
-		if( aStatistics[0] != 0 )	{
-			TraceManager.addDev("Global gain variables " + 100 * aStatistics[1] / aStatistics[0]);
-		}
-		if( aStatistics[2] != 0 )	{
-			TraceManager.addDev("Global gain Channels " + 100 * aStatistics[3] / aStatistics[2]);
-		}
-		if( aStatistics[4] != 0 )	{
-			TraceManager.addDev("Global gain events " + 100 * aStatistics[5] / aStatistics[4]);
-		}
-		if( aStatistics[6] != 0 )	{
-			TraceManager.addDev("Global gain checkpoints " + 100 * aStatistics[7] / aStatistics[6]);
-		}
-		
-		//Declaration of EBRDDs
-		/*declaration += "//Declaration of EBRDDs" + CR;
-		for(EBRDD ebrdd: ebrdds){
-			declaration += ebrdd.getName() + "* ebrdd__" + ebrdd.getName() + " = new " + ebrdd.getName() + "(0, \""+ ebrdd.getName() + "\");\n";
-			declaration += "addEBRDD(ebrdd__"+ ebrdd.getName() +")"+ SCCR;
-		}*/
-	}
-
-
-	private int extractPath( LinkedList<HwCommunicationNode> path, strwrap masters, strwrap slaves, HwNode startNode,
-														HwNode destNode, boolean reverseIn )	{
-
-		String firstPart=""; //lastBus="";
-		int masterCount=0;
-		boolean reverse=reverseIn;
-		if(reverseIn)
-			slaves.str+=",static_cast<Slave*>(0)";
-		else
-			firstPart=startNode.getName() + "0";
-		/*TraceManager.addDev("------------------------------------------------------");
-		for(HwCommunicationNode commElem:path){
-			TraceManager.addDev("CommELem to process: " + commElem.getName());
-		}
-		TraceManager.addDev("------------------------------------------------------");*/
-		for(HwCommunicationNode commElem:path){
-			//TraceManager.addDev("CommELem to process: " + commElem.getName());
-			//String commElemName = commElem.getName();
-			//if(commElem instanceof HwCPU) commElemName += "0";
-			//System.out.println("Next elem in path: " + commElem.getName());
-			if(commElem instanceof HwMemory){
-				reverse=true;
-				slaves.str+= ",static_cast<Slave*>(" + commElem.getName() + "),static_cast<Slave*>(" + commElem.getName() + ")";
-				//firstPart=lastBus;
-				firstPart="";
-			}else{
-				if(reverse){
-					if(firstPart.length()==0){
-						firstPart=commElem.getName();
-						//firstPart=commElemName;
-					}else{
-						masters.str+= "," + commElem.getName() + "_" + firstPart + "_Master";
-						//masters.str+= "," + commElemName + "_" + firstPart + "_Master";
-						masterCount++;
-						slaves.str+= ",static_cast<Slave*>(" + commElem.getName() + ")";
-						firstPart="";
-					}
-				}else{
-					if(firstPart.length()==0){
-						firstPart=commElem.getName();
-						slaves.str+= ",static_cast<Slave*>(" + firstPart + ")";
-					}else{
-						//lastBus=commElem.getName();
-						masters.str+= "," + firstPart + "_" + commElem.getName() + "_Master";
-						masterCount++;
-						firstPart="";
-					}
-				}
-			}
-		}
-		if(reverse){
-			//masters.str+= "," + destNode.getName() + "_" + firstPart + "_Master";
-			masters.str+= "," + destNode.getName() + "0_" + firstPart + "_Master";
-			return masterCount+1;
-		}else{
-			slaves.str+=",static_cast<Slave*>(0)";
-			return -masterCount;
-		}
-	}
-
-//Method used when writing the C++ code for channels, event and requests
-	private String determineRouting(	HwNode startNode, HwNode destNode, TMLElement commElemToRoute )	{
-
-		strwrap masters = new strwrap(), slaves = new strwrap();
-		LinkedList<HwCommunicationNode> path = new LinkedList<HwCommunicationNode>();
-		LinkedList<HwCommunicationNode> commNodes = new LinkedList<HwCommunicationNode>();
-
-		for( HwNode node: tmlmapping.getTMLArchitecture().getHwNodes() )	{
-			if( node instanceof HwCommunicationNode )	{
-				commNodes.add( (HwCommunicationNode) node );
-			}
-		}
-//		TraceManager.addDev( "Printing communication nodes" );
-//		TraceManager.addDev( commNodes.get(i).getName() );
-		HwMemory memory = getMemConnectedToBusChannelMapped( commNodes, null, commElemToRoute );
-		if( memory == null )	{
-			TraceManager.addDev( "no memories to map" );
-			exploreBuses( 0, commNodes, path, startNode, destNode, commElemToRoute );
-		}
-		else	{	//there is at least one memory
-			LinkedList<HwCommunicationNode> commNodes2 = new LinkedList<HwCommunicationNode>(commNodes);
-			//exploreBuses(0, commNodes, path, startNode, memory, commElemToRoute);
-			if( !exploreBuses( 0, commNodes, path, startNode, memory, commElemToRoute ) )	{
-				TraceManager.addDev("NO route to " + memory.getName() + "found!!!!!!!!!!!!!!!!!!!!!!!!!!");
-			}
-			path.add( memory );
-			exploreBuses( 0, commNodes2, path, memory, destNode, commElemToRoute );
-		}
-		int hopNum;
-		if( ( hopNum = extractPath( path, masters, slaves, startNode, destNode, false ) ) < 0	)	{
-			hopNum = extractPath( path, masters, slaves, destNode, destNode, true ) - hopNum;
-		}
-		/*TraceManager.addDev(commElemToRoute.getName() + " is mapped on:");
-		for(HwCommunicationNode commElem:path){
-			TraceManager.addDev(commElem.getName());
-		}
-		TraceManager.addDev("number of elements: " + hopNum);
-		TraceManager.addDev("masters: " + masters.str);
-		TraceManager.addDev("slaves: " + slaves.str);*/
-		return hopNum + ", array(" + hopNum + masters.str + "), array(" + hopNum + slaves.str + ")";
-	}
-
-	private boolean exploreBuses( int depth, LinkedList<HwCommunicationNode> commNodes, LinkedList<HwCommunicationNode> path,
-																HwNode startNode, HwNode destNode, TMLElement commElemToRoute )	{
-
-		//first called with Mapping:getCommunicationNodes
-		LinkedList<HwCommunicationNode> nodesToExplore;
-
-		TraceManager.addDev( "exploreBuses: No of comm nodes " + commNodes.size() );
-		boolean busExploreMode = ( ( depth & 1 ) == 0);	//if(depth == 0)	busExploreMode = 0
-		//if(depth % 2 == 0){
-		if( busExploreMode )	{
-			TraceManager.addDev( "exploreBuses: search for buses connected to " + startNode.getName() );
-			nodesToExplore = getBusesConnectedToNode( commNodes, startNode );
-			TraceManager.addDev( "Connected to " + startNode.getName() + " I have found:" );
-			for( HwCommunicationNode pippo: nodesToExplore )	{
-				TraceManager.addDev( pippo.getName() );
-			}
-		}
-		else	{
-			TraceManager.addDev( "search for bridges connected to: " + startNode.getName() );
-			nodesToExplore = getBridgesConnectedToBus( commNodes, (HwBus) startNode );
-		}
-		//HwMemory memory = null;
-		TraceManager.addDev( "no of elements found: " + nodesToExplore.size() );
-		for( HwCommunicationNode currNode:nodesToExplore )	{
-			//memory = null;
-			if( busExploreMode ){
-				//memory = getMemConnectedToBusChannelMapped(commNodes, (HwBus)currNode, commElemToRoute);
-				if( isBusConnectedToNode(currNode, destNode) ){
-					TraceManager.addDev( currNode.getName() + " is last node");
-					path.add( currNode );
-					//if(memory!=null) path.add(memory);
-					commNodes.remove( currNode );
-					return true;
-				}
-			}
-			if( tmlmapping.isCommNodeMappedOn(commElemToRoute, currNode) )	{
-				TraceManager.addDev( currNode.getName() + " mapping found for " + commElemToRoute.getName( ));
-				path.add( currNode );
-				//if(memory!=null) path.add(memory);
-				commNodes.remove( currNode );
-				if(exploreBuses( depth+1, commNodes, path, currNode, destNode, commElemToRoute ) )	{
-					return true;
-				}
-				path.remove( currNode );
-				//if(memory!=null) path.remove(memory);
-				commNodes.add( currNode );
-			}
-		}
-		for( HwCommunicationNode currNode:nodesToExplore )	{
-			//if(busExploreMode) memory = getMemConnectedToBusChannelMapped(commNodes, (HwBus)currNode, commElemToRoute); else memory=null;
-			path.add( currNode );
-			//if(memory!=null) path.add(memory);
-			commNodes.remove( currNode );
-			//for (int i=0; i<path.size(); i++) System.out.print("  ");
-			//TraceManager.addDev(currNode.getName());
-			if( exploreBuses( depth+1, commNodes, path, currNode, destNode, commElemToRoute ) )	{
-				return true;
-			}
-			path.remove( currNode );
-			//if(memory!=null) path.remove(memory);
-			commNodes.add( currNode );	
-		}
-		return false;
-	}
-
-	private HwMemory getMemConnectedToBusChannelMapped(LinkedList<HwCommunicationNode> _commNodes, HwBus _bus, TMLElement _channel){
-		for(HwCommunicationNode commNode: _commNodes){
-			if(commNode instanceof HwMemory){
-				if(_bus!=null) System.out.println(commNode.getName() + " connected to bus " + _bus.getName() + ": " + tmlmapping.getTMLArchitecture().isNodeConnectedToBus(commNode, _bus));
-				System.out.println(_channel.getName() + " is mapped onto " + commNode.getName() + ": " + tmlmapping.isCommNodeMappedOn(_channel,commNode));
-				if((_bus==null || tmlmapping.getTMLArchitecture().isNodeConnectedToBus(commNode, _bus)) && tmlmapping.isCommNodeMappedOn(_channel,commNode)) return (HwMemory)commNode;
-			}
-		}
-		return null;
-	}
-
-	//Return the list of all buses in _commNodes that are connected to _node
-	private LinkedList<HwCommunicationNode> getBusesConnectedToNode( LinkedList<HwCommunicationNode> _commNodes, HwNode _node )	{
-
-		LinkedList<HwCommunicationNode> resultList = new LinkedList<HwCommunicationNode>();
-		for( HwCommunicationNode commNode: _commNodes )	{
-			if( commNode instanceof HwBus ){
-				if( tmlmapping.getTMLArchitecture().isNodeConnectedToBus( _node, (HwBus)commNode ) )	{
-					resultList.add((HwBus)commNode);
-				}
-			}
-		}
-		return resultList;
-	}
-
-	private LinkedList<HwCommunicationNode> getBridgesConnectedToBus(LinkedList<HwCommunicationNode> _commNodes, HwBus _bus){
-		LinkedList<HwCommunicationNode> resultList = new LinkedList<HwCommunicationNode>();
-		for(HwCommunicationNode commNode: _commNodes){
-			if(commNode instanceof HwBridge){
-				if(tmlmapping.getTMLArchitecture().isNodeConnectedToBus(commNode, _bus)) resultList.add((HwBridge)commNode);
-			}
-		}
-		return resultList;
-	}
-	
-	private boolean isBusConnectedToNode(HwCommunicationNode commNode, HwNode node){
-		for(HwLink link: tmlmapping.getTMLArchitecture().getHwLinks()) {
-			if(link.bus==commNode &&  link.hwnode==node) return true;
-		}
-		return false;
-	}
-
-	private String getIdentifierNameByID(int id){
-		
-		for(MappedSystemCTask task: tasks){
-			String tmp = task.getIdentifierNameByID(id);
-			if(tmp!=null) return tmp; 
-		}
-		return null;
-	}
-
-	/*private void generateEBRDDs(){
-		for(EBRDD ebrdd: ebrdds){
-			SystemCEBRDD newEbrdd = new SystemCEBRDD(ebrdd, tmlmodeling, tmlmapping);
-			newEbrdd.generateSystemC(debug);
-			systemCebrdds.add(newEbrdd);
-		}
-	}*/
-	
-	private void generateTaskFiles(String path) throws FileException {
-		for(MappedSystemCTask mst: tasks) {
-			mst.saveInFiles(path);
-		}
-		//for(SystemCEBRDD ebrdd: systemCebrdds) {
-		//	ebrdd.saveInFiles(path);
-		//}
-	}
-	
-	
-	public MappedSystemCTask getMappedTaskByName(String iName){
-		for(MappedSystemCTask task: tasks){
-			if(task.getTMLTask().getName().equals(iName)) return task;
-		}
-		return null;
-	}
-}
diff --git a/src/tmltranslator/tomappingsystemc3/idtypewrap.java b/src/tmltranslator/tomappingsystemc3/idtypewrap.java
deleted file mode 100644
index 65e3245d88..0000000000
--- a/src/tmltranslator/tomappingsystemc3/idtypewrap.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package tmltranslator.tomappingsystemc3;
-
-public class idtypewrap{
-	String id;
-	int type;
-	int nbOfIDs;
-	idtypewrap(int _type, String _id, int _nbOfIDs){
-		id=_id;
-		type=_type;
-		nbOfIDs=_nbOfIDs;
-	}
-}
diff --git a/src/tmltranslator/tomappingsystemc3/strwrap.java b/src/tmltranslator/tomappingsystemc3/strwrap.java
deleted file mode 100755
index 9ed9b0c611..0000000000
--- a/src/tmltranslator/tomappingsystemc3/strwrap.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
-
-ludovic.apvrille AT telecom-paristech.fr
-andrea.enrici AT telecom-paristech.fr
-
-This software is a computer program whose purpose is to allow the 
-edition of TURTLE analysis, design and deployment diagrams, to 
-allow the generation of RT-LOTOS or Java code from this diagram, 
-and at last to allow the analysis of formal validation traces 
-obtained from external tools, e.g. RTL from LAAS-CNRS and CADP 
-from INRIA Rhone-Alpes.
-
-This software is governed by the CeCILL  license under French law and
-abiding by the rules of distribution of free software.  You can  use, 
-modify and/ or redistribute the software under the terms of the CeCILL
-license as circulated by CEA, CNRS and INRIA at the following URL
-"http://www.cecill.info". 
-
-As a counterpart to the access to the source code and  rights to copy,
-modify and redistribute granted by the license, users are provided only
-with a limited warranty  and the software's author,  the holder of the
-economic rights,  and the successive licensors  have only  limited
-liability. 
-
-In this respect, the user's attention is drawn to the risks associated
-with loading,  using,  modifying and/or developing or reproducing the
-software by the user in light of its specific status of free software,
-that may mean  that it is complicated to manipulate,  and  that  also
-therefore means  that it is reserved for developers  and  experienced
-professionals having in-depth computer knowledge. Users are therefore
-encouraged to load and test the software's suitability as regards their
-requirements in conditions enabling the security of their systems and/or 
-data to be ensured and,  more generally, to use and operate it in the 
-same conditions as regards security. 
-
-The fact that you are presently reading this means that you have had
-knowledge of the CeCILL license and that you accept its terms.
-
-/**
- * Class TML2SystemC
- * Creation: 01/06/2014
- * @version 1.0 01/06/2014
- * @author Andrea Enrici, Daniel Knorreck
- * @see
- */
-
-package tmltranslator.tomappingsystemc3;
-
-public class strwrap	{
-
-	String str;
-
-	strwrap( String iStr )	{
-		str = iStr;
-	}
-
-	strwrap(){
-		str = "";
-	}
-}	//End of class
diff --git a/src/ui/window/JDialogSystemCGeneration.java b/src/ui/window/JDialogSystemCGeneration.java
index 662283e191..e027bbcef1 100755
--- a/src/ui/window/JDialogSystemCGeneration.java
+++ b/src/ui/window/JDialogSystemCGeneration.java
@@ -83,7 +83,7 @@ public class JDialogSystemCGeneration extends javax.swing.JDialog implements Act
       "C++ Simulator - LabSoc version" };*/
 
     private static String[] simus = { "C++ Simulator - LabSoc version" };
-    
+
     private static int selectedItem = 0;
 
     protected static String pathCode;
@@ -731,34 +731,34 @@ public class JDialogSystemCGeneration extends javax.swing.JDialog implements Act
         selectedItem = versionSimulator.getSelectedIndex();
         //System.out.println("Selected item=" + selectedItem);
         switch( selectedItem ) {        //Old SystemC generator
-	    /*case 0: {
-            tmltranslator.tomappingsystemc.TML2MappingSystemC tml2systc;
-            if (mgui.gtm.getTMLMapping() == null) {
-                if (mgui.gtm.getArtificialTMLMapping() == null) {
-                    tml2systc = new tmltranslator.tomappingsystemc.TML2MappingSystemC(mgui.gtm.getTMLModeling());
-                } else {
-                    TraceManager.addDev("Using artifical mapping");
-                    tml2systc = new tmltranslator.tomappingsystemc.TML2MappingSystemC(mgui.gtm.getArtificialTMLMapping());
-                }
-            }
-            else {
-                tml2systc = new tmltranslator.tomappingsystemc.TML2MappingSystemC(mgui.gtm.getTMLMapping());
-            }
-            tml2systc.generateSystemC(debugmode.isSelected(), optimizemode.isSelected());
-            testGo();
-            jta.append("SystemC code generation done\n");
-            //t2j.printJavaClasses();
-            try {
-                jta.append("Generating SystemC file\n");
-                pathCode = code1.getText();
-                tml2systc.saveFile(pathCode, "appmodel");
-                jta.append("SystemC files generated\n");
-            }
-            catch( Exception e ) {
-                jta.append("Could not generate SystemC file\n");
-            }
-            break;
-	    }*/
+            /*case 0: {
+              tmltranslator.tomappingsystemc.TML2MappingSystemC tml2systc;
+              if (mgui.gtm.getTMLMapping() == null) {
+              if (mgui.gtm.getArtificialTMLMapping() == null) {
+              tml2systc = new tmltranslator.tomappingsystemc.TML2MappingSystemC(mgui.gtm.getTMLModeling());
+              } else {
+              TraceManager.addDev("Using artifical mapping");
+              tml2systc = new tmltranslator.tomappingsystemc.TML2MappingSystemC(mgui.gtm.getArtificialTMLMapping());
+              }
+              }
+              else {
+              tml2systc = new tmltranslator.tomappingsystemc.TML2MappingSystemC(mgui.gtm.getTMLMapping());
+              }
+              tml2systc.generateSystemC(debugmode.isSelected(), optimizemode.isSelected());
+              testGo();
+              jta.append("SystemC code generation done\n");
+              //t2j.printJavaClasses();
+              try {
+              jta.append("Generating SystemC file\n");
+              pathCode = code1.getText();
+              tml2systc.saveFile(pathCode, "appmodel");
+              jta.append("SystemC files generated\n");
+              }
+              catch( Exception e ) {
+              jta.append("Could not generate SystemC file\n");
+              }
+              break;
+              }*/
         case 0: {       //Simulator without CPs (Daniel's version)
             tmltranslator.tomappingsystemc2.TML2MappingSystemC tml2systc;
             // Making EBRDDs
@@ -823,72 +823,7 @@ public class JDialogSystemCGeneration extends javax.swing.JDialog implements Act
             }
             break;
         }
-        case 1: {       //Simulator version with CPs
-            tmltranslator.tomappingsystemc3.TML2MappingSystemC tml2systc;
-            // Making EBRDDs
-            ArrayList<EBRDD> al = new ArrayList<EBRDD>();
-            ArrayList<TEPE> alTepe = new ArrayList<TEPE>();
-            TEPE tepe;
-            AvatarRequirementPanelTranslator arpt = new AvatarRequirementPanelTranslator();
-            for(int k=0; k<valTepe.size(); k++) {
-                testGo();
-                tepe = arpt.generateTEPESpecification((AvatarPDPanel)(valTepe.get(k)));
-                jta.append("TEPE: " + tepe.getName() + "\n");
-                jta.append("Checking syntax\n");
-                // tepe.checkSyntax();
-                alTepe.add(tepe);
-                jta.append("Done.\n");
-            }
-            /*EBRDDTranslator ebrddt;
-              EBRDDPanel ep;
-              EBRDD ebrdd;
-
-              for(int k=0; k<val.size(); k++) {
-              testGo();
-              ebrddt = new EBRDDTranslator();
-              ep = (EBRDDPanel)(val.get(k));
-              jta.append("EBRDD: " + ep.getName() + "\n");
-              ebrdd = ebrddt.generateEBRDD(ep, ep.getName());
-              jta.append("Checking syntax\n");
-              if (ebrddt.getErrors().size() > 0) {
-              jta.append("Syntax error: ignoring EBRDD\n\n");
-              } else {
-              jta.append("No Syntax error: EBRDD taken into account\n\n");
-              al.add(ebrdd);
-              }
-              }*/
 
-            // Generating code
-            if (mgui.gtm.getTMLMapping() == null) {
-                if (mgui.gtm.getArtificialTMLMapping() == null) {
-                    tml2systc = new tmltranslator.tomappingsystemc3.TML2MappingSystemC(mgui.gtm.getTMLModeling(), al, alTepe);
-                } else {
-                    TraceManager.addDev("Using artifical mapping");
-                    tml2systc = new tmltranslator.tomappingsystemc3.TML2MappingSystemC(mgui.gtm.getArtificialTMLMapping(), al, alTepe);
-                }
-            }
-            else {
-                tml2systc = new tmltranslator.tomappingsystemc3.TML2MappingSystemC(mgui.gtm.getTMLMapping(), al, alTepe);
-            }
-            TraceManager.addDev( "Before exception" );
-            tml2systc.generateSystemC( debugmode.isSelected(), optimizemode.isSelected() );
-            testGo();
-            jta.append("SystemC code generation done\n");
-
-            for(TEPE tep: alTepe) {
-                TraceManager.addDev(tep.toString());
-            }
-            //t2j.printJavaClasses();
-            try {
-                jta.append("Generating SystemC file\n");
-                pathCode = code1.getText();
-                tml2systc.saveFile(pathCode, "appmodel");
-                jta.append("SystemC files generated\n");
-            } catch (Exception e) {
-                jta.append("Could not generate SystemC file\n");
-            }
-            break;
-        }
         }
     }   //End of method generateCode()
 
-- 
GitLab