added keyboard interrupts for windows