Further cleanup. Add a "parallel" map.

Making the query concurrent is future work. Currently we are happy if we can just
figure out what the result of executing a recursive call should be in the long run.