Btw, you not calling chnset for any channels at each k-boundary by any chance? That wouldn’t be good. All your identchannel chnset calls should be done once when needed. I always wrap them in an if statement:
kTrigButton chnget "button2"
if changed(kTrigButton))==1 then
chnget "visible(1)", "plant1"
endif

