Added Hook to catch Ctrl+D keypresses; tired of premature quitting.