[gallery td_select_gallery_slide="slide" ids="30253,30252"] MELBOURNE — Two nights after his father-in-law was rushed to the hospital from a nearby court while Andy Murray was playing at the Australian Open, the four-time finalist put personal distractions aside for long enough to beat Bernard Tomic and advance to the quarterfinals. An agitated Murray yelled and berated himself, and had trouble at times before winning 6-4, 6-4, 7-6 (4) Monday in a scrappy match against the last Australian in the draw. "Definitely on the court tonight I was more emotional than normal," he said. "I was talking to myself after every single point almost from the first point through till the last, which was obviously not ideal." Murray's wife, Kim, is due to have their first baby next month, and Murray has long said he'll leave the tournament any time if he has to rush back to Britain to be with her. The sudden illness for Kim's father, Nigel Sears, in Melbourne had the two-time champion again reconsidering whether to stay or go. Next for Murray will be No. 8 David Ferrer, a two-time semifinalist, who held off No. 10-seeded John Isner 6-4, 6-4, 7-5. Milos Raonic persevered with his serve-and-volley game plan and withstood a strong comeback from 2014 champion Stan Wawrinka, advancing to the quarterfinals 6-4, 6-3, 5-7, 4-6, 6-3. Wawrinka, the reigning French Open champion, was the only man to beat top-ranked Novak Djokovic in a Grand Slam match last year — the final at Roland Garros — and the last man to beat him at Melbourne Park after 2010. "You have these guys, these Grand Slam champions, guys that have been playing great, and to beat one of them for the first time at a Slam, doesn't matter if that was on Court 15 or whichever court, it has a very concrete sort of message to the work I'm putting in and how I'm going about things," the big-serving Canadian said. Raonic lost to Djokovic in the quarterfinals here last year. In 2016, he'll be facing No. 23 Gael Monfils, who reached the last eight in Australia for the first time in 11 trips with a 7-5, 3-6, 6-3, 7-6 (4) win over Andrei Kuznetsov. Madison Keys advanced to the quarters beating Zhang Shuai 3-6, 6-3, 6-3. She will play Johanna Konta, who had a 4-6, 6-4, 8-6 win over 2015 semifinalist Ekaterina Makarova and became the first British woman since Jo Durie in 1983 to advance to the quarterfinals in Australia. In earlier matches, two-time Australian Open champion Victoria Azarenka advanced with a 6-2, 6-4 win over Barbora Strycova 6-2, 6-4. A growing favorite for the title in a strong comeback from two injury-interrupted seasons, Azarenka next faces No. 7 Angelique Kerber, who beat fellow German Annika Beck 6-4, 6-0.