Split appendMove into appendBestmove and appendCoordinateMove.