deleted gstateflags, defined gameInit