Improved stack trace parsing.