Output from phantom to a json file for debugging.
iframe copied from gardr and rename resources
use firstElementChild instead
Add logging and named functions
only show pngs as screenshots
add debug error output