Too lazy to hassle with the tracker, so here it is...
When maximized, Window object stays maximized unless minimized, even when you set the window size. It just thinks it is maximized, so you can't re-maximize it or something.
It is missing the "restore window" feature that would restore the window to non-maximized, that is windowed state.