Removed log calls from wchar.go
Added nil pointer checks also for *PtrInt functions.