Unusual error - loading node credentials

It is the latter ... global scoped variable call "activity_tab" . It has to be global so that all tabs can fed the process monitor. There is no doubt however (as you point out) that such a variable is vulnerable.