Some work on forcing reload when new template is chosen.