Less debugging messages, please
Fix logic error when reporting errors