support multi-byte version identifiers for boxes. minor internal cleanup/refactors.