Added changeable visibility to window.