combined gui state nodes into one class