Added better test of detecing if Quick Office is opened