MORE refactoring/rearranging. kinda wanted to stabilize and distribute various random functions before continuing the shift to scripts+loaders
this is harder than i expected! see pseudocode.tx for current plan regarding script/loader files. committing now in case that goes to shit