changes to core/Kraftwerk.php and run/render.php