Added explicit output flushing to ERIS_DBG*