Added winstate
Revert "Added winstate"

This reverts commit 90bf90e3f25ded07d6686b6373c9212d7aecfb40.