Polygon.contains, BoundingBox.to -> Affinity, assorted tweaks