Merge pull request #220 from csmith/master

Make Line aware of timestamps.
Add method to add line with a timestamp.
Remove unused methods and tidy a little.
Replace old addText method with new one.
Tidy up trimming.