moved the logic for executing the GA and the logic for displaying the GA's error into separate processes