Improved ximFitText truncation algorithm
Minor style issue
Minor issues