Make sure log events have a newline after them

Fixes #6
Only include the last 10 lines of tracebacks in log events

Fixes #7