The save_data() function now checks for the existence of a 'warnings' variable (which should be a cell array). If present, it saves it in debug_info. When loading the data, the warnings (if any) will be printed out for the user as a reminder.