I've seen problems with the ManageVars plugin where it overwrites the s.t function. It looks like you are having this problem. Check your doPlugin custom code to see if this is the case.
I have not been able to reproduce the clearVars issue you reported. Could you give me some more information such as a link to a page where you see the problem or a link to the Launch package?