ModularPresenter now passes $themeDir variable to templates.