WIP: signal handling.