Trap SIGUSR1 so it doesn't terminate the service
Add command line parameter to enable debug logging
Allow overriding settings through config files, create special folders as links to XDG directories
Change signal handling to sigaction