Version 0.97
Display the state machine variable state when opening the window