performance tweaks on minimax, probably going to alpha beta.