Added the init.d script. Improved install.sh.
Fix bug: child processes didn't get killed when the grandparent process
was killed.