Closures WIP 28 - tested/working caching delegates to anonymous methods inside loops, when possible (task #45)