details wasn't properly listing backed up items. This fixes the details display, and contains some code clean-up that occurred along the way.
standard boilerplate additions, largely copy-paste and renamed from other files.