My wife got TMJ years after being rear-ended in an accident in a parking lot. She had blinding headaches for a week or so after the accident that went away, but about 10 years later, after some dental work, she had terrible jaw pain and discovered (via X-rays, etc.) that her jaw was slightly dislocated and that was what was causing the pain. :-(
So, get checked out if you can - little things now can be big things later.
Best of luck!
Cheers,
Scott.