Adding gamestate queue for replay, not finished yet
fixed merge conflict