Updated print_plot, added merge_structs.