The von Weizsaecker and exchange corrections in the Thomas Fermi theory