Add skip_byte()
Use util_perror where appropriate
Minor code adjustments