* Wire up at-leaf flag to training, and add a bug fix to the non-leaf oracle.