Cleanup #2

Add minor refinements to the client to make simpler (pagination changes) and more developer friendly (logging and error passing). Only includes a slight change in public interface.