more work on new transcoding, and some model var cleanup