Yes, I did that by using a custom dialogue window which is being run after a restart and immediately after the preferences are being read. Even with all windows open saved, the result is always different. Also, when only having a single windows open up till 3 extra windows, everything works correctly. It goes wrong the moment I add that 4th extra window. This can be any kind of window, it doesn't depend on which window.