codegen, toplevel, bindings: get constant closures working