Mac 0.80b beta - says "database corrupted" and then Bitcoin-Qt quit unexpectedly I can't run Bitcoin-Qt 0.80 on Mac OS X 10.8 any more.

It starts up then says "System Error: Database Corrupted". I then click OK, and the program "quits unexpectedly"

How do I  start again without losing my wallet. Is it just the wallet.dat file that I need to keep, or others as well if I reinstall? I have encrypted the wallet if that makes any difference  to the files I need to keep.

There are lots of BC in the wallet. I can't afford to lose them!!

Is there another program I can use just to open the wallet?
Joric's fork of pywallet can read a wallet.dat, decrypt it with your pass phrase and then you can export the keys.  But if it is corrupted and Bitcoin-Qt can't read it then pywallet may fare no better.

Doesn't hurt to give it a try.