Fix warning on uninitialized values while reading from /dev/stdin (Debian Bug#768124 by Phillip Berndt <phillip.berndt@googlemail.com>).
Disable progress bar while running non-interactive (Debian Bug#768124 by Phillip Berndt <phillip.berndt@googlemail.com>).