add 40h protocol support
fix 256 detection
reconcile cherry-pick from master
bees: fix op_enc overflow and ban some pathological settings.
changelog
fix debug message suppression in release builds... arg
ignore all but 0x0 quadrant, remove unnecessary variable