changes to xtpanel