[autotex] Implement max_rounds and fix verbose-from-file-bug