appium#52 fixes. Enhancements and improvements.