Code cleanup and additional error checking in QGCVehicleConfig.cc