Fix various privacy violations uncovered
Update various imports that were leaks of globs
Extract privacy from name resolution

Also implement privacy correctly