fixed copy problems with Emitter
Rudimentary fix of vs2012 compile errors.