Make legend wrap to multiple lines (closes #1)