insearchofantruth,
I am 100% certain that you have a TMJ disorder. However, your ear problems MAY NOT be related to that. Before retiring after 32 years of dental practice, I treated TMJ disorders since 1984 and clicking and/or popping of the jaws is diagnostic of a TMJ problem. Normal joints function silently and when noises are heard during function, then that means something is not working right. The clicking is caused by a fibrous structure called the articular disk popping out of place (becoming dislocated) whenever your teeth come together and then popping back into joint when you open. Note that most people think the jaw becomes dislocated when opening rather than when closing (the opposite of what really happens). The purpose of the articular disk is to enable the mouth to open properly (at least 3 fingers wide) and to prevent bone to bone contact within the jaw joint. The most common causes of TMJ are deep overbites, loss of posterior vertical support making the upper and lower jaws overclose, retruded chins (Class II jaws), and having premolars extracted when braces were done. These conditions cause the condyles of the mandible (lower jaw) to become pushed too far posteriorly (backward) and superiorly (upward), which in turn forces the articular disk anteriorly (forward) and that causes a clicking or popping noise.
Since not all dentists know how to treat TMJ disorders, let alone diagnose it, you will need to look diligently for a dentist who really knows how to treat the condition. Many dentists who do not know how to treat TMJ do so by making the patient a splint to wear and that's it. That is NOT the way to properly treat TMJ so if this happens to you, then you are in the wrong office. If you do indeed have TMJ, then it can be corrected by a properly trained dentist. You are welcome to contact me if you have any questions about the TMJ area.