Figured out how to do better error checking.
update pynb commands to not use tmux.