Persist expand / collapse state for inspector groups

(somewhat experimental)