Make small improvements to configuration error handling. Add a check that the top-level device is a bus.