fixed bad name output
output errors to correct location
Some more improvements. Joe still failing.