Print progress to stderr
Made comparison easier to read
Removed hard coded value for error message
Output to stdout possible