diff --git a/MaxNifPlugins_Readme.txt b/MaxNifPlugins_Readme.txt
index 2a1cbf893577a1e1846bb1979637a7334e6be6f7..bd8d5a642a360893a9c7e3146a5e0b75ab0a4e12 100644
--- a/MaxNifPlugins_Readme.txt
+++ b/MaxNifPlugins_Readme.txt
@@ -36,10 +36,14 @@
       0.2.11 (Experimental Release)
       -----
     o All
+      - Please note that this is most an experimental release!
       - Update to latest version of Niflib
       - Introduce gmax importer/exporter
       - Introduce build for max 4.2
       
+    o Exporter
+      - Introduce bhkRigidBody export for Box
+      
       0.2.10
       ----- 
     o All
diff --git a/MaxNifTools.ini b/MaxNifTools.ini
index 0b8959445e6dd52a09bc1a39526ac47aa7ab413c..1501ffaf4485262dd0373f72fa0f9f29cb7df651 100644
--- a/MaxNifTools.ini
+++ b/MaxNifTools.ini
@@ -53,8 +53,8 @@ ExportSkin=1
 UserPropBuffer=0
 ; Flatten Node Hierarchy. Default: 0
 FlattenHierarchy=0
-; Remove Unreferenced Bones. Default: 1
-RemoveUnreferencedBones=1
+; Remove Unreferenced Bones. Default: 0
+RemoveUnreferencedBones=0
 ; Sort Nodes To End of Child Lists. Default: 0
 SortNodesToEnd=1
 SkeletonOnly=0
@@ -73,6 +73,7 @@ CollapseTransforms=0
 ; Add Tangent and Binormal Extra Data block. Default: 0
 TangentAndBinormalExtraData=0
 FixNormals=0
+; TriStrip routine to use. (0=NVidia, 1=tri_stripper) Default:0
 UseAlternateStripper=0
 
 [MaxNifImport]
diff --git a/NifExport/Coll.cpp b/NifExport/Coll.cpp
index 0ccf0986f12df8b9ec2b565d599368fcb659472f..a362328e2a2721775827317f87eadf50db36cc1e 100755
--- a/NifExport/Coll.cpp
+++ b/NifExport/Coll.cpp
@@ -255,7 +255,7 @@ Exporter::Result Exporter::exportCollision(NiNodeRef &parent, INode *node)
 
 	// marked as collision?
 	//bool coll = npIsCollision(node);
-   bool coll = (mCollisionNodes.find(node) != mCollisionNodes.end());
+   bool coll = isCollision(node);
 
    bool local = !mFlattenHierarchy;
    NiNodeRef nodeParent = mFlattenHierarchy ? mNiRoot : parent;
@@ -265,18 +265,19 @@ Exporter::Result Exporter::exportCollision(NiNodeRef &parent, INode *node)
 	{
 		newParent = nodeParent; // always have collision one level up?
 
-      TimeValue t = 0;
-      Matrix3 tm = getTransform(node, t, local);
-      Matrix44 rm4 = TOMATRIX4(tm, false);
-      Vector3 trans; Matrix33 rm; float scale;
-      rm4.Decompose(trans, rm, scale);
-      QuaternionXYZW q = TOQUATXYZW(rm.AsQuaternion());
-
-		bhkSphereRepShapeRef shape = makeCollisionShape(node, tm);
+		TimeValue t = 0;
+		Matrix3 tm = getTransform(node, t, local);
+		bhkShapeRef shape = makeCollisionShape(node, tm);
 		bhkRigidBodyRef body = makeCollisionBody(node);
 		body->SetShape(DynamicCast<bhkShape>(shape));
-      body->SetRotation(q);
-      body->SetTranslation(trans / 7.0f);
+
+		Matrix44 rm4 = TOMATRIX4(tm, false);
+		Vector3 trans; Matrix33 rm; float scale;
+		rm4.Decompose(trans, rm, scale);
+
+		QuaternionXYZW q = TOQUATXYZW(rm.AsQuaternion());
+		body->SetRotation(q);
+		body->SetTranslation(trans / Exporter::bhkScaleFactor);
 
 		bhkCollisionObjectRef co = new bhkCollisionObject();
 		co->SetBody(DynamicCast<NiObject>(body));
@@ -309,27 +310,45 @@ bhkRigidBodyRef Exporter::makeCollisionBody(INode *node)
 	float mass, lindamp, angdamp, frict, maxlinvel, maxangvel, resti, pendepth;
 	Vector3 center;
 
-   // Handle compatibility
-   npGetProp(node, NP_HVK_MASS_OLD, mass, NP_DEFAULT_HVK_EMPTY);
-   if (mass == NP_DEFAULT_HVK_EMPTY)
-      npGetProp(node, NP_HVK_MASS, mass, NP_DEFAULT_HVK_MASS);
-   npGetProp(node, NP_HVK_FRICTION_OLD, frict, NP_DEFAULT_HVK_EMPTY);
-   if (frict == NP_DEFAULT_HVK_EMPTY)
-      npGetProp(node, NP_HVK_FRICTION, frict, NP_DEFAULT_HVK_FRICTION);
-   npGetProp(node, NP_HVK_RESTITUTION_OLD, resti, NP_DEFAULT_HVK_EMPTY);
-   if (resti == NP_DEFAULT_HVK_EMPTY)
-      npGetProp(node, NP_HVK_RESTITUTION, resti, NP_DEFAULT_HVK_RESTITUTION);
-
-	npGetProp(node, NP_HVK_LAYER, lyr, NP_DEFAULT_HVK_LAYER);
-	npGetProp(node, NP_HVK_MATERIAL, mtl, NP_DEFAULT_HVK_MATERIAL);
-	npGetProp(node, NP_HVK_MOTION_SYSTEM, msys, NP_DEFAULT_HVK_MOTION_SYSTEM);
-	npGetProp(node, NP_HVK_QUALITY_TYPE, qtype, NP_DEFAULT_HVK_QUALITY_TYPE);
-	npGetProp(node, NP_HVK_LINEAR_DAMPING, lindamp, NP_DEFAULT_HVK_LINEAR_DAMPING);
-	npGetProp(node, NP_HVK_ANGULAR_DAMPING, angdamp, NP_DEFAULT_HVK_ANGULAR_DAMPING);
-	npGetProp(node, NP_HVK_MAX_LINEAR_VELOCITY, maxlinvel, NP_DEFAULT_HVK_MAX_LINEAR_VELOCITY);
-	npGetProp(node, NP_HVK_MAX_ANGULAR_VELOCITY, maxangvel, NP_DEFAULT_HVK_MAX_ANGULAR_VELOCITY);
-	npGetProp(node, NP_HVK_PENETRATION_DEPTH, pendepth, NP_DEFAULT_HVK_PENETRATION_DEPTH);
-	npGetProp(node, NP_HVK_CENTER, center);
+	if (npIsCollision(node))
+	{
+		// Handle compatibility
+		npGetProp(node, NP_HVK_MASS_OLD, mass, NP_DEFAULT_HVK_EMPTY);
+		if (mass == NP_DEFAULT_HVK_EMPTY)
+			npGetProp(node, NP_HVK_MASS, mass, NP_DEFAULT_HVK_MASS);
+		npGetProp(node, NP_HVK_FRICTION_OLD, frict, NP_DEFAULT_HVK_EMPTY);
+		if (frict == NP_DEFAULT_HVK_EMPTY)
+			npGetProp(node, NP_HVK_FRICTION, frict, NP_DEFAULT_HVK_FRICTION);
+		npGetProp(node, NP_HVK_RESTITUTION_OLD, resti, NP_DEFAULT_HVK_EMPTY);
+		if (resti == NP_DEFAULT_HVK_EMPTY)
+			npGetProp(node, NP_HVK_RESTITUTION, resti, NP_DEFAULT_HVK_RESTITUTION);
+
+		npGetProp(node, NP_HVK_LAYER, lyr, NP_DEFAULT_HVK_LAYER);
+		npGetProp(node, NP_HVK_MATERIAL, mtl, NP_DEFAULT_HVK_MATERIAL);
+		npGetProp(node, NP_HVK_MOTION_SYSTEM, msys, NP_DEFAULT_HVK_MOTION_SYSTEM);
+		npGetProp(node, NP_HVK_QUALITY_TYPE, qtype, NP_DEFAULT_HVK_QUALITY_TYPE);
+		npGetProp(node, NP_HVK_LINEAR_DAMPING, lindamp, NP_DEFAULT_HVK_LINEAR_DAMPING);
+		npGetProp(node, NP_HVK_ANGULAR_DAMPING, angdamp, NP_DEFAULT_HVK_ANGULAR_DAMPING);
+		npGetProp(node, NP_HVK_MAX_LINEAR_VELOCITY, maxlinvel, NP_DEFAULT_HVK_MAX_LINEAR_VELOCITY);
+		npGetProp(node, NP_HVK_MAX_ANGULAR_VELOCITY, maxangvel, NP_DEFAULT_HVK_MAX_ANGULAR_VELOCITY);
+		npGetProp(node, NP_HVK_PENETRATION_DEPTH, pendepth, NP_DEFAULT_HVK_PENETRATION_DEPTH);
+		npGetProp(node, NP_HVK_CENTER, center);
+	}
+	else
+	{
+		// Check self to see if is one of our bhkXXXObject classes
+		if (Object* obj = node->GetObjectRef())
+		{
+			if (obj->SuperClassID() == HELPER_CLASS_ID &&
+				obj->ClassID().PartB() == BHKRIGIDBODYCLASS_DESC.PartB()) 
+			{
+				// TODO: do standard body export
+			}
+		}
+
+		// else check redirection 
+	}
+
 
 	// setup body
 	bhkRigidBodyRef body = CreateNiObject<bhkRigidBodyT>();
@@ -353,35 +372,24 @@ bhkRigidBodyRef Exporter::makeCollisionBody(INode *node)
 	return body;
 }
 
-bhkSphereRepShapeRef Exporter::makeCollisionShape(INode *node, const Matrix3& tm)
+bhkShapeRef Exporter::makeCollisionShape(INode *node, Matrix3& tm)
 {
-	bhkSphereRepShapeRef shape;
+	bhkShapeRef shape;
 	
 	TimeValue t = 0;
 	ObjectState os = node->EvalWorldState(t); 
 	if (os.obj->ClassID() == SCUBA_CLASS_ID)
-		shape = makeCapsuleShape(os.obj, tm);
-	else
-	if (os.obj->ClassID() == Class_ID(BOXOBJ_CLASS_ID, 0))
-		shape = makeBoxShape(os.obj, tm);
-	else
-	if (os.obj->ClassID() == Class_ID(SPHERE_CLASS_ID, 0))
-		shape = makeSphereShape(os.obj, tm);
-	else
-	if (os.obj->SuperClassID() == GEOMOBJECT_CLASS_ID)
+		shape = makeCapsuleShape(node, os.obj, tm);
+	else if (os.obj->ClassID() == Class_ID(BOXOBJ_CLASS_ID, 0))
+		shape = makeBoxShape(node, os.obj, tm);
+	else if (os.obj->ClassID() == Class_ID(SPHERE_CLASS_ID, 0))
+		shape = makeSphereShape(node, os.obj, tm);
+	else if (os.obj->SuperClassID() == GEOMOBJECT_CLASS_ID)
 		shape = makeTriStripsShape(node, tm);
-
-	if (shape)
-	{
-		int mtl;
-		npGetProp(node, NP_HVK_MATERIAL, mtl, NP_DEFAULT_HVK_MATERIAL);
-		shape->SetMaterial(HavokMaterial(mtl));
-	}
-
 	return shape;
 }
 
-bhkSphereRepShapeRef Exporter::makeBoxShape(Object *obj, const Matrix3& tm)
+bhkShapeRef Exporter::makeBoxShape(INode *node, Object *obj, Matrix3& tm)
 {
    Point3 scale = GetScale(tm);
 	float length = 0;
@@ -393,12 +401,22 @@ bhkSphereRepShapeRef Exporter::makeBoxShape(Object *obj, const Matrix3& tm)
 	params->GetValue(obj->GetParamBlockIndex(BOXOBJ_WIDTH), 0, width, FOREVER);
 
 	bhkBoxShapeRef box = new bhkBoxShape();
-	box->SetDimensions(Vector3(width * scale[0], height * scale[1], length * scale[2]));
+	Vector3 dim(width * scale[0], length * scale[1], height * scale[2]);
 
-	return bhkSphereRepShapeRef(DynamicCast<bhkSphereRepShape>(box));
+	// Adjust translation for center of z axis in box
+	tm.Translate(Point3(0.0, 0.0, dim.z / 2.0));
+
+	dim /= (Exporter::bhkScaleFactor * 2);
+	box->SetDimensions(dim);
+
+	int mtl = 0;
+	npGetProp(node, NP_HVK_MATERIAL, mtl, NP_DEFAULT_HVK_MATERIAL);
+	box->SetMaterial(HavokMaterial(mtl));
+
+	return bhkShapeRef(DynamicCast<bhkSphereRepShape>(box));
 }
 
-bhkSphereRepShapeRef Exporter::makeSphereShape(Object *obj, const Matrix3& tm)
+bhkShapeRef Exporter::makeSphereShape(INode *node, Object *obj, Matrix3& tm)
 {
    Point3 scale = GetScale(tm);
    float s = (scale[0] + scale[1] + scale[2]) / 3.0;
@@ -410,10 +428,14 @@ bhkSphereRepShapeRef Exporter::makeSphereShape(Object *obj, const Matrix3& tm)
 	bhkSphereShapeRef sphere = new bhkSphereShape();
 	sphere->SetRadius(radius * s);
 
-	return bhkSphereRepShapeRef(DynamicCast<bhkSphereRepShape>(sphere));
+	int mtl = 0;
+	npGetProp(node, NP_HVK_MATERIAL, mtl, NP_DEFAULT_HVK_MATERIAL);
+	sphere->SetMaterial(HavokMaterial(mtl));
+
+	return bhkShapeRef(DynamicCast<bhkSphereRepShape>(sphere));
 }
 
-bhkSphereRepShapeRef Exporter::makeCapsuleShape(Object *obj, const Matrix3& tm)
+bhkShapeRef Exporter::makeCapsuleShape(INode *node, Object *obj, Matrix3& tm)
 {
    Point3 scale = GetScale(tm);
    float s = (scale[0] + scale[1] + scale[2]) / 3.0;
@@ -426,10 +448,18 @@ bhkSphereRepShapeRef Exporter::makeCapsuleShape(Object *obj, const Matrix3& tm)
 
 	bhkCapsuleShapeRef capsule = CreateNiObject<bhkCapsuleShape>();
 
-	return bhkSphereRepShapeRef(DynamicCast<bhkSphereRepShape>(capsule));
+	capsule->SetRadius(radius);
+	capsule->SetRadius1(radius);
+	capsule->SetRadius2(radius);
+
+	int mtl = 0;
+	npGetProp(node, NP_HVK_MATERIAL, mtl, NP_DEFAULT_HVK_MATERIAL);
+	capsule->SetMaterial(HavokMaterial(mtl));
+
+	return bhkShapeRef(DynamicCast<bhkSphereRepShape>(capsule));
 }
 
-bhkSphereRepShapeRef Exporter::makeTriStripsShape(INode *node, const Matrix3& tm)
+bhkShapeRef Exporter::makeTriStripsShape(INode *node, Matrix3& tm)
 {
 	TimeValue t = 0;
    Matrix3 sm = ScaleMatrix( GetScale(tm) );
@@ -471,24 +501,24 @@ bhkSphereRepShapeRef Exporter::makeTriStripsShape(INode *node, const Matrix3& tm
 	//TriStrips strips;
 	//strippify(strips, verts, vnorms, tris);
 	//NiTriStripsDataRef data = makeTriStripsData(strips);
-   NiTriStripsDataRef data = new NiTriStripsData(tris, false);
+	NiTriStripsDataRef data = new NiTriStripsData(tris, Exporter::mUseAlternateStripper);
 	data->SetVertices(verts);
 	data->SetNormals(vnorms);
 
 	// setup shape
 	bhkNiTriStripsShapeRef shape = StaticCast<bhkNiTriStripsShape>(bhkNiTriStripsShape::Create());
+	shape->SetNumStripsData(1);
+	shape->SetStripsData(0, data);
 
-	//bhkNiTriStripsShapeRef shape = DynamicCast<bhkNiTriStripsShape>(CreateBlock("bhkNiTriStripsShape"));
-	//shape->SetNumStripsData(1);
-	//shape->SetStripsData(0, data);
+	int mtl;
+	npGetProp(node, NP_HVK_MATERIAL, mtl, NP_DEFAULT_HVK_MATERIAL);
+	shape->SetMaterial(HavokMaterial(mtl));
 
 	//if (tri != os.obj)
 	//	tri->DeleteMe();
-
-	return bhkSphereRepShapeRef();
+	return StaticCast<bhkShape>(shape);
 }
 
-
 Exporter::Result Exporter::scanForCollision(INode *node)
 {   
    if (NULL == node) 
@@ -517,8 +547,19 @@ Exporter::Result Exporter::scanForCollision(INode *node)
          mCollisionNodes.insert(node);
       }
    }
+
+   if (npIsCollision(node))
+   {
+	   mCollisionNodes.insert(node);
+   }
+
    for (int i=0; i<node->NumberOfChildren(); i++) {
       scanForCollision(node->GetChildNode(i));
    }
    return Exporter::Ok;
 }
+
+bool Exporter::isCollision(INode *node)
+{
+	return (mCollisionNodes.find(node) != mCollisionNodes.end());
+}
\ No newline at end of file
diff --git a/NifExport/Config.cpp b/NifExport/Config.cpp
index 5f40d78933f1adc998917d4a491eb05f5fc5224a..5729faf734120ed4cd161f7411d3073c38c5aa14 100755
--- a/NifExport/Config.cpp
+++ b/NifExport/Config.cpp
@@ -6,6 +6,8 @@
 
 static LPCTSTR NifExportSection = TEXT("MaxNifExport");
 static LPCTSTR KfExportSection = TEXT("KfExport");
+static LPCTSTR CollisionSection = TEXT("Collision");
+
 
 void regSet(HKEY hKey, const char *value, float f);
 void regSet(HKEY hKey, const char *value, bool b);
@@ -83,6 +85,7 @@ void Exporter::writeConfig(Interface *i)
       SetIniValue(NifExportSection, "TangentAndBinormalExtraData", mTangentAndBinormalExtraData, iniName);
       SetIniValue(NifExportSection, "UseAlternateStripper", mUseAlternateStripper, iniName);
       
+	  //SetIniValue(CollisionSection, "bhkScaleFactor", bhkScaleFactor, iniName);
 
       SetIniValue<string>(NifExportSection, "Creator", mCreatorName, iniName);
       
@@ -156,6 +159,8 @@ void Exporter::readConfig(Interface *i)
 
       mUseAlternateStripper = GetIniValue(NifExportSection, "UseAlternateStripper", false, iniName);
       mCreatorName = GetIniValue<string>(NifExportSection, "Creator", "", iniName);
+
+	  bhkScaleFactor = GetIniValue<float>(CollisionSection, "bhkScaleFactor", 7.0f, iniName);
   }
 }
 
diff --git a/NifExport/Exporter.cpp b/NifExport/Exporter.cpp
index 6e848f1fcef07db81673d8e7404d1f251afb6c37..6a9c5796836fe4543be7436e59ae296742ad5d8b 100755
--- a/NifExport/Exporter.cpp
+++ b/NifExport/Exporter.cpp
@@ -47,6 +47,7 @@ bool Exporter::mSupportPrnStrings = false;
 stringlist Exporter::mRotate90Degrees;
 bool Exporter::mSuppressPrompts = false;
 bool Exporter::mUseAlternateStripper = false;
+float Exporter::bhkScaleFactor = 7.0f;
 
 static bool IsNodeOrParentSelected(INode *node) {
    if (node == NULL)
@@ -227,7 +228,7 @@ Exporter::Result Exporter::exportNodes(NiNodeRef &parent, INode *node)
 {
    TSTR nodeName = node->GetName();
    //bool coll = npIsCollision(node);
-   bool coll = (mCollisionNodes.find(node) != mCollisionNodes.end());
+   bool coll = isCollision(node);
 
    ProgressUpdate(Geometry, FormatText("'%s' Geometry", nodeName.data()));
 
diff --git a/NifExport/Exporter.h b/NifExport/Exporter.h
index 22ccee5d967e1598816bf4087abd78137d3431da..aaf1df034aa8656745e23e169619e328f5768756 100755
--- a/NifExport/Exporter.h
+++ b/NifExport/Exporter.h
@@ -94,6 +94,7 @@ public:
    static bool          mSupportPrnStrings;
    static bool          mSuppressPrompts;
    static bool          mUseAlternateStripper;
+   static float			bhkScaleFactor;
 
 	Exporter(Interface *i, AppSettings *appSettings);
 
@@ -158,6 +159,7 @@ public:
    Result					exportNodes(NiNodeRef &root, INode *node);
 	Result					exportCollision(NiNodeRef &root, INode *node);
    Result               scanForCollision(INode *node);
+   bool					isCollision(INode *node);
 
 	/* utility functions */
 	Mtl						*getMaterial(INode *node, int subMtl);
@@ -215,12 +217,12 @@ public:
 	/* creates a bhkRigidBody */
 	bhkRigidBodyRef			makeCollisionBody(INode *node);
 	/* creates a collision shape from a node */
-   bhkSphereRepShapeRef	makeCollisionShape(INode *node, const Matrix3& tm = Matrix3::Identity);
+	bhkShapeRef				makeCollisionShape(INode *node, Matrix3& tm);
 
-	bhkSphereRepShapeRef	makeTriStripsShape(INode *node, const Matrix3& tm);
-	bhkSphereRepShapeRef	makeBoxShape(Object *obj, const Matrix3& tm);
-	bhkSphereRepShapeRef	makeSphereShape(Object *obj, const Matrix3& tm);
-	bhkSphereRepShapeRef	makeCapsuleShape(Object *obj, const Matrix3& tm);
+	bhkShapeRef				makeTriStripsShape(INode *node, Matrix3& tm);
+	bhkShapeRef				makeBoxShape(INode *node, Object *obj, Matrix3& tm);
+	bhkShapeRef				makeSphereShape(INode *node, Object *obj, Matrix3& tm);
+	bhkShapeRef				makeCapsuleShape(INode *node, Object *obj, Matrix3& tm);
 
    /* skin export */
    bool makeSkin(NiTriBasedGeomRef shape, INode *node, FaceGroup &grp, TimeValue t);
diff --git a/NifExport/Util.cpp b/NifExport/Util.cpp
index 2a356c03e3f3ee8bdbaf852b52293a02d170e308..b74a0d7a9fcd2a969d65a58dd15c98eb5fc46c2f 100755
--- a/NifExport/Util.cpp
+++ b/NifExport/Util.cpp
@@ -143,10 +143,10 @@ bool Exporter::isCollisionGroup(INode *maxNode, bool root)
 	{
 		if (!maxNode->IsGroupHead())
 			return false;
-	} else
+	} 
+	else
 	{
-      if (mCollisionNodes.find(maxNode) != mCollisionNodes.end())
-		//if (npIsCollision(maxNode))
+      if (isCollision(maxNode))
 			return true;
 	}
 
@@ -165,10 +165,10 @@ bool Exporter::isMeshGroup(INode *maxNode, bool root)
 	{
 		if (!maxNode->IsGroupHead())
 			return false;
-	} else
+	} 
+	else
 	{
-      if (mCollisionNodes.find(maxNode) == mCollisionNodes.end())
-		//if (!npIsCollision(maxNode))
+		if (!isCollision(maxNode))
 		{
 			TimeValue t = 0;
 			ObjectState os = maxNode->EvalWorldState(t); 
diff --git a/NifPlugins/DllEntry.cpp b/NifPlugins/DllEntry.cpp
index 90bc9d0b8afbe9e04cc36889646e0765c68683b6..031207b624c9961a3de9dfc8af4f8551858a2786 100644
--- a/NifPlugins/DllEntry.cpp
+++ b/NifPlugins/DllEntry.cpp
@@ -84,7 +84,7 @@ void InitializeLibSettings()
    }
    if ( GetIniValue<bool>("NifProps", "Enable", true, iniName) ) {
       classDescEnabled[CD_Props] = true;
-      //classDescriptions[nClasses++] = GetNifPropsDesc();
+      classDescriptions[nClasses++] = GetNifPropsDesc();
 #ifdef USE_UNSUPPORTED_CODE
       classDescriptions[nClasses++] = GetbhkRigidBodyModifierDesc();
       classDescriptions[nClasses++] = GetbhkSphereDesc();
diff --git a/NifPlugins_VC80.vcproj b/NifPlugins_VC80.vcproj
index a74f7c189442bc130f47db0c86c6713c186cc4c0..a61ae49a8fc1dc48f62ecbb761602d294ff51d92 100644
--- a/NifPlugins_VC80.vcproj
+++ b/NifPlugins_VC80.vcproj
@@ -123,19 +123,21 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 6|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Release - Max 6|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -145,24 +147,22 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
 				AdditionalIncludeDirectories="C:\3dsmax6\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
+				StringPooling="true"
 				ExceptionHandling="2"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -176,7 +176,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -185,10 +185,9 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
 				OutputFile="C:\3dsmax6\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
 				AdditionalLibraryDirectories="C:\3dsmax6\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
@@ -196,7 +195,11 @@
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -221,25 +224,23 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 7|Win32"
+			Name="Debug - Max 6|Win32"
 			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -249,7 +250,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="1"
@@ -258,13 +259,15 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
-				StringPooling="true"
+				AdditionalIncludeDirectories="C:\3dsmax6\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
 				ExceptionHandling="2"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -278,7 +281,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -289,18 +292,15 @@
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\3dsmax6\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax6\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
 			/>
 			<Tool
@@ -326,13 +326,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 7|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Debug - Max 6|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -355,7 +355,7 @@
 				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
@@ -363,8 +363,8 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax6\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
 				ExceptionHandling="2"
@@ -392,18 +392,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax6\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax6\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -432,7 +432,7 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 8|Win32"
+			Name="Release - Max 7|Win32"
 			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
@@ -466,7 +466,7 @@
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
 				StringPooling="true"
 				ExceptionHandling="2"
@@ -496,10 +496,10 @@
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
 				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -537,19 +537,21 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 8|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Release - Max 7|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -559,24 +561,22 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
+				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
+				StringPooling="true"
 				ExceptionHandling="2"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -590,7 +590,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -599,18 +599,21 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -635,11 +638,11 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 5|Win32"
+			Name="Debug - Max 7|Win32"
 			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
@@ -672,8 +675,8 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
 				ExceptionHandling="2"
@@ -686,7 +689,6 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
-				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
@@ -704,10 +706,10 @@
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -742,21 +744,19 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 5|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Debug - Max 7|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -766,22 +766,24 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
-				StringPooling="true"
+				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
 				ExceptionHandling="2"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -795,7 +797,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -804,21 +806,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -843,24 +842,25 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 9|Win32"
+			Name="Release - Max 8|Win32"
 			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			CharacterSet="2"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -870,7 +870,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="1"
@@ -879,15 +879,13 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
-				ExceptionHandling="1"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
+				StringPooling="true"
+				ExceptionHandling="2"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -901,7 +899,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -912,15 +910,18 @@
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax9\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
 			/>
 			<Tool
@@ -946,13 +947,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 9|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Release - Max 8|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -977,15 +978,15 @@
 				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="NIFLIB_STATIC_LINK;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
 				StringPooling="true"
 				ExceptionHandling="2"
 				RuntimeLibrary="0"
@@ -1012,12 +1013,11 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
 				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax9\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -1027,6 +1027,7 @@
 				EnableCOMDATFolding="2"
 				SetChecksum="true"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -1055,21 +1056,19 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 4|Win32"
+			Name="Debug - Max 8|Win32"
 			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -1079,7 +1078,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="1"
@@ -1088,13 +1087,15 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
-				StringPooling="true"
+				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
 				ExceptionHandling="2"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -1108,7 +1109,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -1119,18 +1120,15 @@
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
 			/>
 			<Tool
@@ -1156,13 +1154,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 4|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Debug - Max 8|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -1185,7 +1183,7 @@
 				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
@@ -1193,8 +1191,8 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
 				ExceptionHandling="2"
@@ -1207,7 +1205,6 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
-				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
@@ -1223,18 +1220,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -1263,7 +1260,7 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - gmax|Win32"
+			Name="Debug - Max 5|Win32"
 			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
@@ -1296,8 +1293,8 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;GAME_VER;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
 				ExceptionHandling="2"
@@ -1328,10 +1325,10 @@
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -1366,21 +1363,19 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - gmax|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Debug - Max 5|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -1390,22 +1385,24 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;GAME_VER;NIFLIB_STATIC_LINK"
-				StringPooling="true"
-				ExceptionHandling="1"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="false"
+				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
+				ExceptionHandling="2"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -1413,13 +1410,14 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
+				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -1428,21 +1426,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -1467,23 +1462,25 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 4.2|Win32"
+			Name="Release - Max 5|Win32"
 			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -1493,7 +1490,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="1"
@@ -1502,15 +1499,13 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax42\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
+				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
+				StringPooling="true"
 				ExceptionHandling="2"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -1518,14 +1513,13 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
-				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -1536,15 +1530,18 @@
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax42\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax42\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
 			/>
 			<Tool
@@ -1570,13 +1567,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 4.2|Win32"
-			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
+			Name="Release - Max 5|x64"
+			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -1601,14 +1598,14 @@
 				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="1"
+				TargetEnvironment="3"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax42\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
 				StringPooling="true"
 				ExceptionHandling="2"
@@ -1636,12 +1633,11 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax42\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
 				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax42\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -1651,6 +1647,7 @@
 				EnableCOMDATFolding="2"
 				SetChecksum="true"
 				BaseAddress="0x16860000"
+				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -1679,21 +1676,20 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 6|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Debug - Max 9|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
+			CharacterSet="2"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -1703,22 +1699,24 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax6\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
-				StringPooling="true"
-				ExceptionHandling="2"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="true"
+				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
+				ExceptionHandling="1"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -1732,7 +1730,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -1741,21 +1739,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax6\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax6\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax9\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -1780,17 +1775,18 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 6|x64"
+			Name="Debug - Max 9|x64"
 			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			CharacterSet="2"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
@@ -1817,11 +1813,11 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax6\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
-				ExceptionHandling="2"
+				ExceptionHandling="1"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
@@ -1847,10 +1843,10 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax6\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax6\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsMax9\maxsdk\x64\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -1886,9 +1882,9 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 7|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Release - Max 9|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -1913,15 +1909,15 @@
 				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="NIFLIB_STATIC_LINK;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
 				StringPooling="true"
 				ExceptionHandling="2"
 				RuntimeLibrary="0"
@@ -1948,11 +1944,12 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
 				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax9\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -1962,7 +1959,6 @@
 				EnableCOMDATFolding="2"
 				SetChecksum="true"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -1991,19 +1987,21 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 7|x64"
+			Name="Release - Max 9|x64"
 			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -2013,7 +2011,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="3"
@@ -2022,15 +2020,13 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax7\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
+				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="NIFLIB_STATIC_LINK;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
+				StringPooling="true"
 				ExceptionHandling="2"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -2044,7 +2040,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -2054,15 +2050,18 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax7\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax7\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsMax9\maxsdk\x64\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
 				TargetMachine="17"
 			/>
@@ -2089,13 +2088,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 8|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Release - Max 4|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -2120,15 +2119,15 @@
 				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
 				StringPooling="true"
 				ExceptionHandling="2"
 				RuntimeLibrary="0"
@@ -2155,11 +2154,12 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
 				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -2169,7 +2169,6 @@
 				EnableCOMDATFolding="2"
 				SetChecksum="true"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -2198,19 +2197,21 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 8|x64"
+			Name="Release - Max 4|x64"
 			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -2220,7 +2221,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="3"
@@ -2229,15 +2230,13 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax8\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
+				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
+				StringPooling="true"
 				ExceptionHandling="2"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -2251,7 +2250,7 @@
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -2261,15 +2260,18 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax8\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax8\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
 				TargetMachine="17"
 			/>
@@ -2296,13 +2298,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 5|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Debug - Max 4|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -2325,7 +2327,7 @@
 				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
@@ -2333,7 +2335,7 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
@@ -2363,18 +2365,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -2403,21 +2405,19 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 5|x64"
+			Name="Debug - Max 4|x64"
 			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -2427,7 +2427,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="3"
@@ -2436,13 +2436,15 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax5\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
-				StringPooling="true"
+				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
 				ExceptionHandling="2"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -2450,13 +2452,14 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
+				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -2466,18 +2469,15 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax5\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax5\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
 				TargetMachine="17"
 			/>
@@ -2504,18 +2504,17 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 9|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Debug - gmax|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			CharacterSet="2"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
@@ -2534,7 +2533,7 @@
 				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
@@ -2542,11 +2541,11 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;USE_BIPED;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;GAME_VER;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
-				ExceptionHandling="1"
+				ExceptionHandling="2"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
@@ -2556,6 +2555,7 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
+				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
@@ -2571,18 +2571,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
+				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsMax9\maxsdk\x64\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -2611,21 +2611,19 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 9|x64"
+			Name="Debug - gmax|x64"
 			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -2635,7 +2633,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="3"
@@ -2644,13 +2642,15 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax9\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="NIFLIB_STATIC_LINK;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_BIPED;NIFLIB_STATIC_LINK"
-				StringPooling="true"
+				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;GAME_VER;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
 				ExceptionHandling="2"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -2658,13 +2658,14 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
+				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -2674,18 +2675,15 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax9\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsMax9\maxsdk\x64\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
 				TargetMachine="17"
 			/>
@@ -2712,13 +2710,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - Max 4|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Release - gmax|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -2743,19 +2741,19 @@
 				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;GAME_VER;NIFLIB_STATIC_LINK"
 				StringPooling="true"
-				ExceptionHandling="2"
+				ExceptionHandling="1"
 				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="true"
+				EnableFunctionLevelLinking="false"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -2778,11 +2776,12 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
+				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
 				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
@@ -2792,7 +2791,6 @@
 				EnableCOMDATFolding="2"
 				SetChecksum="true"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -2821,19 +2819,21 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 4|x64"
+			Name="Release - gmax|x64"
 			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -2843,7 +2843,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="3"
@@ -2852,15 +2852,13 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\3dsmax4\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
-				ExceptionHandling="2"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;GAME_VER;NIFLIB_STATIC_LINK"
+				StringPooling="true"
+				ExceptionHandling="1"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="false"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -2868,14 +2866,13 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
-				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -2885,15 +2882,18 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\3dsmax4\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\3dsmax4\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
 				TargetMachine="17"
 			/>
@@ -2920,13 +2920,13 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - gmax|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Debug - Max 4.2|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
@@ -2949,7 +2949,7 @@
 				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
@@ -2957,8 +2957,8 @@
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
 				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;GAME_VER;NIFLIB_STATIC_LINK"
+				AdditionalIncludeDirectories="C:\3dsmax42\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
 				GeneratePreprocessedFile="0"
 				MinimalRebuild="true"
 				ExceptionHandling="2"
@@ -2987,18 +2987,18 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
+				OutputFile="C:\3dsmax42\plugins\NifPlugins.dlu"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax42\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -3027,21 +3027,19 @@
 			/>
 		</Configuration>
 		<Configuration
-			Name="Release - gmax|x64"
+			Name="Debug - Max 4.2|x64"
 			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
 			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
-			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
-				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -3051,7 +3049,7 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="NDEBUG"
+				PreprocessorDefinitions="_DEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
 				TargetEnvironment="3"
@@ -3060,13 +3058,15 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
+				Optimization="0"
 				InlineFunctionExpansion="2"
-				AdditionalIncludeDirectories="C:\gmax12\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;GAME_VER;NIFLIB_STATIC_LINK"
-				StringPooling="true"
-				ExceptionHandling="1"
-				RuntimeLibrary="0"
-				EnableFunctionLevelLinking="false"
+				AdditionalIncludeDirectories="C:\3dsmax42\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
+				GeneratePreprocessedFile="0"
+				MinimalRebuild="true"
+				ExceptionHandling="2"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -3074,13 +3074,14 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
+				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -3090,18 +3091,15 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
-				OutputFile="C:\gmax12\plugins\NifPlugins.dlu"
-				LinkIncremental="1"
+				OutputFile="C:\3dsmax42\plugins\NifPlugins.dlu"
+				LinkIncremental="2"
 				SuppressStartupBanner="true"
-				AdditionalLibraryDirectories="C:\gmax12\maxsdk\lib;..\niflib\lib"
+				AdditionalLibraryDirectories="C:\3dsmax42\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
 				ModuleDefinitionFile=".\NifPlugins\NifPlugins.def"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				SetChecksum="true"
 				BaseAddress="0x16860000"
 				TargetMachine="17"
 			/>
@@ -3128,23 +3126,25 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
+				CommandLine=""
 			/>
 		</Configuration>
 		<Configuration
-			Name="Debug - Max 4.2|x64"
-			OutputDirectory="$(SolutionDir)Staging\$(PlatformName)\$(ConfigurationName)\"
-			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\"
+			Name="Release - Max 4.2|Win32"
+			OutputDirectory="$(SolutionDir)Staging\$(ConfigurationName)\"
+			IntermediateDirectory="$(SolutionDir)Temp\$(ProjectName)\$(ConfigurationName)\"
 			ConfigurationType="2"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="false"
+			WholeProgramOptimization="0"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
+				CommandLine=""
 			/>
 			<Tool
 				Name="VCXMLDataGeneratorTool"
@@ -3154,24 +3154,22 @@
 			/>
 			<Tool
 				Name="VCMIDLTool"
-				PreprocessorDefinitions="_DEBUG"
+				PreprocessorDefinitions="NDEBUG"
 				MkTypLibCompatible="true"
 				SuppressStartupBanner="true"
-				TargetEnvironment="3"
+				TargetEnvironment="1"
 				TypeLibraryName="$(OutDir)NifPlugins.tlb"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalOptions="/LD /Zm200 /FI&quot;$(ProjectDir)NifPlugins\pch.h&quot;"
-				Optimization="0"
 				InlineFunctionExpansion="2"
 				AdditionalIncludeDirectories="C:\3dsmax42\maxsdk\include;..\niflib\include;..\niflib;.\NifCommon"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;USE_UNSUPPORTED_CODE;NIFLIB_STATIC_LINK"
-				GeneratePreprocessedFile="0"
-				MinimalRebuild="true"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;USE_NIFLIB_TEMPLATE_HELPERS;_USE_MATH_DEFINES;NIFLIB_STATIC_LINK"
+				StringPooling="true"
 				ExceptionHandling="2"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
 				ForceConformanceInForLoopScope="false"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderThrough="$(ProjectDir)NifPlugins\pch.h"
@@ -3179,14 +3177,13 @@
 				SuppressStartupBanner="true"
 				DebugInformationFormat="3"
 				CompileAs="0"
-				DisableSpecificWarnings="4244;4018"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
 			/>
 			<Tool
 				Name="VCResourceCompilerTool"
-				PreprocessorDefinitions="_DEBUG;NIFPLUGINS"
+				PreprocessorDefinitions="NDEBUG;NIFPLUGINS"
 				Culture="1033"
 				AdditionalIncludeDirectories=".\NifCommon"
 			/>
@@ -3195,9 +3192,10 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalOptions="/MACHINE:I386"
 				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib shlwapi.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib paramblk2.lib bmm.lib"
 				OutputFile="C:\3dsmax42\plugins\NifPlugins.dlu"
-				LinkIncremental="2"
+				LinkIncremental="1"
 				SuppressStartupBanner="true"
 				AdditionalLibraryDirectories="C:\3dsmax42\maxsdk\lib;..\niflib\lib"
 				IgnoreDefaultLibraryNames=""
@@ -3205,8 +3203,10 @@
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
 				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				SetChecksum="true"
 				BaseAddress="0x16860000"
-				TargetMachine="17"
 			/>
 			<Tool
 				Name="VCALinkTool"
@@ -3231,7 +3231,7 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine=""
+				CommandLine="set MaxRootDir=$(TargetDir)\..&#x0D;&#x0A;if exist &quot;%MaxRootDir%\plugcfg&quot; (&#x0D;&#x0A;if not exist &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot; (&#x0D;&#x0A;copy &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;%MaxRootDir%\plugcfg\MaxNifTools.ini&quot;&#x0D;&#x0A;)&#x0D;&#x0A;)&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifPlugins_Readme.txt&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(ProjectDir)MaxNifTools.ini&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;xcopy /D /Y /I &quot;$(TargetPath)&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
@@ -3389,6 +3389,10 @@
 					RelativePath=".\NifProps\bhkSphereObj.cpp"
 					>
 				</File>
+				<File
+					RelativePath=".\NifProps\nifProps.cpp"
+					>
+				</File>
 			</Filter>
 			<Filter
 				Name="Resource Files"
@@ -3413,7 +3417,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|Win32"
+						Name="Release - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3421,7 +3425,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|Win32"
+						Name="Debug - Max 6|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3429,7 +3433,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|Win32"
+						Name="Debug - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3437,7 +3441,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|Win32"
+						Name="Release - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3445,7 +3449,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|Win32"
+						Name="Release - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3453,7 +3457,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|Win32"
+						Name="Debug - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3461,7 +3465,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|Win32"
+						Name="Debug - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3469,7 +3473,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|Win32"
+						Name="Release - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3477,7 +3481,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|Win32"
+						Name="Release - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3485,7 +3489,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|Win32"
+						Name="Debug - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3493,7 +3497,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|Win32"
+						Name="Debug - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3501,7 +3505,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|Win32"
+						Name="Debug - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3509,7 +3513,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4.2|Win32"
+						Name="Debug - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3517,7 +3521,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 6|x64"
+						Name="Release - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3525,7 +3529,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|x64"
+						Name="Release - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3533,7 +3537,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|x64"
+						Name="Debug - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3541,7 +3545,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|x64"
+						Name="Debug - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3549,7 +3553,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|x64"
+						Name="Release - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3557,7 +3561,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|x64"
+						Name="Release - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3565,7 +3569,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|x64"
+						Name="Release - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3573,7 +3577,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|x64"
+						Name="Release - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3581,7 +3585,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|x64"
+						Name="Debug - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3589,7 +3593,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|x64"
+						Name="Debug - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3597,7 +3601,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|x64"
+						Name="Debug - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3605,7 +3609,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|x64"
+						Name="Debug - Max 4.2|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3613,7 +3617,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|x64"
+						Name="Release - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3641,7 +3645,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|Win32"
+						Name="Release - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3649,7 +3653,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|Win32"
+						Name="Debug - Max 6|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3657,7 +3661,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|Win32"
+						Name="Debug - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3665,7 +3669,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|Win32"
+						Name="Release - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3673,7 +3677,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|Win32"
+						Name="Release - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3681,7 +3685,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|Win32"
+						Name="Debug - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3689,7 +3693,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|Win32"
+						Name="Debug - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3697,7 +3701,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|Win32"
+						Name="Release - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3705,7 +3709,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|Win32"
+						Name="Release - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3713,7 +3717,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|Win32"
+						Name="Debug - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3721,7 +3725,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|Win32"
+						Name="Debug - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3729,21 +3733,23 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|Win32"
+						Name="Debug - Max 5|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|Win32"
+						Name="Debug - Max 5|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|Win32"
+						Name="Release - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3751,7 +3757,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4.2|Win32"
+						Name="Release - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3759,7 +3765,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 6|x64"
+						Name="Debug - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3767,7 +3773,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|x64"
+						Name="Debug - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3775,7 +3781,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|x64"
+						Name="Release - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3783,7 +3789,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|x64"
+						Name="Release - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3791,7 +3797,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|x64"
+						Name="Release - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3799,7 +3805,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|x64"
+						Name="Release - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3807,7 +3813,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|x64"
+						Name="Debug - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3815,7 +3821,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|x64"
+						Name="Debug - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3823,53 +3829,51 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|x64"
+						Name="Debug - Max 4.2|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|x64"
+						Name="Debug - Max 4.2|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|x64"
+						Name="Release - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3897,7 +3901,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|Win32"
+						Name="Release - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3905,7 +3909,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|Win32"
+						Name="Debug - Max 6|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3913,7 +3917,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|Win32"
+						Name="Debug - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3921,7 +3925,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|Win32"
+						Name="Release - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3929,7 +3933,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|Win32"
+						Name="Release - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3937,7 +3941,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|Win32"
+						Name="Debug - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3945,7 +3949,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|Win32"
+						Name="Debug - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3953,7 +3957,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|Win32"
+						Name="Release - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3961,7 +3965,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|Win32"
+						Name="Release - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3969,7 +3973,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|Win32"
+						Name="Debug - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3977,7 +3981,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|Win32"
+						Name="Debug - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3985,7 +3989,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|Win32"
+						Name="Debug - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -3993,7 +3997,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4.2|Win32"
+						Name="Debug - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4001,7 +4005,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 6|x64"
+						Name="Release - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4009,7 +4013,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|x64"
+						Name="Release - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4017,7 +4021,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|x64"
+						Name="Debug - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4025,7 +4029,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|x64"
+						Name="Debug - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4033,7 +4037,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|x64"
+						Name="Release - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4041,7 +4045,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|x64"
+						Name="Release - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4049,7 +4053,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|x64"
+						Name="Release - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4057,7 +4061,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|x64"
+						Name="Release - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4065,7 +4069,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|x64"
+						Name="Debug - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4073,7 +4077,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|x64"
+						Name="Debug - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4081,7 +4085,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|x64"
+						Name="Debug - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4089,7 +4093,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|x64"
+						Name="Debug - Max 4.2|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4097,7 +4101,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|x64"
+						Name="Release - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4125,7 +4129,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|Win32"
+						Name="Release - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4133,7 +4137,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|Win32"
+						Name="Debug - Max 6|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4141,7 +4145,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|Win32"
+						Name="Debug - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4149,7 +4153,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|Win32"
+						Name="Release - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4157,7 +4161,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|Win32"
+						Name="Release - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4165,7 +4169,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|Win32"
+						Name="Debug - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4173,7 +4177,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|Win32"
+						Name="Debug - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4181,7 +4185,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|Win32"
+						Name="Release - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4189,7 +4193,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|Win32"
+						Name="Release - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4197,7 +4201,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|Win32"
+						Name="Debug - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4205,7 +4209,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|Win32"
+						Name="Debug - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4213,21 +4217,23 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|Win32"
+						Name="Debug - Max 5|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|Win32"
+						Name="Debug - Max 5|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|Win32"
+						Name="Release - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4235,7 +4241,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4.2|Win32"
+						Name="Release - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4243,7 +4249,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 6|x64"
+						Name="Debug - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4251,7 +4257,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|x64"
+						Name="Debug - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4259,7 +4265,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|x64"
+						Name="Release - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4267,7 +4273,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|x64"
+						Name="Release - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4275,7 +4281,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|x64"
+						Name="Release - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4283,7 +4289,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|x64"
+						Name="Release - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4291,7 +4297,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|x64"
+						Name="Debug - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4299,7 +4305,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|x64"
+						Name="Debug - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4307,53 +4313,51 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|x64"
+						Name="Debug - Max 4.2|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|x64"
+						Name="Debug - Max 4.2|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|x64"
+						Name="Release - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4381,7 +4385,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|Win32"
+						Name="Release - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4389,7 +4393,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|Win32"
+						Name="Debug - Max 6|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4397,7 +4401,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|Win32"
+						Name="Debug - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4405,7 +4409,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|Win32"
+						Name="Release - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4413,7 +4417,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|Win32"
+						Name="Release - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4421,7 +4425,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|Win32"
+						Name="Debug - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4429,7 +4433,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|Win32"
+						Name="Debug - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4437,7 +4441,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|Win32"
+						Name="Release - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4445,7 +4449,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|Win32"
+						Name="Release - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4453,7 +4457,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|Win32"
+						Name="Debug - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4461,7 +4465,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|Win32"
+						Name="Debug - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4469,21 +4473,23 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|Win32"
+						Name="Debug - Max 5|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|Win32"
+						Name="Debug - Max 5|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|Win32"
+						Name="Release - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4491,7 +4497,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4.2|Win32"
+						Name="Release - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4499,7 +4505,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 6|x64"
+						Name="Debug - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4507,7 +4513,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|x64"
+						Name="Debug - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4515,7 +4521,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|x64"
+						Name="Release - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4523,7 +4529,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|x64"
+						Name="Release - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4531,7 +4537,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|x64"
+						Name="Release - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4539,7 +4545,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|x64"
+						Name="Release - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4547,7 +4553,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|x64"
+						Name="Debug - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4555,7 +4561,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|x64"
+						Name="Debug - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4563,53 +4569,51 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|x64"
+						Name="Debug - Max 4.2|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|x64"
+						Name="Debug - Max 4.2|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|x64"
+						Name="Release - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4637,7 +4641,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|Win32"
+						Name="Release - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4645,7 +4649,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|Win32"
+						Name="Debug - Max 6|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4653,7 +4657,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|Win32"
+						Name="Debug - Max 6|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4661,7 +4665,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|Win32"
+						Name="Release - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4669,7 +4673,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|Win32"
+						Name="Release - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4677,7 +4681,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|Win32"
+						Name="Debug - Max 7|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4685,7 +4689,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|Win32"
+						Name="Debug - Max 7|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4693,7 +4697,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|Win32"
+						Name="Release - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4701,7 +4705,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|Win32"
+						Name="Release - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4709,7 +4713,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|Win32"
+						Name="Debug - Max 8|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4717,7 +4721,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|Win32"
+						Name="Debug - Max 8|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4725,21 +4729,23 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|Win32"
+						Name="Debug - Max 5|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|Win32"
+						Name="Debug - Max 5|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|Win32"
+						Name="Release - Max 5|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4747,7 +4753,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4.2|Win32"
+						Name="Release - Max 5|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4755,7 +4761,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 6|x64"
+						Name="Debug - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4763,7 +4769,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 6|x64"
+						Name="Debug - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4771,7 +4777,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 7|x64"
+						Name="Release - Max 9|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4779,7 +4785,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 7|x64"
+						Name="Release - Max 9|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4787,7 +4793,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 8|x64"
+						Name="Release - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4795,7 +4801,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 8|x64"
+						Name="Release - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4803,7 +4809,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 5|x64"
+						Name="Debug - Max 4|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4811,7 +4817,7 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 5|x64"
+						Name="Debug - Max 4|x64"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -4819,53 +4825,51 @@
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 9|x64"
-						ExcludedFromBuild="true"
+						Name="Debug - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|Win32"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4|x64"
-						ExcludedFromBuild="true"
+						Name="Release - gmax|x64"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - gmax|x64"
+						Name="Debug - Max 4.2|Win32"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Release - gmax|x64"
+						Name="Debug - Max 4.2|x64"
+						ExcludedFromBuild="true"
 						>
 						<Tool
 							Name="VCCustomBuildTool"
 						/>
 					</FileConfiguration>
 					<FileConfiguration
-						Name="Debug - Max 4.2|x64"
+						Name="Release - Max 4.2|Win32"
 						ExcludedFromBuild="true"
 						>
 						<Tool
@@ -5127,7 +5131,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 6|Win32"
+					Name="Release - Max 6|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5136,7 +5140,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 7|Win32"
+					Name="Debug - Max 6|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5145,7 +5149,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 7|Win32"
+					Name="Debug - Max 6|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5154,7 +5158,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 8|Win32"
+					Name="Release - Max 7|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5163,7 +5167,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 8|Win32"
+					Name="Release - Max 7|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5172,7 +5176,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 5|Win32"
+					Name="Debug - Max 7|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5181,7 +5185,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 5|Win32"
+					Name="Debug - Max 7|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5190,7 +5194,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 9|Win32"
+					Name="Release - Max 8|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5199,7 +5203,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 9|Win32"
+					Name="Release - Max 8|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5208,7 +5212,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 4|Win32"
+					Name="Debug - Max 8|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5217,7 +5221,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4|Win32"
+					Name="Debug - Max 8|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5226,7 +5230,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - gmax|Win32"
+					Name="Debug - Max 5|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5235,7 +5239,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - gmax|Win32"
+					Name="Debug - Max 5|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5244,7 +5248,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4.2|Win32"
+					Name="Release - Max 5|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5253,7 +5257,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 4.2|Win32"
+					Name="Release - Max 5|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5262,7 +5266,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 6|x64"
+					Name="Debug - Max 9|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5271,7 +5275,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 6|x64"
+					Name="Debug - Max 9|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5280,7 +5284,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 7|x64"
+					Name="Release - Max 9|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5289,7 +5293,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 7|x64"
+					Name="Release - Max 9|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5298,7 +5302,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 8|x64"
+					Name="Release - Max 4|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5307,7 +5311,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 8|x64"
+					Name="Release - Max 4|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5316,7 +5320,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 5|x64"
+					Name="Debug - Max 4|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5325,7 +5329,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 5|x64"
+					Name="Debug - Max 4|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5334,7 +5338,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 9|x64"
+					Name="Debug - gmax|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5343,7 +5347,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 9|x64"
+					Name="Debug - gmax|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5352,7 +5356,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 4|x64"
+					Name="Release - gmax|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5361,7 +5365,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4|x64"
+					Name="Release - gmax|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5370,7 +5374,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - gmax|x64"
+					Name="Debug - Max 4.2|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5379,7 +5383,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - gmax|x64"
+					Name="Debug - Max 4.2|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5388,7 +5392,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4.2|x64"
+					Name="Release - Max 4.2|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5422,7 +5426,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 6|Win32"
+					Name="Release - Max 6|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5430,7 +5434,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 7|Win32"
+					Name="Debug - Max 6|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5438,7 +5442,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 7|Win32"
+					Name="Debug - Max 6|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5446,7 +5450,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 8|Win32"
+					Name="Release - Max 7|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5454,7 +5458,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 8|Win32"
+					Name="Release - Max 7|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5462,7 +5466,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 5|Win32"
+					Name="Debug - Max 7|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5470,7 +5474,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 5|Win32"
+					Name="Debug - Max 7|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5478,7 +5482,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 9|Win32"
+					Name="Release - Max 8|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5486,7 +5490,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 9|Win32"
+					Name="Release - Max 8|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5494,7 +5498,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 4|Win32"
+					Name="Debug - Max 8|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5502,7 +5506,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4|Win32"
+					Name="Debug - Max 8|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5510,7 +5514,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - gmax|Win32"
+					Name="Debug - Max 5|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5518,7 +5522,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - gmax|Win32"
+					Name="Debug - Max 5|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5526,7 +5530,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4.2|Win32"
+					Name="Release - Max 5|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5534,7 +5538,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 4.2|Win32"
+					Name="Release - Max 5|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5542,7 +5546,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 6|x64"
+					Name="Debug - Max 9|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5550,7 +5554,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 6|x64"
+					Name="Debug - Max 9|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5558,7 +5562,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 7|x64"
+					Name="Release - Max 9|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5566,7 +5570,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 7|x64"
+					Name="Release - Max 9|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5574,7 +5578,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 8|x64"
+					Name="Release - Max 4|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5582,7 +5586,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 8|x64"
+					Name="Release - Max 4|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5590,7 +5594,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 5|x64"
+					Name="Debug - Max 4|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5598,7 +5602,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 5|x64"
+					Name="Debug - Max 4|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5606,7 +5610,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 9|x64"
+					Name="Debug - gmax|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5614,7 +5618,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 9|x64"
+					Name="Debug - gmax|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5622,7 +5626,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - Max 4|x64"
+					Name="Release - gmax|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5630,7 +5634,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4|x64"
+					Name="Release - gmax|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5638,7 +5642,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - gmax|x64"
+					Name="Debug - Max 4.2|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5646,7 +5650,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Release - gmax|x64"
+					Name="Debug - Max 4.2|x64"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5654,7 +5658,7 @@
 					/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug - Max 4.2|x64"
+					Name="Release - Max 4.2|Win32"
 					>
 					<Tool
 						Name="VCCLCompilerTool"
@@ -5681,6 +5685,10 @@
 			<Filter
 				Name="Header Files"
 				>
+				<File
+					RelativePath=".\NifImport\BaseImporter.h"
+					>
+				</File>
 				<File
 					RelativePath=".\NifImport\resource.h"
 					>
@@ -5693,10 +5701,6 @@
 			<Filter
 				Name="Importer"
 				>
-				<File
-					RelativePath=".\NifImport\BaseImporter.h"
-					>
-				</File>
 				<File
 					RelativePath=".\NifImport\ImportAnimation.cpp"
 					>
diff --git a/NifProps/NifProps.cpp b/NifProps/NifProps.cpp
index af0afb2cf8e9060d7e581a3317a4c14e9043aaa1..583db25c7977a3ff4add9594697c0b17e6a90262 100755
--- a/NifProps/NifProps.cpp
+++ b/NifProps/NifProps.cpp
@@ -273,9 +273,9 @@ void NifProps::selectionChanged()
 	mCbMotionSystem.select(max(0, min(msys, mCbMotionSystem.count()-1)));
 	mCbQualityType.select(max(0, min(qtype, mCbQualityType.count()-1)));
 
-	mSpins[IDC_SP_CENTER_X]->SetValue(center.x, TRUE);
-	mSpins[IDC_SP_CENTER_Y]->SetValue(center.y, TRUE);
-	mSpins[IDC_SP_CENTER_Z]->SetValue(center.z, TRUE);
+	//mSpins[IDC_SP_CENTER_X]->SetValue(center.x, TRUE);
+	//mSpins[IDC_SP_CENTER_Y]->SetValue(center.y, TRUE);
+	//mSpins[IDC_SP_CENTER_Z]->SetValue(center.z, TRUE);
 
 	mSpins[IDC_SP_MASS]->SetValue(mass, TRUE);
 	mSpins[IDC_SP_LINEAR_DAMPING]->SetValue(lindamp, TRUE);
diff --git a/NifProps/NifProps.rc b/NifProps/NifProps.rc
index 3b4fc5616092507df3c67f83f95919b64ec00aad..97cd66fcb20e53f6737b93fee6bdd522f80f134e 100755
--- a/NifProps/NifProps.rc
+++ b/NifProps/NifProps.rc
@@ -13,8 +13,7 @@
 #define DLLNAME "NifProps.dlu"  // DLL Name
 #define DLLDESCRIPTION "3ds Max Nif Reactor Properites Plugin"
 #include "..\nifcommon\nifversion.rc"  
-#endif
-
+#endif

 /////////////////////////////////////////////////////////////////////////////
 #undef APSTUDIO_READONLY_SYMBOLS
 
@@ -83,50 +82,49 @@ END
 // Dialog
 //
 
-IDD_PANEL DIALOGEX 0, 0, 112, 333
+IDD_PANEL DIALOGEX 0, 0, 112, 303
 STYLE DS_SETFONT | DS_3DLOOK | WS_CHILD | WS_VISIBLE
 FONT 8, "MS Sans Serif", 0, 0, 0x0
 BEGIN
-    GROUPBOX        "Object",IDC_GRP_OBJECT,10,5,95,46
+    GROUPBOX        "Object",IDC_GRP_OBJECT,7,5,98,28
     CONTROL         "Is Collision Mesh",IDC_CHK_ISCOLL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,18,80,10
-    GROUPBOX        "Animation",IDC_GRP_ANIMATION,7,290,95,28
-    LTEXT           "Priority:",IDC_STATIC,10,304,24,8
-    CONTROL         "",IDC_ED_ANIM_PRIORITY,"CustEdit",WS_DISABLED | WS_TABSTOP,39,303,20,10
-    CONTROL         "",IDC_SP_ANIM_PRIORITY,"SpinnerControl",WS_DISABLED,60,303,7,10
-    COMBOBOX        IDC_CB_MATERIAL,13,77,83,157,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
-    CONTROL         "Material",IDC_LBL_MATERIAL,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,69,83,8
-    COMBOBOX        IDC_CB_LAYER,13,101,83,171,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
-    CONTROL         "Layer",IDC_LBL_LAYER,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,92,83,8
-    GROUPBOX        "Rigid Body",IDC_GRP_HAVOK,7,58,98,230
-    CONTROL         "Mass",IDC_LBL_MASS,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,13,118,56,8
-    CONTROL         "Friction",IDC_LBL_FRICTION,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,13,131,56,8
-    LTEXT           "Restitution",IDC_LBL_RESTITUTION,13,142,56,11
-    CONTROL         "Motion System",IDC_LBL_MOTION_SYSTEM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,238,67,8
-    COMBOBOX        IDC_CB_MOTION_SYSTEM,13,247,83,74,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
-    CONTROL         "Quality Type",IDC_LBL_QUALITY_TYPE,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,263,43,8
-    COMBOBOX        IDC_CB_QUALITY_TYPE,13,272,83,63,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
-    CONTROL         "",IDC_ED_MASS,"CustEdit",WS_TABSTOP,71,118,22,10
-    CONTROL         "",IDC_SP_MASS,"SpinnerControl",0x0,93,118,7,10
-    CONTROL         "",IDC_ED_FRICTION,"CustEdit",WS_TABSTOP,71,130,22,10
-    CONTROL         "",IDC_SP_FRICTION,"SpinnerControl",0x0,93,130,7,10
-    CONTROL         "",IDC_ED_RESTITUTION,"CustEdit",WS_TABSTOP,71,142,22,10
-    CONTROL         "",IDC_SP_RESTITUTION,"SpinnerControl",0x0,93,142,7,10
-    LTEXT           "Linear Damping",IDC_LBL_LINEAR_DAMPING,13,155,56,11
-    CONTROL         "",IDC_ED_LINEAR_DAMPING,"CustEdit",WS_TABSTOP,71,155,22,10
-    CONTROL         "",IDC_SP_LINEAR_DAMPING,"SpinnerControl",0x0,93,155,7,10
-    LTEXT           "Angular Damping",IDC_LBL_ANGULAR_DAMPING,13,167,56,10
-    CONTROL         "",IDC_ED_ANGULAR_DAMPING,"CustEdit",WS_TABSTOP,71,167,22,10
-    CONTROL         "",IDC_SP_ANGULAR_DAMPING,"SpinnerControl",0x0,93,167,7,10
-    LTEXT           "Max. Linear Velocity",IDC_LBL_MAX_LINEAR_VELOCITY,13,179,56,16
-    CONTROL         "",IDC_ED_MAX_LINEAR_VELOCITY,"CustEdit",WS_TABSTOP,71,183,22,10
-    CONTROL         "",IDC_SP_MAX_LINEAR_VELOCITY,"SpinnerControl",0x0,93,183,7,10
-    LTEXT           "Max. Angular Velocity",IDC_LBL_MAX_ANGULAR_VELOCITY,13,198,56,16
-    CONTROL         "",IDC_ED_MAX_ANGULAR_VELOCITY,"CustEdit",WS_TABSTOP,71,202,22,10
-    CONTROL         "",IDC_SP_MAX_ANGULAR_VELOCITY,"SpinnerControl",0x0,93,202,7,10
-    LTEXT           "Penetration Depth",IDC_LBL_PENETRATION_DEPTH,13,217,56,16
-    CONTROL         "",IDC_ED_PENETRATION_DEPTH,"CustEdit",WS_TABSTOP,71,221,22,10
-    CONTROL         "",IDC_SP_PENETRATION_DEPTH,"SpinnerControl",0x0,93,221,7,10
-    PUSHBUTTON      "<None>",IDC_PICK_NODE,29,33,54,13
+    GROUPBOX        "Animation",IDC_GRP_ANIMATION,7,268,95,28
+    LTEXT           "Priority:",IDC_STATIC,10,282,24,8
+    CONTROL         "",IDC_ED_ANIM_PRIORITY,"CustEdit",WS_DISABLED | WS_TABSTOP,39,281,20,10
+    CONTROL         "",IDC_SP_ANIM_PRIORITY,"SpinnerControl",WS_DISABLED,60,281,7,10
+    COMBOBOX        IDC_CB_MATERIAL,13,55,83,157,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    CONTROL         "Material",IDC_LBL_MATERIAL,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,47,83,8
+    COMBOBOX        IDC_CB_LAYER,13,79,83,171,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    CONTROL         "Layer",IDC_LBL_LAYER,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,71,83,8
+    GROUPBOX        "Rigid Body",IDC_GRP_HAVOK,7,36,98,230
+    CONTROL         "Mass",IDC_LBL_MASS,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,13,97,56,8
+    CONTROL         "Friction",IDC_LBL_FRICTION,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,13,110,56,8
+    LTEXT           "Restitution",IDC_LBL_RESTITUTION,13,121,56,11
+    CONTROL         "Motion System",IDC_LBL_MOTION_SYSTEM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,217,67,8
+    COMBOBOX        IDC_CB_MOTION_SYSTEM,13,225,83,74,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    CONTROL         "Quality Type",IDC_LBL_QUALITY_TYPE,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | WS_GROUP,13,241,43,8
+    COMBOBOX        IDC_CB_QUALITY_TYPE,13,250,83,63,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
+    CONTROL         "",IDC_ED_MASS,"CustEdit",WS_TABSTOP,71,97,22,10
+    CONTROL         "",IDC_SP_MASS,"SpinnerControl",0x0,93,97,7,10
+    CONTROL         "",IDC_ED_FRICTION,"CustEdit",WS_TABSTOP,71,108,22,10
+    CONTROL         "",IDC_SP_FRICTION,"SpinnerControl",0x0,93,108,7,10
+    CONTROL         "",IDC_ED_RESTITUTION,"CustEdit",WS_TABSTOP,71,121,22,10
+    CONTROL         "",IDC_SP_RESTITUTION,"SpinnerControl",0x0,93,121,7,10
+    LTEXT           "Linear Damping",IDC_LBL_LINEAR_DAMPING,13,134,56,11
+    CONTROL         "",IDC_ED_LINEAR_DAMPING,"CustEdit",WS_TABSTOP,71,134,22,10
+    CONTROL         "",IDC_SP_LINEAR_DAMPING,"SpinnerControl",0x0,93,134,7,10
+    LTEXT           "Angular Damping",IDC_LBL_ANGULAR_DAMPING,13,145,56,10
+    CONTROL         "",IDC_ED_ANGULAR_DAMPING,"CustEdit",WS_TABSTOP,71,145,22,10
+    CONTROL         "",IDC_SP_ANGULAR_DAMPING,"SpinnerControl",0x0,93,145,7,10
+    LTEXT           "Max. Linear Velocity",IDC_LBL_MAX_LINEAR_VELOCITY,13,158,56,16
+    CONTROL         "",IDC_ED_MAX_LINEAR_VELOCITY,"CustEdit",WS_TABSTOP,71,161,22,10
+    CONTROL         "",IDC_SP_MAX_LINEAR_VELOCITY,"SpinnerControl",0x0,93,161,7,10
+    LTEXT           "Max. Angular Velocity",IDC_LBL_MAX_ANGULAR_VELOCITY,13,177,56,16
+    CONTROL         "",IDC_ED_MAX_ANGULAR_VELOCITY,"CustEdit",WS_TABSTOP,71,180,22,10
+    CONTROL         "",IDC_SP_MAX_ANGULAR_VELOCITY,"SpinnerControl",0x0,93,180,7,10
+    LTEXT           "Penetration Depth",IDC_LBL_PENETRATION_DEPTH,13,196,56,16
+    CONTROL         "",IDC_ED_PENETRATION_DEPTH,"CustEdit",WS_TABSTOP,71,199,22,10
+    CONTROL         "",IDC_SP_PENETRATION_DEPTH,"SpinnerControl",0x0,93,199,7,10
 END
 
 IDD_ANIM_PANEL DIALOGEX 0, 0, 107, 41
@@ -282,7 +280,7 @@ BEGIN
         LEFTMARGIN, 7
         RIGHTMARGIN, 105
         TOPMARGIN, 7
-        BOTTOMMARGIN, 326
+        BOTTOMMARGIN, 296
     END
 
     IDD_ANIM_PANEL, DIALOG
@@ -917,8 +915,7 @@ END
 //
 // Generated from the TEXTINCLUDE 3 resource.
 //
-
-
+

 /////////////////////////////////////////////////////////////////////////////
 #endif    // not APSTUDIO_INVOKED