Added logging. Multithreaded the minimax calculator.