bug fix regarding locked bindings
Merge branch '31-cleanup' into 33-static-boxes
more use of LASTSYMENVNOTFOUND in envir.c
in do_set, copy scalar value rather than object if possible