beremiz

Wait the debug thread has terminated before freeing PLC to avoid random segmentation fault.

Store working directory to globals copy, in order to be used in runtime.py.
[TOPOLOGY]
NetName=None
Nodes=0x01
Node64Present=0x01
Node64Name=micromod
Node64DCFName=PEAK MicroMod.eds
EDSBaseName=eds