Fix image loading; add license