Update erltrek_event.erl

* Fix typespec on start_link/1
Update erltrek_terminal.erl

* In captains_loop/0: io_format_error/1 does not exist, the correct function is file:format_error/1
Update src/erltrek_terminal.erl

* Add handle_info/2 and trap 'EXIT' conditions