I actually wrote a plugin that aims on solving similar kind of problem. It lets you name windows and has session persistence. No ability to save/reopen windows, but it's a neat idea. If you're interested it's Window Titler:
https://addons.mozilla.org/en-US/firefox/addon/window-titler...