use config instead of App.instance to propagate notebook_dir

Should behave more logically (I hope).