reback udt idle task and timer to origin setting, ongoing optimization on mobile device
added OSX definition on MAC