copied signal dumper from cbgb