Character window text and player portrait rendered correctly.
Improved #defines for UI_ELEMENT_types
Converted UI state #defines to UI_state
Completed most in game UI tooltipsconversion to new text system.