Switched the api url, made debugging visible in swf/browser only