Fixed figures link coloring.
Added several try/except statements to prevent errors.
Added escape hatch.