void OnGUI()
    {
        GUILayout.Label("Deploy to Smart Helmet", EditorStyles.boldLabel);
        EditorStyles.label.wordWrap = true;

        EditorGUILayout.BeginHorizontal();
        string message = "App Icon will be picked up from the Build Settings.\nApp Name is the product name you provide in the Project Settings.\n";

        EditorGUILayout.LabelField(message, new GUILayoutOption[0]);
        EditorGUILayout.Separator();
        EditorGUILayout.EndHorizontal();

        EditorGUILayout.BeginHorizontal();
        EditorGUILayout.LabelField("Target Helmet IP Address: ", new GUILayoutOption[] { GUILayout.Width(150) });

        thorPref.ip_address = EditorGUILayout.TextField(thorPref.ip_address);

        EditorGUILayout.EndHorizontal();

        if (GUILayout.Button("Save Settings", new GUILayoutOption[0]))
        {
            SaveSmartHelmetPreferences();
            SmartHelmetPreferencesWindow window = (SmartHelmetPreferencesWindow)EditorWindow.GetWindow(typeof(SmartHelmetPreferencesWindow));
            window.Close();
        }
    }
    static void Init()
    {
        SmartHelmetPreferencesWindow window = (SmartHelmetPreferencesWindow)EditorWindow.GetWindow(typeof(SmartHelmetPreferencesWindow));

        window.name = "Settings";
        ReadSmartHelmetPreferences();
        window.Show();
    }