Removed need for boolean in flushEmitters function
Refactored emitter forceFlush function
Updated curl emitter