public static void main(String[] args) {
        Settings settings = loadSettings();
        if (args.length > 0) {
            if (args[0].equals("nogui")) {
                if (args.length == 2 && args[1].equals("notifications")) {
                    noGui(settings, true);
                } else {
                    noGui(settings, false);
                }
            } else if (args[0].equals("algorithm")) {
                runAlgorithm(settings, args.length < 2 ? "lf" : args[1]);
            } else if (args[0].equals("benchmark")) {
                runBenchmark(settings);
            }
        } else {
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) {
                Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
            }
            GUI gui = new GUI();
            gui.setSettings(settings);
            gui.setVisible(true);
        }
    }