Lot of tweaking : auto rescale of legend width as function of text length, ratio position now at bottom by default