Any way to save/manage finder states? Not just the windows, but their location and layout too?
I'm not sure this would do everything, but if you could get something to put in a file the path to every open Finder window, and then put that file and the .DS_Store from each of those paths into a tarball, I think you would have most of it.

To restore, first put each .DS_Store back, then open all the directory names stored.