Fixed some bugs (wrapping NULLs, etc)
Wrapped all calls in criticalsections to avoid multithreading bugs
Split log to several files, every 32k lines or so - ultraedit and sublime text both failed with over 2GB logs
Replaced GetTickCount with QueryPerformanceCounter based timings
Crimson skies now runs as far with only this wrapper and with csfix chained, which means this wrapper still causes it to crash..