use EXIT_SUCCESS and EXIT_FAILURE
Basic Sailfish importer
catcher.h shamelessly stolen from libcommhistory

Current implementation segfaults on application exit but works