Display just the last 20 lines of the console log for long logs

Display a summarised console log for long logs and allow viewing of the full log.
Fixes #88 
Note to self: the button should only be displayed when there are more than 20 lines.