Rewritten textoutput source UpdateTexture, it was getting too messy

Note: if using outline , the mesured textsize is increased by outlineSize*2 to accomodate the outline. (previously it was a fixed value)