Reset signal handlers when a signal is caught
Implement more initialization code, including a new URL-handling system