Change to add layout to APMHardwareConfig, allows for proper resizing of the window