Fix removal of Features when a sponge is closed.

Modifying a List that is being iterated is a bad idea.  Some features were
left there forever because of that mistake.  Also, all sponges are closed on
cmd period.