Changes on TextObject.h...

Avoid temporaries strings
Auto type conversion is not longer needed