Resizing gui and image loading