removed deprecated script language, split loader into distinct pieces, waited for galaxy tex on load, added sdss3 option