Added minimum logging to show api url
Added debug option for this logging in the preferences