added a loading control and fixed some issues with imagepanel