progress: fix double increment
progress: rename variable
progress: handle Ctrl+C
progress: declare variables