Save open listers and tabs periodically or on change

If you're using layouts, you could have a script which saves over them when you close one of their windows. Probably only makes sense with single-window layouts.