The stack usage has been eliminated.
Warn not to use it in bgthreads.
Minor cleanups for 4.0.