Logview fixes.

You may ignore this PR and apply the changes yourself. I just thought it would be easier to follow my suggestions ;)