Separate individual stack trace lines with div elements

Potential fix for #765