Hi Ottawan, I was aware you had some questions but could not answer right away.
I am not 100% sure it is what is called fungus gnats. Attached a picture of some dead ones, may be someone can identifie them. They are very small, much smaller than a fruit flie. They flie slowly , can be catched in flight and usually go to the window. When I spray the surface of the growing medium you can see 3,4 scramble out from under/in between the perlite, turface or whatever mix there is.
I also found the surface covered by a very fine web holding on to the perlite turface, very much like the web from spider mites, but I do not see any spider mites and the leaves have no web. All this happened when aI was handicapped after my shoulder surgery so I was not on top of things.
Dan certainly has a point, the figs might have been degrading and become a host to the flies. I now question my timing and lack of good environmental control (light, temperature, moisture...)