preparing for goods

changes to factories, the behavior reuse file, small gui tweaks, other
stuff I forgot.