Improve the output for the standard error message

I think this pull request improves the output a lot. If you @papandreou  agree just merge it.