added legend + info

legend added, as was the dynamic info boxes.