bug 845918: Reload templates & modules only at start of macro processing