Fixed a naming bug in build_output()
Implemented the corresponding error messages as part of the status text and removed the handling of warnings