Detect cycles in the toplevel's printer.