changed arrangement of SIGINT and TERM so they work on MSWin32