Do not show progress bar if not interactive or knitr in progress

This was easy enough to _Just do it_™

Fixes #428