weird fly under carpet?

Good Morning,

I have not been able to determine the type of worm/larvae/maggots that have made there home in my dogs and me. They seem to come and be noticeable every 2 weeks and then settle down. my labradoodle has them in his mouth around his skin. by hey seem to be clear or white and very small, but seem to come together and adhere to food items, in particular meat that I have pulled out to eat within minutes whether it be cooked or raw. I have seen the adult flies coming out of the fridge a couple of times over the past month and they come in from outside through the front door despite my efforts to caulk gaps in the door frame. The area of central TX I live in has been known to get odd bugs due to Ft. Hood and soldiers coming and going to the Middle East, Asia, and everywhere else the Army sends them. I first noticed the problem in January and it seemed to stop but has now come back the last 3 months and is very bothersome. I've had lots of skin lesions and even a boil and have seen larvae fall to the ground where I have stood or sat down. the variance is so much that it has been very difficult for me to pinpoint, and in the last month I have seen actual adult fly like critters that are non typical and they have very long back legs and are more crawlers and I find them under my carpet or in dark areas. it seems like the activity is more at night and the adults are very fast when they do move as I rarely spot them alive. only have found 4 in the past 2 months and in dark places.

I have darkened spots on my skin and had what I thought was poision oak back in April. but now wonder if it was from the critters as I had severe lesions that took 3 weeks to heal and now scarring ? I have also had fatigue, swollen ankles and body aches dice this started. every few weeks my toenails and fingernails have lots of keratin like pieces that come out and when this stage isn't happening, I notice soft worm/ maggot / eggs that are very tiny get under my nails and sometimes I feel pain like something is going through them into my skin. my dog has the worm things in his jowls and it seems to stage the same way where he has cyst like things in his jowls and then after a week or two, I notice crusting and dryness around his jowls. my little terrier has episodes where he started doing the butt scoot across the carpet and so I thought pin worms. but have only seen little segments of white pieces a couple of times in his poop. my pop has had white segments and after I drank betonite clay I had long clear like worms in my poop at least 12 inches long but hard to measure for sure. My labradoodle is always shaking his head and his ears bother him constantly despite treatment with cleaning and ear drops. I also feel like something is in my ears and have taken steroids. antibiotics and they keep coming back.

I appreciate your help with this. I have lots more pictures if you need them

Thank You,

Done