Mathematicians back in 19th century tried to find a function that satisfies $$\lim_{x\to\infty}\frac{\pi(x)}{f(x)}=1$$ and $f(x)$ turns out to be $\frac{x}{\ln x}$, or any function asymptotic to it(like $\text{Li}(x)$). They proved it rigorously and now it is known as the Prime Number Theorem.
However, I don’t see much work on finding a function that satisfies $$\lim_{x\to\infty}(\pi(x)-g(x))=0$$ As far as I know, $$\lim_{x\to\infty}(\pi(x)-\frac{x}{\ln x})=\infty$$ so $\frac{x}{\ln x}$ cannot be a candidate of $g(x)$.
Moreover, if such function is discovered, it will be very useful in the sense that estimation of number of primes below some large $N$ can become more and more precise as $N$ grows. This would surely be more powerful than PNT.
Why only little work has done by mathematicians to figure out $g(x)$?