I've never had any problems with Safari. What kind of bugs did you have?
The Safari will start freeze, laggy, sluggish, slower, odd behavior and crash after have many cookies saved for various website logins.
I'm very heavily browser user and need program to survive with many login and flash playback.
My Safari is updated and on Mountain Lion too - didn't resolve the bugs.