Fixes to AStar alg.  Added ioLog for debug.  Still has invalid key index crashes.