Improvements to the stack trace parsing.