Fixed typo in spawn related to propagating errors.

... and some missing semi-colons.