Some minor changes to the demo_daemon.rb file.