More flexible signal dispatch for windows