Fix bug with nogrid lights were never processed
stricmp - use POSIX conformant name
Code configured to be compiled as C++, this fixes some weird bugs in 64=bit version of bloodmap