I'm glad to hear you are able to fix it with software for now. So many people can't just do that though and it is ridiculously expensive to have it repaired.
Any purchase is a gamble, macs are one of those gambles that seems more risky with its difficulty to repair, however I guess the expectation is that it's less likely to need it.