Red links detection; various fixes.