Moved the loading of the image from ImagePanel to Main