Added DelayedSignalEmitter, a RAII class to emit signals in combination with mutex lockers.