Several modifications to let roscore start rosnode.