queue-runner: Slightly improve logging (autoflush, consistency).
queue-runner: Fix an undefined value warning.