Cleaned all debug from signals
windows fixes to the signalhandler