Changing Gui to use resource manager to load images.