ModuleLimitedDataTransmitter: Changed ToString to not include the vessel name if the vessel is null.
ModuleLimitedDataTransmitter: Changed ToString to not include the vessel name if the vessel is null.

--- a/AntennaRelay.cs
+++ b/AntennaRelay.cs
@@ -138,9 +138,10 @@
 					.ToList();
 
 			nearbyVessels.RemoveAll(v => v.vesselType == VesselType.Debris);
-
-			Tools.PostDebugMessage(string.Format(
-				"{0}: Non-debris vessels in range: {1}",
+			nearbyVessels.RemoveAll(v => v.vesselType == VesselType.Flag);
+
+			Tools.PostDebugMessage(string.Format(
+				"{0}: Non-debris, non-flag vessels in range: {1}",
 				this.GetType().Name,
 				nearbyVessels.Count
 				));

--- a/ModuleLimitedDataTransmitter.cs
+++ b/ModuleLimitedDataTransmitter.cs
@@ -417,11 +417,17 @@
 
 		public override string ToString()
 		{
-			return string.Format(
-				"{0} on {1}.",
-				this.part.partInfo.title,
-				vessel.name
-			);
+			StringBuilder msg = new StringBuilder();
+
+			msg.Append(this.part.partInfo.title);
+
+			if (vessel != null)
+			{
+				msg.Append(" on ");
+				msg.Append(vessel.name);
+			}
+
+			return msg.ToString();
 		}
 
 		// When debugging, it's nice to have a button that just tells you everything.