Precisely. The player with time remaining must have sufficient material to theoretically be able to checkmate. In the absence of sufficient material, he could not win given all the time in the world, therefore a draw is the only fair and logical conclusion to the game.
I realize that this was to my advantage because I ran out of time first. But still... Why didn't I lose on time?
I played black.