Added some fixes for working in tmux, also added completion submodules to get bash completion in shell.