fixed ChessGame.cpp's exit and quit buttons so that they actually work