This is now a fully functional version of the multiprocessing
code. Lots of work to do still but it does seem to be working
reasonably well.