remove dead code, reindent, remove misleading comments
too clever by half in extract-transform-globals
Merge remote-tracking branch 'brown/scope-rewrite' into modules