Replaced reference to non-portable ZeroMemory().
Made case-sensitive string comparisons (strcmpi()) portable (other OS' use strcasecmp()).