begin cleaning up callbacks, make sure images are deleted on error
Merge pull request #84 from ccd0/async

begin cleaning up callbacks, make sure images are deleted on error