Removed dllmain.cpp which is no longer used.
Simplified ProcessThreadIPs() function.