some changes to chessapp.py