More cleaning...

Next step is to output the console data to a log file.
Changed the curl error output