Extract legend rendering into render function that can be called multiple times
Merge branch 'make-legend-a-class' into yeepa
update built libs