Extended the `QM.puts` method so that it also outputs error messages implicitly