Added comments to mboxlib.c

Comments clarify what error check calls are doing