Improve event log autodetection
Added support for line-wrap toggling in the log