modified two helper functions putTerminalIntoStationaryState and putTerminalIntoMovingState - those two failed in overnight run - now waiting for MovingStart and MovingEnd message has been applied in dependence on the state of terminal; hardcoded delay has been removed - that was a cause of troubles