PR: Add visibility status in ResizableWindow state get/restore methods


In a typical GUI application design using multiple windows, I thought it would be cool if ResizableWindow's getWindowStateAsString() and restoreWindowStateFromString() methods could also handle the visible state. So made this simple PR that’ll take care of it while maintaining compatibility:

Any feedback welcome. Thanks!