fix several things and make xg bootstrap compatible
be able to combine packet and bot grid into one