Wrong data is used now but it is at least getting set sometimes.
Added nearly functional model stuff for the bins.  It fails in some infinite stack.