Refactor afterImageLoadOrError.
Improve raw IMG turtle support.