New functions, fixed bugs in error messages, added ether_type info