Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers.
Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers. 
Some formatting - improved comments.