More Wconversion fixes
Tighter type enables safer bcid unserialization
Propagate dim->uchar change further
More Wconversion fixes