replaced liberal uses of "memset" by the "MEM_Set" macro call (some platforms don't provide this ANSI function !!)