Ensure legend toggleability.
Update image paths to relative url, fix naming issue.