Kinda-sorta clean-up script handling code, improve remote-array displaying (a bit), mainyl fix thingns but a number of things probably got broken along the way