Set program thread as daemon to allow exiting if a non-graphical program was started, log naming