public void cleanConfigFolder()
    {
        if (mainWorker != null && !mainWorker.isCancelled())
        {
            textArea.append("Cleaning config folder...\n");
            try
            {
                File configFolder = new File(Settings.mcDir + "/config/").getCanonicalFile();
                if (configFolder.listFiles() != null)
                {
                    for (File f : configFolder.listFiles())
                    {
                        if (!Settings.doNotRemoveConfigs.contains(f.getName()))
                        {
                            // f.delete();
                            System.out.println(f.getName());
                        }
                    }
                }
            }
            catch (IOException e)
            {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
    }