Fixes to allow configuration of 32x32 panels.
Fixes to allow configuration of fewer than 8 ports