Fixed sprint_terminal_testing(): needed to make the use of strtok() the last line in a while() loop.