Removed debug printout; minor error reporting fix.