squashed 4 commits:

spec conform iteration

consistent use of gfx (when other graphic objects are created) vs g (when no other graphic objects are created from this one)

removed unnecessary imports

not sure how to handle bounding boxes with non zero offset when layouting