I'm just sitting here with my guitar today, noodling in front of the TV. Here are some licks that I think people would like to check out. These will work over a C7, Gmin7 or Emi7(b5) chord.
This is a variation on the Bebop scale. Note the chromatic passage in the second bar and the emphasis placed on E and D. You don't always have to end the lick on a chord tone. (Although D is a chord tone in a C9 chord.)
The G# works as a b6 in C or a maj7 in Amin. I also break my little rule that you should always play chord tones on down beats. But music is art, not science, and rules can all be broken if broken the right way! Also note the chromatic line at the end of the first bar. The F# and A are actually a deflection aimed at the G that occurs in the next bar.
Now check this out. This is an A minor 9 arpeggio. You might have heard this lick before. The thing is, this sounds great over an F#mi7(b5). The basic harmonies are the same. Not only that, but if you followed that chord with a B7b9 (minor ii-V) you could play that lick up a minor third. Look at the next example:
Sound familiar? It takes a bit of practice but give it a try. I hope these little rambling musical observations will give you some ideas and directions. Go forth!