Winstate

one more update here. I'm also going to send a PR to salt main line.