Circular reference error reporting

More context when reporting circular references. Tabs-to-spaces.