Fixes issue #17 where the app crashes if an exception is thrown due to m...

...issing files or problems retrieving a resource.