Use logging in pragbot_client.
Optimize A* path planning.