Fix up multiproc stuff
Merge pull request #1 from mal/issue-21

Fix up multiproc stuff