Added a GUI output, cleaned up multiprocessing