improved error messages when IMG_Load() fails loading an image