Add some error-handling in Process.daemon, fix documentation in System.daemon.