Sounds like the "racing thoughts" often described with bipolar...I can certainly identify with what you are describing.
Meds can definitely help. I think lithium made an especially noticeable difference in my case. It doesn't keep you from thinking, just gets things to a more manageable level!