Several improvements to legend

- Hiding text in legend buttons while in tablet mode
- Truncating too long text
- Smaller 'unit' fontsizes
Merging