fixes for windows signals.