Fixed memory hog issue in panel.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>