fixed for new widget lib
file is not used but doesnt compile, so fix it
added getDomain to public interface
refactored to use client on latest daily build