kvm: added line wrapping to Emit, merged TSubTerm and TTermProxy