nb updates
Merge branch 'master' into mac