-- new try so that scripts place their guis and file selectors in proper places: should be ok now for any but the really weirdest screen layouts, will be updated when scripts are added to other menus in the interface.