fix some typos and add lowlevel debug switch for property tree parser