Toenails are falling out? That's odd.....
Are you sure its not breeding season for him? Sometimes owners report a lot of nail loss during this time because of constant digging and scratching. Maybe????
If thats not it, and his mouth *is* swollen I would suspect something more sinister and would take him to the vet.