#FEC-1168 #comment fixed kmc.vars referenced to parent window