added support for selecting / coloring viewer externally for ScreenTemplateFactory