Refactor gxt.api to call event.api functions instead of gizmo.api functions. Cosmetic tweak for vardump.lua