Refactor using program.at

moving away from using a natural number frame of reference for fn.
r ('row' of ui grid for program) is simply fn - 1
Factor out StyleMap mappings from controller