GateCraft-5: minor stuff before the bif stuff