attempt to fix some races
the race detector has shut up but some races probably still exist.. go fmt and cleanup inventory listing.