Exit with status zero on normal termination

I could me misunderstanding the expected flow here, but lumpy keeps exiting with a nonzero error status although it appears to have done all it should. Main should return a nonzero status only with abnormal termination.