fix #120 No more node crashes on unexpected errors but not too happy with the solution.

See linked urls in the commit.
To come back to at a later date?