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 
The reason for using the deque approach was to reduce memory usage - it means that only 20 lines would be held in memory at any one time. The slices approach would read the whole log file into memory.