Fixe ground true/false sampling. Fixed gui issue