Automatically Cleaning up Closures

Simple proof of concept for how a helper function can automatically clean up after binding a closure to an event.