Added specific catches for ^C and ^D.

They don't print their exceptions, they just die.