Fix #2 the application exits in case of error
Fix typo
Fix loading image.
Merge pull request #3 from naveenann/master

- Fix #2 the application exits in case of error