Added save_image method to Widget
Revert "Added index method to InstructionGroup"

This reverts commit cc9af2bb191338f31225c192df9739a28e29f197.
Changed save_image -> export_to_png plus bugfixes
Merge pull request #1887 from inclement/widget_save_image

Add save_image method to Widget