image iterators can be stopped prematurely; added empty-trash command