bug fixes in ChessClient.py