moved legend, floated inline, other tweaks