Added a save button which saves a snapshot of the entire gui