Add showState for gui