Fixed bug in run_in_new_terminal and removed tabs