chess-ai.el: Rename functions and fix a subtle bug in quiescence search termination.