added flag to avoid looping compile errors.

Added the -interaction=nonstopmode flag to stop pdftex from taking user input on compile errors, which sometimes causes it to loop forever.