Adam,
I was wondering what procedure you would recommend for finding the name of the template that was loaded into the editor. It doesn't lool like CE provides that information (maybe I am wrong), so I thought about adding an ID to an element in each template then looking for that ID in the HTML from CE to determine which template was loaded. Is there a better way?