Added logging, minor tweaks
Added logging for debug, some to INFO level and some for WARN; still having problems with polling, but I think I got the authorization squared away.