add error output when fork() fails - closes #12