Bugfixes and a close button

+ Added close button for advanced computers
* Fixed error reporting when user clicks somewhere other than the game
board
* Fixed AI not selecting random space correctly
* Changed the search method of the AI, could make it more extensible