Improved error messages when trying to create app or add cartridge with invalid gear sizes