Print the results as the script executes.

Rather than printing everything out at the end of the execution, print the
results as we go. This prevents long runs that timeout from being useless.