Multiprocess

Some minor fixes to make multiprocessing work, and to disable the GUI while running. Possibly Ubuntu-specific.