Loading image, removed old debugging code.