Added WindowStateManager.