Add --mac option
Print program messages to standard error
Add --quiet switch
Fix byte order when printing XID
Add --query switch
Add --print-only option
Exit after printing --help output
Update documentation