* Hwnd.cs: add an internal field for the cached_window_state.