- note to cleanup fprintf(2,...) -> bb_error_msg(...) and