added localize cs.php, fix GridTree bug and add setting for main parent value