Reverted changes to VOID_Core.cs so we can find the bad one.
Reverted changes to VOID_Core.cs so we can find the bad one.

--- a/VOID_Core.cs
+++ b/VOID_Core.cs
@@ -55,8 +55,6 @@
 			}
 		}
 
-		public static double Constant_G = 6.674e-11;
-
 		/*
 		 * Fields
 		 * */
@@ -92,9 +90,6 @@
 		protected string VOIDIconOffPath = "VOID/Textures/void_icon_off";
 
 		protected int windowBaseID = -96518722;
-		protected int _windowID = 0;
-
-		protected Dictionary<string, GUIStyle> _LabelStyles = new Dictionary<string, GUIStyle>();
 
 		[AVOID_SaveValue("togglePower")]
 		public VOID_SaveValue<bool> togglePower = true;
@@ -140,27 +135,11 @@
 			}
 		}
 
-		public int windowID
+		public Vessel vessel
 		{
 			get
 			{
-				if (this._windowID == 0)
-				{
-				this._windowID = this.windowBaseID;
-				}
-				return this._windowID;
-			}
-			set
-			{
-				this._windowID = value;
-			}
-		}
-
-		public Dictionary<string, GUIStyle> LabelStyles
-		{
-			get
-			{
-				return this._LabelStyles;
+				return FlightGlobals.ActiveVessel;
 			}
 		}
 
@@ -173,19 +152,6 @@
 
 			this.VOIDIconOn = GameDatabase.Instance.GetTexture (this.VOIDIconOnPath, false);
 			this.VOIDIconOff = GameDatabase.Instance.GetTexture (this.VOIDIconOffPath, false);
-
-			this.LabelStyles["center"] = new GUIStyle(GUI.skin.label);
-			this.LabelStyles["center"].normal.textColor = Color.white;
-			this.LabelStyles["center"].alignment = TextAnchor.UpperCenter;
-
-			this.LabelStyles["center_bold"] = new GUIStyle(GUI.skin.label);
-			this.LabelStyles["center_bold"].normal.textColor = Color.white;
-			this.LabelStyles["center_bold"].alignment = TextAnchor.UpperCenter;
-			this.LabelStyles["center_bold"].fontStyle = FontStyle.Bold;
-
-			this.LabelStyles["txt_right"] = new GUIStyle(GUI.skin.label);
-			this.LabelStyles["txt_right"].normal.textColor = Color.white;
-			this.LabelStyles["txt_right"].alignment = TextAnchor.UpperRight;
 
 			this.LoadConfig ();
 		}
@@ -357,6 +323,8 @@
 
 			GUI.skin = this.Skin;
 
+			int windowID = this.windowBaseID;
+
 			this.VOIDIconTexture = this.VOIDIconOff;  //icon off default
 			if (this.togglePower) this.VOIDIconTexture = this.VOIDIconOn;     //or on if power_toggle==true
 			if (GUI.Button(new Rect(VOIDIconPos), VOIDIconTexture, new GUIStyle()))
@@ -369,7 +337,7 @@
 				Rect _mainWindowPos = this.mainWindowPos;
 
 				_mainWindowPos = GUILayout.Window (
-					++this.windowID,
+					++windowID,
 					_mainWindowPos,
 					this.VOIDMainWindow,
 					string.Join (" ", new string[] {this.VoidName, this.VoidVersion}),
@@ -388,7 +356,7 @@
 				Rect _configWindowPos = this.configWindowPos;
 
 				_configWindowPos = GUILayout.Window (
-					++this.windowID,
+					++windowID,
 					_configWindowPos,
 					this.VOIDConfigWindow,
 					string.Join (" ", new string[] {this.VoidName, "Configuration"}),