Fixed slight bug in stack trace printer.