1. Change referrer default value from NULL to N/A so insert statment wil...

...l not fail when referrer is missing on the event. 2.fix endless loop in retries mechanism