Improved packing for compression.  Added fixes for error handling.  JSON.stringify/base64 options are too verbose, packing as hex offers significant compression improvement.