Refactor gamestate processing