Add an ability to create and render pngs.
Remove old cruft and noise - only output debug info if in debug_mode