renaming B2g to B2G for classes + correction of bits passed to B2GInbound