The best is subjective, but you should look at the Sony NEX-5N. It will have the same high quality image as a DSLR, and the best video. Technically speaking, it does not have a built-in flash, but it does come with a flash that can be attached to the camera.
Another very high quality camera would be the Canon G1-X, which is very similar to your G9, but with a almost DSLR sized imaging sensor.
If you are in the USA, Canon has what they call the Canon Customer Loyalty Program, where you can trade in a broken Canon for a factory refurbished camera at a cost 20% lower than their normal factory refurbished price. Call 866-443-8002 for more information. One drawback is that the program is subject to availability; currently there are no refurbished G12's available.