Updated for 1.1.3
Updated for 1.1.3

--- a/ARConfiguration.cs
+++ b/ARConfiguration.cs
@@ -565,8 +565,10 @@
 
 						compileArgs[0] = availablePart;
 						compileArgs[1] = partPrefab;
-
-						partLoader_CompilePartInfo.Invoke(PartLoader.Instance, compileArgs);
+                        if (PartLoader.Instance != null)
+                            partLoader_CompilePartInfo.Invoke(PartLoader.Instance, compileArgs);
+                        else
+                            this.Log("PartLoader.Instance is null");
 
 						break;
 					}

--- a/ARFlightController.cs
+++ b/ARFlightController.cs
@@ -157,8 +157,9 @@
 				this.toolbarButton.TexturePath = this.toolbarTextures[ConnectionStatus.None];
 				this.toolbarButton.Text = "AntennaRange";
 				this.toolbarButton.Visibility = new GameScenesVisibility(GameScenes.FLIGHT);
-				this.toolbarButton.OnClick += (e) => (this.buttonToggle());
-			}
+                this.toolbarButton.OnClick += (e) => { this.buttonToggle(); };
+                
+            }
 
 			GameEvents.onGameSceneLoadRequested.Add(this.onSceneChangeRequested);
 			GameEvents.onVesselChange.Add(this.onVesselChange);