Get it replaced at the Apple Store.
It'll get fixed with the next 3.1 update.
I don't know what the hell going on with your phone dude.
Hang in there man, you'll get help.