Restoring Window state

I have several HUMAN UI windows in my definition. I am using a small window with a checkbox list to control which window is visible. It would be nice to be able to restore the last arrangement and status when I open the grasshopper file again. Any solution?