logging race fixes
logging race fixes

- Fix some races reported by "go test -race" on some experimental packages I
  had. The basic fix is that values used as atomic integers should always use
  the atomic Load/Store methods.
- Get rid of unnecessary locks, the values were being protected by atomic
  Load/Store, not by a mutex

cosnicolaou/llog