I added some try catch statements to the EntityImage and GameEngine classes.