reworked FunctionThread within SwingFunctionExecutor. Made improvements to ProgressWindow.