Add autochdir, autoread
Merge branch 'master' into mac