Changes to accept the changes on Weighting options;
Moving SwingWorkers to the inside of methods;
Changes on saveToFile();