fixing the lingering activated AOIs

make sure len(aoilist)>0, because aoilist cannot be None.
fixing the "break" bug; explaining how p2Task works

at some point I misunderstood how p2Task works, and thought it would
process all entries, rather than just the "dict" type. So I changed
"break in value" to "break in k". The latter will never trigger. Which
explains why it always does an exhaustive search.

Warning, given the unpredictive order of YAML processing, you can't
predict which entries will break first. Will need more testing here.
minor fix of an error message