Uncommented daemon context, fealdend now backgrounds properly
added parent_pid parameter and checks to solutionworker and searchworker to die if parent_pid changes