make sure these things remove
remove debugging
avoid mallocs in when we're inside a signal handler

Ideally we'd autodetect being called from a signal handler.