I read Aquinas and realized that the whole ancient conception of a soul is tied together with the ancient concept of vitalism. Within vitalism you need something to explain why living matter is different than non-living matter, and that something is the presence of a soul! Hey presto, add a few layers of philosophy and divine revelation and you arrive at the Christian immortal soul.
(In this case "god of the gaps" does not refer to the Catholic God himself, but instead it refers specifically to the concept of the soul)