Added support for themes and tabindex. Refactored view template use to
pass parameters by name.