Always include HeadSpin.h before Max.h--Max.h brings in Winsocks 1, for some reason. This creates symbol clash hell.