Add better tmux history line error checking