Fix more of the scramble logic and a little of the other logic.  Scramble logic still not finished, although balance logic *may* be.