revise previous fix
Merge branch '31-cleanup' into 33-static-boxes
tweak do_set mod for corrected envir.c
more tweaks in do_set
fix last mod