Fixed handling of remapped image files; improved error reporting.