Logging and interruptable TPC with progress bar.