main.c: ensure that every main_error call has the message string prefixed with the calling function name