Fixed undefined behavior due to the lack of return

This patch addresses issue #125. I introduced the bug with the addition of UA parsing. The failure was no return value(s) on a function expecting a return value. This should have been flagged by -Wall but it currently isn't (for reasons that aren't all that clear to me right now - I'll look into that later.).

This bug causes undefined behavior which could explain why Mike sometimes had issues and sometimes not.