Lambdas create proper lexical closures, running files reenabled and
exception safe, added test for closure functionality, split environment
declaration and definition