This entailed fixing the handling of the visibility property with an override from the QWidget basic version.
Also tightened up the layouts.