VOID_EditorCore: Switched to VOID_Data.KerbinGee instead of doing the calculation here.
VOID_EditorCore: Switched to VOID_Data.KerbinGee instead of doing the calculation here.

--- a/VOID_Core.cs
+++ b/VOID_Core.cs
@@ -978,6 +978,33 @@
 			Active = 8
 		}
 	}
+
+	public static partial class VOID_Data
+	{
+		public static VOID_Core core
+		{
+			get
+			{
+				return VOID_Core.Instance;
+			}
+		}
+
+		public static Engineer.VesselSimulator.SimManager simManager
+		{
+			get
+			{
+				return Engineer.VesselSimulator.SimManager.Instance;
+			}
+		}
+
+		public static double KerbinGee
+		{
+			get
+			{
+				return core.Kerbin.gravParameter / Math.Pow(core.Kerbin.Radius, 2);
+			}
+		}
+	}
 }
 
 

--- a/VOID_EditorCore.cs
+++ b/VOID_EditorCore.cs
@@ -122,8 +122,7 @@
 
 			if (EditorLogic.SortedShipList.Count > 0)
 			{
-				SimManager.Instance.Gravity = this.Kerbin.gravParameter /
-					Math.Pow(this.Kerbin.Radius, 2);
+				SimManager.Instance.Gravity = VOID_Data.KerbinGee;
 				SimManager.Instance.TryStartSimulation();
 			}
 

--- a/VOID_HUD.cs
+++ b/VOID_HUD.cs
@@ -141,6 +141,8 @@
 			{
 				GUI.DragWindow();
 			}
+
+			GUI.BringWindowToBack(id);
 		}
 
 		protected void rightHUDWindow(int id)
@@ -181,13 +183,13 @@
 			{
 				GUI.DragWindow();
 			}
+
+			GUI.BringWindowToBack(id);
 		}
 
 		public override void DrawGUI()
 		{
 			VOID_Core.Instance.LabelStyles["hud"].normal.textColor = textColors [ColorIndex];
-
-			// GUI.skin = VOID_Core.Instance.Skin;
 
 			this.leftHUDPos = GUI.Window(
 				VOID_Core.Instance.windowID,
@@ -208,12 +210,12 @@
 
 		public override void DrawConfigurables()
 		{
-			if (GUILayout.Button ("Change HUD color", GUILayout.ExpandWidth (false)))
+			if (GUILayout.Button (string.Intern("Change HUD color"), GUILayout.ExpandWidth (false)))
 			{
 				++this.ColorIndex;
 			}
 
-			if (GUILayout.Button("Reset HUD Positions", GUILayout.ExpandWidth(false)))
+			if (GUILayout.Button(string.Intern("Reset HUD Positions"), GUILayout.ExpandWidth(false)))
 			{
 				this.leftHUDPos = new Rect(this.leftHUDdefaultPos);
 				this.rightHUDPos = new Rect(this.rightHUDdefaultPos);