fix OverLength when using multiple windows; make CWD heritance work on tmux 1.9