run.sh: ensure only one process runs

Fix typo in maxchildren arg; add maxspare arg.

Issue #2