Avoid inadvertent use of the global scope
Drop references to the delegate and colorIndex, which were causing us to leak the input dataset
Avoid using a shared transform variable.
The module-scope also seemed to contribute to a memory leak.
Merge pull request #15 from LocalData/mem-leak

Resolve a memory leak