Trying to fix closures
I fixed it!!!

I fixed it, but we still need to work on the threads because UI has to
be done in the main thread
Merge branch 'Closures'