rewrote signal handling for importer parent.

ruby 2.0 doesn't like to do much in a signal handler.