Improved number formatting. Locale detection not rock solid.