Using 3D string-inspired gravity to understand the Thurston conjecture