Gets the correct result now!
Program now finishes, but it's kind of strange yet.
Only the master creating tasks is much easier. This is the design for now.
Manager doesn't call process_remote.
Now execution path is the same for all nodes.
Major clean-up.