Adding a way to debug get referrers / improved it a bit.