Phew - cleaned up the bet engine, and added verbosity. More to come later!