Pass log entries as a struct.
Remove obsolete UiHandler.
Move initialization into initializer list.
Remove cruft.
Remove unused include.