Add diagnostics to debug windows failure to follow links