AsyncWriterSource: moved emptyMessageQueue function into the source file
(solves an Internal Compiler Error)