#129 improved printing of stack track to string (used in html email notification)