Fix comments -- times are in s not ms.
Make copies of the IO, setpoint and status fields to avoid the situation where they are tables and the user changes them underneath us.
Improved LDoc.

More avoiding mutable tables being kept around for later use.  This helps prevent the user playing games underneath us.