void Awake()
        {
            Debug.Log("TAC Life Support (LifeSupportController) [" + this.GetInstanceID().ToString("X") + "][" + Time.time + "]: Awake");
            Instance = this;

            knownCrew = new Dictionary<string, CrewMemberInfo>();
            knownVessels = new Dictionary<Guid, VesselInfo>();

            settings = new Settings();
            settingsWindow = new SettingsWindow(settings);
            rosterWindow = new RosterWindow();
            monitoringWindow = new LifeSupportMonitoringWindow(this, settings, settingsWindow, rosterWindow);

            icon = new Icon<LifeSupportController>(new Rect(Screen.width * 0.75f, 0, 32, 32), "icon.png", "LS",
                "Click to show the Life Support Monitoring Window", OnIconClicked);

            configFilename = IOUtils.GetFilePathFor(this.GetType(), "LifeSupport.cfg");
        }
        void Awake()
        {
            this.Log("Awake");
            configFilename = IOUtils.GetFilePathFor(this.GetType(), "FuelBalancer.cfg");

            settings = new Settings();

            settingsWindow = new SettingsWindow(settings);
            helpWindow = new HelpWindow();
            mainWindow = new MainWindow(this, settings, settingsWindow, helpWindow);

            button = new ButtonWrapper(new Rect(Screen.width * 0.7f, 0, 32, 32),
                "ThunderAerospace/TacFuelBalancer/Textures/button", "FB",
                "TAC Fuel Balancer", OnIconClicked);

            resources = new Dictionary<string, ResourceInfo>();
            numberOfParts = 0;
            vesselSituation = Vessel.Situations.PRELAUNCH;
        }
        public override void OnStart(PartModule.StartState state)
        {
            Debug.Log("TAC Converter [" + this.GetInstanceID().ToString("X") + "][" + Time.time + "]: OnStart: " + state);
            base.OnStart(state);

            if (state != StartState.Editor)
            {
                controller = LifeSupportController.Instance;
                settings = controller.settings;
            }
        }
        private void LoadSettings()
        {
            string configFilename = IOUtils.GetFilePathFor(this.GetType(), "LifeSupport.cfg");
            settings = new Settings();

            if (File.Exists<LifeSupportController>(configFilename))
            {
                ConfigNode config = ConfigNode.Load(configFilename);
                settings.Load(config);
            }
        }