Fixed issue with window restoration
Saving last state of Inspector (last document wins)