Tried to fix this with r8849: when opening it tries to enlarge windows to the default width/height.
I still have to work on the save/load of window sizes. Size is saved by magic numbers in a hashtable, but gives problems for window types that use pointers as magic numbers.