Minor fixes to iterative deepening and negamax