Separated the daemon process wrapper from the GUI