Much better logging.
Added $origin to enable reduction in unnecessary Webs Service calls.