Added utility to support stretched expander header content.
Fixed crash when tooltip is specified but no gesture.
Added debug strings.