Main process no longer calls init_node.

This fixes bugs related to calling init_node multiple times in the same
process. Main process now has its own signal handler for shutting down
cleanly.

Fixes #37