did the grid thing, changed stuff and cleaned up a little. the output worldstate is now one variable called GameState and this will need to be emptied after clearing a game.
Merge remote-tracking branch 'origin/master'