the ink bottle exploded on the stone floor in a spray of black , and the startled rat leapt off the desk and fled precipitously , galloping between the legs of the even more startled mackay , who appeared at the door to see what the noise was .