Added ability to daemonize program. Added quit control command to
exit daemonized programs.