gui: in chains tab, show fig from code in source_buffer