trigger control - debugged: stop-method: stop only if process was running

include encodedig, encodean, decodedig, decodean + according properties in serialport