Label problem fixed.

I use numbers as label. The trim function is not definded for numbers. Variable will be converted to string before the trim function is called.
Merge pull request #5 from marvinrabe/tooltips

Error with numeric labels