Index: /binary-improvements/MapRendering/ModInfo.xml
===================================================================
--- /binary-improvements/MapRendering/ModInfo.xml	(revision 316)
+++ /binary-improvements/MapRendering/ModInfo.xml	(revision 317)
@@ -5,5 +5,5 @@
 		<Description value="Render the game map to image map tiles as it is uncovered" />
 		<Author value="Christian 'Alloc' Illy" />
-		<Version value="24" />
+		<Version value="25" />
 		<Website value="http://7dtd.illy.bz" />
 	</ModInfo>
Index: /binary-improvements/MapRendering/Web/OpenID.cs
===================================================================
--- /binary-improvements/MapRendering/Web/OpenID.cs	(revision 316)
+++ /binary-improvements/MapRendering/Web/OpenID.cs	(revision 317)
@@ -20,6 +20,13 @@
 
 		private static readonly bool verboseSsl = false;
+		private static bool debugOpenId = false;
 
 		static OpenID () {
+			for (int i = 0; i < System.Environment.GetCommandLineArgs ().Length; i++) {
+				if (System.Environment.GetCommandLineArgs () [i].EqualsCaseInsensitive ("-debugopenid")) {
+					debugOpenId = true;
+				}
+			}
+
 			ServicePointManager.ServerCertificateValidationCallback = (srvPoint, certificate, chain, errors) => {
 				if (errors == SslPolicyErrors.None) {
@@ -118,4 +125,7 @@
 			if (mode == "error") {
 				Log.Warning ("Steam OpenID login error: " + getValue (_req, "openid.error"));
+				if (debugOpenId) {
+					PrintOpenIdResponse (_req);
+				}
 				return 0;
 			}
@@ -127,4 +137,7 @@
 			} else {
 				Log.Warning ("Steam OpenID login result did not give a valid SteamID");
+				if (debugOpenId) {
+					PrintOpenIdResponse (_req);
+				}
 				return 0;
 			}
@@ -190,4 +203,11 @@
 		}
 
+		private static void PrintOpenIdResponse (HttpListenerRequest _req) {
+			NameValueCollection nvc = _req.QueryString;
+			for (int i = 0; i < nvc.Count; i++) {
+				Log.Out ("   " + nvc.GetKey (i) + " = " + nvc [i]);
+			}
+		}
+
 	}
 }
