rewrite inject_row with but_last, last functions. dont add basename when updating header, since all frames get the basename anyway. clean up preview for crashed experiments