Extended the --check-program output: Error messages are now inlcued in an