apparently an inch of playsand (baked at 375F of course) will help with gnats and other burrowing larvae.

I have yet to validate this though.