This is work on bug #7866.  Still much to do.
Merge branch 'master' of github.com:hugllc/HUGnetLib
This fixes #7866.  It is also much work on bug #7867.  There is still much work to be done on the second bug.  This is the outputtables done, but the input tables still to go.