misc fixes
Merge branch 'master' into nook