more tidying, put profiler back

Graphics are now showing up as a thing that takes time.