Add compilation status to event queue
Remove newline from EOF

From <http://stackoverflow.com/a/8635302/96588>.