I added the bottom pieces to my init function after looking through some of the discussions (author seems gone)
Don't know if it works or not, but it looks like the author stores data there, so I just empty the table. It's in control.lua, search for "local function Init()"
There's an ".Events", which I might need to clear because an inventive station dialog is stuck
local function Init()
-- global variables
global.ZADV = global.ZADV or {}
global.ZADV.Events = global.ZADV.Events or {}
global.ZADV.errors = global.ZADV.errors or {}
global.ZADV.InProcess = false
global.ZADV.ForceUnlock = false
global.ZADV.NextForceUnlock = 0
global.ZADV.EventLock = 0
global.ZADV.debug = 0
global.ZADV.debug = {}
global.ZADV.errors = {}