Revert "Added index method to InstructionGroup"

This reverts commit cc9af2bb191338f31225c192df9739a28e29f197.
Changed save_image -> export_to_png plus bugfixes