Added stuff needed to run daemon as subprocess, added window to display subprocess output
Let user start daemon if not running, let user kill daemon on exit (if started by app)
Restarting when daemon is subprocess handled correctly
Merged daemon in subprocess stuff from branch