Round-trip of archive/trash and undo works

Slow right now, but basics and plumbing are in place.