Fixed bug where computer will not stop thinking