update relink image logic, small bugfixes
Fix isMissing flag for redlink chapter