public void drainSignals(Debug debug) {
public synchronized void drainSignals(Debug debug) { while (signalQueue.size() > 0) { signalQueue.remove(0); debug.delEntity(); }  while (signalSelfQueue.size() > 0) { signalSelfQueue.remove(0); debug.delEntity(); }
	public void drainSignals(Debug debug) {		synchronized (delayedSignalQueue) {			while (delayedSignalQueue.size() > 0) {				delayedSignalQueue.remove(0);				debug.delEntity();			}		}		synchronized (delayedSignalSelfQueue) {			while (delayedSignalSelfQueue.size() > 0) {				delayedSignalSelfQueue.remove(0);				debug.delEntity();			}		}	}