Truncate Mode

Added truncate mode, to trim the oldest part of the log as it rolls off
the screen (at 30k bytes) to improve performance on devices and browsers
where a large backlog may hinder that performance.