Now assumes all components bonds etc at depth zero in fig file.
Ie anything at depth>0 is ignored.
Thanks to Donald for suggesting this.