Fix up poperror()

This removes the problem with missing poperror on many paths.
I'll continue looking for problems in other files, but you should
be able to safely go up to date on this code.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>