Added IMG_GetError for error-checking when opening images by SDL