Add basic performance timing
Add png output support using libpng