1. Sniffer was trying to log a NULL pointer as a string. Logged a string instead. 2. Few misc fixes in ECC.