cleaned up attributes vs. attribute, and a few other details in the getPanelContent of ImageList