Multiple changes: logging, features to support Cordova plugins