Get rid of unnecessary global PANEL vars.
Merge pull request #757 from iSnipeu/fix-locals

Get rid of unnecessary global PANEL vars.