State object now has a property indicating whether or not it is initialized, found strange issue on Windows release builds where setting the state for the first time was not actually setting the current state