Added improvements to ttf font creation

Added code to limit textures generated
Added code to ensure correct texture selection
Addded ttf code for buttons/dialogs