Virgil arrives to Modern Geography in a morbid mood. Seeing the diorama of the graduation hall brought into sharper focus what he's always known. Why bother? He's inevitably going to be among the dead in four years anyway, so why shouldn't he use his limited time wisely? He will not have his life be one more piece of kindling for the bonfire that is graduation. He wants it to mean something.
And in order to achieve anything with his life (and death), he first needs to pay attention in class. Zoning out did make the textbook appear; he should get better at situational awareness in the coming days, before a mal eats him while he's ruminating.