handle custom bindings in frames properly
propagate bindings in 'extends' expansion
prepare for staged safescope
regions
build safescope from boot scope and prim modules