Added new parameter autoFit to GenerateTexture and _generateLabelTexture.
Removed commented code for alternative approach to implementing auto fit.