Re-ordered some code parts on dlAOVGroup node.
Used constant strings for osl attributes instead of rewriting them each time they are used. Also put the code corresponding to templates UI in a function, instead of having them as global variables.
Used constant strings for osl attributes instead of rewriting them each time they are used. Also put the code corresponding to templates UI in a function, instead of having them as global variables.