Fixed scope of capture. Adds support to STORE_GLOBAL and use exec creating isolated dicts for globals and locals