Upgrade to laetest version(s). Added logging. Pollishing.