Added error handling for the image loading method.
Merge branch 'master' of https://github.com/nhemmings/CardTrick