Add TVS product code for metadata.
Fix signed type on some integers.

This was causing bad locations on special graphic symbols.