Reorganized engine, made sure that the player never plays on the computer's turn.