Fixed isStraight and added gamestate checks