I wonder if we should also do item.element.src = '' here so that Gecko can free the image memory without having to wait for item.element to be garbage collected.  If you add that here, please also add it in the deleteCurrentItem() method.