xhr, fix loading images, spacing