Add iter_ents()

Lets you iterate over entities ignoring ones that don't fit the filter.
swap config