mass rename ugly add(encodeVarInt()) to addVarInt(), fix 0x3C
undo debug commit, take easy way out for 0x3E