Made current directory per-window