improved command output
fixed #12; show the full error information for every return code