Use folderview_freeze/thaw() functions outside of folderview.c.