fixed compile errors caused by optionals

Used force unwrapping. However if the UIImage creation fails, the app will crash. Let's keep the fingers crossed.
Merge pull request #3 from caperea/master

fixed compile errors caused by optionals