Multi delete

Enables somewhat adaptive multi-delete API-call optimizations for deletions.  This seems to make deletion over 10x faster.

Other assorted opportunistic cleanups also are in there.