SPlevel output to csv.

Still worried about bug.