Fixed undefined behavior due to the lack of return
Revert to DBG_MSG
Merge pull request #126 from jacob-baines/early_exit

Fixed undefined behavior due to the lack of return