Changed event object naming convention
Fixed header guard
Made call to nt_free_error a double pointer argument