Groundwork for reimplementing the slow script dialog