Get rid of unnecessary global PANEL vars.