used a Value rather than a string when writing the persistent file
add code to force a stable state test when a modbus update is detected