implemented Event emitter.
changed frame countup with terminal.