Support for machine langid for itunes + better logging