Terminal commands are fully tokenized. Still experiencing valgrind problems