Replace sq_newslot with sq_createslot where appropriate (shorter and does the same...