Factoring many other things out of doIt().
Move other things in do_foosmen_analysis().
Get rid of barsShift and barsRot.