Added folder open/close state snapshotting, etc.