Added some error handling, AI improvements

Weird bug at the moment in the nested do...while loops in
lessdumbplayer.h where myTurn.hole.pieceIndex never increments past 2 so
it never leaves the loop. Can't figure it out yet.