Final modification to tmux checking, redirected stderr to /dev/null as well.