storage: docstring and formatting cleanups
delete view: make sure item is closed before it is removed from storage