fixing the sorting
the line number is zero based now.
fixing infinite loop.
fixing parser.
Had to read all into memory so we can back up a step. Rather than going until an empty line on stack traces, we go until there is another test status line.