Added some window state setters