remove dead store
resolve potential ARC leaks by casting to UIImage
Merge pull request #394 from jhersh/master

Resolve ARC potential leaks