made stats use of GUID safer by always checking for null_guid after
getting it from katina getClientGuid()