Refactored the TNEF code a bit to keep better track of non-compliance issues