Save image to a png file, print progress and statistics to stdout.

Haven't looked at the performance bits as I tend to write code like this directly in assembly anyway, but this pull request contains a few small tweaks to save the image out to a png file, print the progress of the tracing and print timing info directly from inside the application (makes it reasonable to run it via ```go run main.go``` without then including the compilation time).