better graph draw output for debugging, bug fixes in tree scoring.
reorg