Improved detection of short tab names, for spacing the icons in that case, see #28