Basic signal handling.