Recurse through pageItems to get paths in a layer.
Recurse through pageItems to get paths in a layer.

This does not collect paths in sublayers. If you use sublayers you are a
horrible person and I hate you, and as far as I can tell, they have no
reason to exist.

This should be much faster for documents with many layers.

Also remove some lingering ScriptUI stuff.

TypesettingTools/AI2ASS,TypesettingTools/AI2ASS