pulled string and static values into global vars.
tweaked canvas cosmetics.
added main with loop.
added separate testme function for single iteration.
changed fbg to point to function rather than ROOT polX names.
added TODOs.