Remade print event history.
Print last n events only( now n = 5).
Added call SessionManager.Run() in end of main.
Added dummy handle exit button.
After press juxt call SystemExit(0).