Fixed memleak by Mark Douglas
UTF8Decode to UTF8ToUTF16 by Jean Patrick
Virtual procedures for Header and Footer by Jean Patrick

Signed-off-by: Jean Patrick <jpsoft-sac-pa@hotmail.com>