Added thunk for global object, added debug of return value from eval_expr_*.